I hereby claim:
- I am jessykate on github.
- I am jessykate (https://keybase.io/jessykate) on keybase.
- I have a public key whose fingerprint is 8949 59BC F0C9 ABC6 B50E 0606 2662 0342 39C0 D286
To claim this, I am signing this object:
#!/usr/bin/python | |
import json, urllib2 | |
''' | |
retrieves all ideas from all categories for all agencies, and | |
normalizes category names from unique numerical ids to shared category | |
names so they can be compared across agencies. each idea in the list | |
contains the following keys: |
#!/usr/bin/python | |
''' | |
Shows twitter friends sorted by tweet frequency. | |
''' | |
import urllib, urllib2, json, datetime | |
def get_friends(username): | |
friends = {} |
#!/usr/bin/python | |
import urllib | |
def encode_tweet(tweet): | |
base_url="http://twitter.com/home?" | |
query = {"status": tweet} | |
return base_url+urllib.urlencode(query) | |
if __name__ == '__main__': |
<entry> | |
<id>tag:openresear.ch,2010:hypothesis01</id> | |
<title>Jessy posted a Hypothesis</title> | |
<published>2010-07-02T15:29:00Z</published> | |
<!-- the link provides an HTML representation of the activity --> | |
<link rel="alternate" type="text/html" | |
href="http://openresear.ch/jessy/labbook01/hypothesis/1" /> | |
<!-- this is the base verb that our custom verb builds on --> |
module Jekyll | |
class MathJaxBlockTag < Liquid::Tag | |
def render(context) | |
'<script type="math/tex; mode=display">' | |
end | |
end | |
class MathJaxInlineTag < Liquid::Tag | |
def render(context) | |
'<script type="math/tex">' | |
end |
#!/usr/bin/ruby | |
require 'net/smtp' | |
=begin | |
1. Download the file. | |
2. Make sure it is executable by running: | |
$ chmod +x newcourses.rb | |
3. Any time you want to check for new courses, just run: | |
$ ./newcourses.rb |
#!/usr/bin/ruby | |
# jessy kate schingler | |
# @jessykate | jessykate.com | |
# public domain | |
# assumes ssh key access to server | |
# usage: | |
# $ postimg path/to/img | |
# returns url for access |
import re | |
from django.utils.text import compress_string | |
from django.utils.cache import patch_vary_headers | |
from django import http | |
''' | |
EXAMPLE USAGE: | |
Put this file in a directory called, eg, 'middleware,' inside your django |
I hereby claim:
To claim this, I am signing this object:
# Models.py | |
class EmailTemplate(models.Model): | |
''' Templates for standard emails. ''' | |
body = models.TextField(verbose_name="The body of the email") | |
subject = models.CharField(max_length=200, verbose_name="Default Subject Line") | |
name = models.CharField(max_length=200, verbose_name="Template Name") | |
creator = models.ForeignKey(User) |