Skip to content

Instantly share code, notes, and snippets.

{
"version": "2",
"header": {
"title": "NYC 311 Data",
"description": "The last 3 million NYC 311 complaints",
"navigation": [
{
"label": "Download",
"url": ""
}
@talos
talos / script.sql
Last active August 29, 2015 14:16 — forked from clhenrick/script.sql
-- PostgreSQL
-- combine data for all years into one table
-- to find distinct addresses & BBL numbers
create table dhcr_all (
zip integer,
bldgno1 text,
street_name1 text,
street_suffix1 text,
bldgno2 text,
street_name2 text,
Select ST_AsText(
ST_Transform(
ST_SetSRID(
ST_MakePoint(xcoord,ycoord),
2263)
, 4326)
) from nyc_pluto limit 10;
@talos
talos / .tmux.conf
Last active August 29, 2015 14:08 — forked from snuggs/.tmux.conf
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
############################################################################
@talos
talos / get_nouns.py
Created March 7, 2012 16:16 — forked from jordanorelli/get_nouns.py
get all svgs from the noun project, draw them all asynchronously with pan & zoom
from os import path
import re
import requests
url_template = "http://thenounproject.com/download/zipped/svg_%d.zip"
base_dir = path.dirname(path.abspath(__file__))
svg_dir = path.join(base_dir, 'svg')
pattern = re.compile(r'<svg.*/svg>', re.DOTALL)
for x in xrange(1, 300):