I independently developed the same method as Seinfeld's but using Google Calendar. I make an entry of a particular color everyday I've been to the gym. The point here is I don't make future appointments on when to go, but rather make an entry at the end of the day every time I have actually been.
The psychological effect of not breaking the chain pushes me to keep going. It really works for me!