So, my first attempt at V-Diet was a failure. Not completely, I know now that I can handle it. From Monday I start attempt #2. This time, completely by the book.
Archive for October, 2011
import os class MyTempDir(object): def __init__(self,to_dir): self.to_dir = to_dir self.original_dir = os.path.abspath(os.getcwd()) def __enter__(self): os.chdir(self.to_dir) return self.to_dir def __exit__(self, type, value, traceback): os.chdir(self.original_dir) if __name__ == "__main__": with MyTempDir("c:\\") as value: print "Inside %s Confirmation %s" % (value,os.getcwd())
BitBucket now allows for unlimited public & private repositories with Git! Check it out here. It’s amazing!
It is an easy enough day. Probably I still have some carbs in my system from yesterday’s meal. No headaches, no pain. Energy level is good.
I missed the taste of food, and I decided to make today my meal day. Unfortunately, I went for junk food, and it made me feel really bad. Oh well, next time I will go with something healthier.