Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jspaine on github.
  • I am jamesmh (https://keybase.io/jamesmh) on keybase.
  • I have a public key ASB9D2Jl6XYZCDE-qPe6suQw5jZqaz3ZBzZHzuYJQgp5uAo

To claim this, I am signing this object:

#!/bin/sh
DOMAIN=$1
EMAIL=$2
USER=$3
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
@jspaine
jspaine / index.babel
Last active June 15, 2016 08:34
fcc/adv_front_end/simon
const {Observable, Subject} = Rx
const NOTE_DURATION = 400
const NOTE_SEPARATION = 600
const RESPONSE_TIMEOUT = 2000
const MAX_LEVEL = 4
class Oscillator {
constructor() {
this.ctx = new AudioContext()