Skip to content

Instantly share code, notes, and snippets.

View chka's full-sized avatar

Christopher Karatzinis chka

View GitHub Profile
@yanbe
yanbe / dilbert.py
Created November 24, 2008 09:52
Download all dilbert comics from 1900-1-1 to today
#!/usr/bin/env python
import urllib2
import datetime
offset = 33039 #initial id
first = datetime.datetime(1990,1,1) #initial date
today = datetime.datetime.today()
for i in xrange(offset, offset+(today-first).days):
_dirs = [0]
for j in range(9,1,-1):