Skip to content

Instantly share code, notes, and snippets.

View lauraGgit's full-sized avatar
🇺🇸
USA

Laura Gerhardt lauraGgit

🇺🇸
USA
  • Personal projects
  • Washington, DC
View GitHub Profile
@lauraGgit
lauraGgit / python-virtual-heaven.sh
Created June 1, 2016 23:23
Installing pyenv-virtualenwrapper from scratch!
#!/bin/sh
#Assuming you have Homebrew http://brew.sh/
# This is adapted from: https://github.com/18F/laptop/blob/master/mac
terminal_program="CHOOSE "zsh" or "bash""
zsh_or_bash() {
if ["$shell_program" = "zsh"] ; then
filename=".zshrc"
else
@lauraGgit
lauraGgit / githubIssuesToCsv.py
Last active March 17, 2016 20:45 — forked from vdavez/githubIssuesToCsv.py
gh-issues-to-csv.py
import requests
import json
import sys
import csv
def getIssues(url):
"""
@param {url} The url of the github issues
@return the json object
@lauraGgit
lauraGgit / pre-render.js
Last active August 29, 2015 14:23 — forked from mef/pre-render.js
// pre-render d3 charts at server side
var d3 = require('d3')
, jsdom = require('jsdom')
, fs = require('fs')
, htmlStub = '<html><head></head><body><div id="dataviz-container"></div><script src="js/d3.v3.min.js"></script></body></html>'
jsdom.env({
features : { QuerySelector : true }
, html : htmlStub
, done : function(errors, window) {