Plenty of caffeine, and stay busy. Believe me, I know how to pull an all-nighter, I'm doing one now. I've had to pull them because of coursework before, and just pulled them to see if I could (the first one I did was like that).
Right now, it's just past 6am in the UK. I got up really late yesterday afternoon (just because my sleep cycle has been off for ages, to the point my studies at university are starting to slip). I had work at 6pm until 10pm, and my manager asked if I could do some extra hours today from 8am until 5pm, a full day shift (I work in a supermarket). Like an idiot, and because I need the money, I agreed to it. However, with my bad sleep patterns now if I'd gone to sleep when I got home I'd have missed most of the morning and thus most of my shift. So I decided to pull an all-nighter, do the shift, and then get an early night tonight and thus hopefully flip my sleep cycle right the way around and get back into a normal pattern.
So tonight I've basically been on my laptop all night reading webcomics and Escapist posts, and drinking coffee and tea all night (though I've stopped that now after running out of milk...). I have a weird thing about me that I don't feel as tired if I'm keeping my mind active by doing something productive, I just knuckle down and do it no matter how repetitive or menial the task is. So I should be able to get through my shift at work without any major problems. But yeah, make sure you keep your mind focused and active on something, that will stop you from getting as tired. And as I say, lots of caffeine, and energy drinks. Try loads of coffee or Lucozade, that should help you out. Just be prepared to fall asleep quickly and deeply when you finally do go to bed, and to be getting a longer sleep than usual as well.