This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import twitter | |
import sys | |
import os | |
from getpass import getpass | |
def looping_call(fun): | |
page = 1 | |
while True: | |
results_page = fun(page=page) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Orignal version taken from http://www.djangosnippets.org/snippets/186/ | |
# Original author: udfalkso | |
# Modified by: Shwagroo Team | |
# Modified again by: David Ziegler | |
import sys | |
import os | |
import re | |
import hotshot, hotshot.stats | |
import tempfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
FontLoader version 0.1 | |
David Ziegler, Dec 19 2010 | |
This script checks if the browser supports font-smoothing, and adds the following classes to the html tag: | |
"hasFontSmoothing-true" if font smoothing is enabled | |
"hasFontSmoothing-false" if it isn't | |
"hasFontSmoothing-unknown" if it cannot detect it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.template import Context, Template | |
from coffin.template import Library | |
from jinja2 import contextfunction | |
register = Library() | |
@register.object | |
@contextfunction | |
def uni_form(context, form, helper=None): |