For coding specifically, I find that I procrastinate much less when I'm debugging. Having the compiler give me bite-sized, well-defined tasks to complete can be very good for morale. So I try to avoid writing code for more than an hour or so without testing some part of it.