Go for a run, hit the gym or do some yoga. Runner's high does miracles for coming up with better approaches to tough problems. Even if it's midnight and you feel like passing out, just say fuck it and go for a jog - you'd be surprised how much energy you actually have.