Skip to content

Instantly share code, notes, and snippets.

View main.go
package main
import (
const (
defaultAddr = ":1234"
jdhenke /
Last active Dec 27, 2015
boston taxi cab pickup d3 visualization


View it in it's own window.

Click and drag to highlight portions of the time chart to drill down on the data set and refresh the heatmap with pickups only from those time slots.

Click the black points of interest to show their name.


jdhenke /
Created Oct 1, 2013
Script for generating some cool collatz plot.
from matplotlib import pyplot as plt
class Node(object):
def __init__(self, num, step, parent, children):
self.num = num
self.step = step
self.parent = parent
self.children = children
class Collatz(object):
jdhenke / gist:6633049
Last active Dec 23, 2015
Syllabus file for the design exercise in the 6.811 Screen Reader Lab.
View gist:6633049
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<!-- saved from url=(0056) -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>6.S196: Principles and Practice of Assistive Technology, Fall 2011</title>
<link rel="stylesheet" type="text/css" href="./ppat-syllabus_files/web.css">
<meta name="description" content="Course page for 6.S196 Principles and Practice of Assistive Technology at MIT">
<link type="text/css" rel="stylesheet" href="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/style.css"><script type="text/javascript" charset="utf-8" src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/page_context.js"></script></head>
<body screen_capture_injected="true">
jdhenke /
Last active Jan 26, 2018
Use Markov Models to mimic the text from a document or "mashup" several different documents.
Creates 'lyrical mashups' using Markov Models.
Can use characters or words as state. (You should add more mediums!)
Example files used: # this script
sonnets.txt # all of shakespeare's sonnets