Skip to content

Instantly share code, notes, and snippets.

View ajschumacher's full-sized avatar

Aaron Schumacher ajschumacher

View GitHub Profile
@apg
apg / round-28.md
Last active August 29, 2015 13:56
Hack and Tell - Round 28

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hate markdown? See this in all its rendered glory.

Round 28: Jeepy Gee

Hello Hackers-

Thanks to Meetup for hosting us! As always

@paulfitz
paulfitz / Makefile
Created December 21, 2010 13:51
This is format specification for table differences
default:
asciidoc tdiff_spec_draft.txt
@abelsonlive
abelsonlive / scrapeBikeShare.R
Created May 13, 2012 23:41
Scrape NYC BikeShare Data
require("rjson")
#generate urls to scrape
#I determined the lowest and highest unique ids
#by looking at the page that had just the coordinates
root.url <- "http://a841-tfpweb.nyc.gov/bikeshare/get_point_info?point="
id<- seq(11992,12404, by=1)
urls <- paste(root.url, id, sep="")
@ajschumacher
ajschumacher / test.rst
Last active January 19, 2017 07:01
github fails to render rst email links properly
NAME STATUS SALARY PAY BASIS POSITION TITLE
Alexander, Monica K. Employee $56,000.00 Per Annum EXECUTIVE ASSISTANT
Ambrosini, Michael J. Employee $95,000.00 Per Annum SPECIAL ASSISTANT TO THE PRESIDENT AND DIRECTOR OF THE OFFICE OF THE CHIEF OF STAFF
Amin, Stacy C. Employee $140,000.00 Per Annum SPECIAL ASSISTANT TO THE PRESIDENT AND ASSOCIATE COUNSEL TO THE PRESIDENT
Andersen, Whitney N. Employee $94,000.00 Per Annum DEPUTY DIRECTOR OF OPERATIONS FOR THE WHITE HOUSE MANAGEMENT OFFICE
Anderson, Alexander J. Employee $77,000.00 Per Annum DIRECTOR OF DIGITAL ENGAGEMENT
Angelson, Alexander J. Employee $95,000.00 Per Annum SPECIAL ASSISTANT TO THE PRESIDENT FOR LEGISLATIVE AFFAIRS
Augustine, Rene I. Employee $140,000.00 Per Annum SPECIAL ASSISTANT TO THE PRESIDENT AND SENIOR ASSOCIATE COUNSEL TO THE PRESIDENT
Baitel, Rachael Employee $62,000.00 Per Annum EXECUTIVE ASSISTANT
Baldwin, Brittany L. Employee $70,000.00 Per Annum SPEECHWRITER
@wingrunr21
wingrunr21 / catchall.coffee
Created October 23, 2013 13:27
A simple catchall script for Hubot to process anything it doesn't know how to handle via Wolfram|Alpha
Wolfram = require('wolfram-alpha').createClient(process.env.HUBOT_WOLFRAM_APPID)
module.exports = (robot) ->
robot.catchAll (msg) ->
r = new RegExp "^(?:#{robot.alias}|#{robot.name}) (.*)", "i"
matches = msg.message.text.match(r)
if matches != null && matches.length > 1
Wolfram.query matches[1], (e, result) ->
if result and result.length > 0
msg.send result[1]['subpods'][0]['text']
@JoshData
JoshData / build_logins.sh
Last active November 26, 2020 17:59
rstudio multi-user helper
#!/bin/bash
# Start an AWS instance with one of the AMIs provided by:
# http://www.louisaslett.com/RStudio_AMI/
#
# Get this script.
# wget https://gist.githubusercontent.com/JoshData/615aa18cecb8a6596f59/raw/1b43765552862af98cb16d95dd236a81f6c5b464/build_logins.sh
# chmod +x build_logins.sh
#
# Then use this script to create many logins on the system.
@asfaltboy
asfaltboy / clip_magic.py
Last active September 20, 2021 22:23 — forked from nova77/clip_magic.py
"""
Add copy to clipboard from IPython!
To install, just copy it to your profile/startup directory, typically:
~/.ipython/profile_default/startup/
Example usage:
%clip hello world
# will store "hello world"
@mbostock
mbostock / .block
Last active November 7, 2023 07:54
Collapsible Tree
license: gpl-3.0
redirect: https://observablehq.com/@d3/d3-collapsible-tree