You all know that coffee contains caffeine. Caffeine has a different effect to everybody but generally it makes you awake. That's why you must stop caffeine intake a few hours before sleeping.
Generally people who drink alcohol sleep but it's not what you think. When alcohol mixes with blood, you may wake up many times at night. This means that you won't have enough sleep.
Not only snacks but also fast foods. Just keep away from them.
Spices generally lead to heartburn. Especially if you have a sensitive stomach it can make you awake along the whole night. Even you don't have any problems, it may cause reflux.
Energy drinks contains caffeine. We can even say caffeine bomb! Keep it in your mind that you won't be able to sleep after drinking it.