How to be awake for one whole night after hard working?

Last night, I got this great idea, which after practicing I really found it to be working fantastically for myself. Yesterday, actually there was little back breaking work because I have planned to see two movies and prepare for my exams starting next week.
The first part is not as hard like the second one though. Still it takes some time to finish the first task of watching movies. So I just shifted my first task to do overnight, after trying to finish my second task all day i felt really mixed up and was longing to bed. But since there is work yet to be done, obviously i started to find a way to overcome sleepiness.The thing that i have done may seem simple but it was really useful.
I just took a jar full of black tea and sipped it all night, it keeps me refresh as i love basically to drink tea.I hope it will work you either like in my case.