Skip to content

Instantly share code, notes, and snippets.

BRONX MANHATTAN QUEENS STATEN ISLAND BROOKLYN TOTAL
Fair 12.77% 16.59% 17.53% 17.84% 13.98% 15.75%
Good 78.18% 74.59% 72.38% 71.67% 78.26% 75.07%
Poor 3.63% 4.44% 5.52% 5.10% 4.10% 4.52%
(blank) 5.42% 4.38% 4.58% 5.39% 3.66% 4.66%
import urllib
import os
import tweepy
import csv
import time
import PIL
from PIL import Image, ImageOps
@maryburford
maryburford / gist:471127b9f467a81d403d
Last active August 29, 2015 14:15
signup values on account options
Column | Type | Modifiers
----------------------------------+-----------------------------+--------------------------------------------------------------
signup_partner | character varying(255) |
signup_source | character varying(255) |
signup_campaign | character varying(255) |
signup_sem_source | text |
signup_sem_campaign | text |
signup_sem_keyword | text |
signup_sem_placement | text |
signup_sem_medium | text |
@maryburford
maryburford / gist:10943554
Last active August 29, 2015 13:59
load an alert if the window is closed
<script type="text/javascript">
jQuery(function(){
var closed_window = false
jQuery("a").mousedown(function(){
closed_window = true
})