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 / 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) {