A useful way of ‘warming up’ in the morning is to spend 10-15 minutes doing a short task/exercise – partly to hone your skills as a programmer through practice and repetition – and partly just to get into the right frame of mind.
See this article on wikipedia for more information and links, and one example String Calculator (and many more examples can be found here)