Also daily meditation. 20 minutes a day does wonders to shutting down the mind and seeing things from a completely new angle.
I would say taking care of your health is the number one priority any coder (or human) should have. The amount of hours sitting in front of the computer just get ineffective at some point, for me it is around 4-6 hours a day, then I just don't crank anymore good code and I have to call it a day and do something else.
We should embrace this kind of relaxed work ethics more, than the forced 8-10 hours a day which are killing people (literally, through stress) in the long run.
Any recommendations for yoga/meditation resources to learn the techniques/methodologies? I've been thinking about trying that for a long time now.