A steady supply of food, caffeine, and Iron Maiden. Also stay busy, as long as you have something to do you won’t have as much time to think about being tired.
unless most of your job involves thinking. I snooze if i have to.