Every couple months I've started to make a batch of cookie dough and freeze it in portions for later. It simultaneously keeps me from eating a whole dozen cookies within a few days, and also means I'm 15 minutes from warm cookies whenever I get the craving!