Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jdiller on github.
  • I am jdiller (https://keybase.io/jdiller) on keybase.
  • I have a public key ASBBk4fM4Z2UlAxoHO5oArfntJMWX1H6pB-HA4oo4NdO6Qo

To claim this, I am signing this object:

@jdiller
jdiller / gist:3e8e4a84c7af474cde44
Created July 23, 2014 20:13
FB streetcar prediction fetching code
require 'net/http'
require 'rexml/document'
lastindex = 0
stops = [
{:route=>"506", :stop=>"8999"},
{:route=>"505", :stop=>"2954"},
{:route=>"506", :stop=>"5094"},
{:route=>"504", :stop=>"14808"},
{:route=>"504", :stop=>"9383"}
@jdiller
jdiller / gitmsg.sh
Created March 30, 2012 14:12
gitmsg - Send a message using git
#!/bin/sh
# gitmsg.sh
#
# usage: gitmsg recipient message
#
# sends 'message' to 'recipient' using git
# expects ~/gitmsg/recipient to exist and to be a git repository
@jdiller
jdiller / gist:2251780
Created March 30, 2012 14:11
Manual Method :(
jason@jason:~$ echo "This project is the bomb, yo" >> team_msg_01
jason@jason:~$ git add team_msg_01
jason@jason:~$ git commit -m "Message about the project being the bomb, yo"
jason@jason:~$ git push origin