Skip to content

Instantly share code, notes, and snippets.

View cirla's full-sized avatar

Tim Cheeseman cirla

View GitHub Profile
@cirla
cirla / jcurl.sh
Created August 29, 2015 18:30
Bash function to curl an HTTP JSON API, print the headers, and then print the body formatted using jq
# Bash function to curl an HTTP JSON API, print the headers,
# and then print the body formatted using jq
#
# Example usage: jcurl https://api.github.com/users/cirla
function jcurl() {
# disable progress bar and print headers to stdout
response=$(curl -sD - $@)
# split response at the first empty line (ignoring whitespace)
@cirla
cirla / Philly PUG 2016-03-24.ipynb
Created March 24, 2016 22:56
Analyzing Philadelphia 2012 General Election Results with PySpark
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cirla
cirla / Do Androids Dream of Electric Blue.ipynb
Last active June 27, 2016 19:46
Generating Paint Color Names with NLTK and SciKitLearn
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cirla
cirla / keybase.md
Created September 9, 2016 01:01
Keybase Proof

Keybase proof

I hereby claim:

  • I am cirla on github.
  • I am cirla (https://keybase.io/cirla) on keybase.
  • I have a public key ASAi264kx1tyXq_rmv71OjSv41todu-t8PMpbbAP51351Ao

To claim this, I am signing this object:

@cirla
cirla / NYC 311.ipynb
Created December 12, 2016 20:58
Exploring the NYC 311 open dataset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.