Public Gists by jamesturk

Gravatar
Tue Oct 13 22:04:12 -0700 2009
1
2
3
import os
import re
from datetime import datetime
Gravatar
Tue Oct 13 22:03:20 -0700 2009
1
2
3
// This file is part of TicTacPho, available under a zlib license.
// Copyright (C) 2006 James Turk
//
gist: 189076 flattening django apps to s...
Gravatar
Fri Sep 18 07:25:30 -0700 2009
1
2
3
import os
from django.test.client import Client
 
gist: 189074 find dependencies in python...
Gravatar
Fri Sep 18 07:24:39 -0700 2009
1
2
3
#!/usr/bin/env python
 
import compiler
gist: 189073 example of a really flexibl...
Gravatar
Fri Sep 18 07:22:43 -0700 2009
1
2
3
<html>
<head>
 
gist: 189072 boingboing contest scratchpad
Gravatar
Fri Sep 18 07:22:10 -0700 2009
1
2
3
def str_to_deltas(str):
    last = 0
    deltas = []
gist: 153797 instructions on how to inst...
Gravatar
Thu Jul 23 19:06:20 -0700 2009
1
2
3
0) install packages
$ sudo apt-get install binutils libgdal1-1.5.0 postgresql-8.3 postgresql-8.3-postgis postgresql-server-dev-8.3 python-psycopg2 python-setuptools
 
gist: 113696 fedbizopps parser
Gravatar
Mon May 18 12:31:48 -0700 2009
1
2
3
#!/usr/bin/env python
 
# Copyright (c) 2009, James Turk
gist: 107261 script to download NPR mp3s
Gravatar
Tue May 05 15:44:27 -0700 2009
1
2
3
#!/usr/bin/env python
 
"""
gist: 70257 SubsiteMiddleware
Gravatar
Wed Feb 25 08:22:36 -0800 2009
1
2
3
import re
 
# assumes a hypothetical Subsite model
gist: 67724 https://github.com/jamestur...
Gravatar
Fri Feb 20 13:58:15 -0800 2009
1
# development has moved to https://github.com/jamesturk/django-markupfield
gist: 58177 example call to GOP.gov API
Gravatar
Wed Feb 04 08:15:00 -0800 2009
1
2
3
import urllib, urllib2
 
def apicall(method, apikey, **params):