Take time to "come up for air" once in a while during your periods of intense concentrated activity, be it coding or whatever.
Even a whale has to take a break from eating (which to me is a period of intense concentrated activity) to come up for air. Doing so makes it easier for you to have a "whale of a time" at whatever your doing.