Ugh, I know that feeling.
Drink tonnes of caffeine and water during the day, helps keep you up. F.lux and Twilight help me.
Don't go on your computer or phone before bed, it keeps you up.