Many times I find myself working on a project with very little rewards. These projects tend to take the wind out of my sails.
To overcome this there is a few things that sometimes works. Some of my favourites are writing small graphical applications or to clone an old game. Actually anything that gives quick, visual results will work for me. This tend to give me some energy and feel a sense of accomplishment (even if it's just a little).
What do you do to regain programming gumption?