Skip to content

Instantly share code, notes, and snippets.

@pjstein
pjstein / throwItOnALayer.js
Last active August 29, 2015 13:56
layers-in-react
/*
Instagram is 100% React. They pop modals. I didn't know how you could
do that in React, so I guessed based on what was going on the in
Chrome inspector. The following code assumes a commonJS module system.
Classes that I pass into this use the this.props.teardown to take themselves
down.
*/
var _ = require('lodash'),
React = require('react');
@pjstein
pjstein / gist:8192813
Last active January 1, 2016 19:49
The Arguably Definitive History of Pong. This was recovered from some cache somewhere in the digital ether. I need to look over it and dig into the history presented here someday.
NB. This was recovered from some cache somewhere in the digital ether. I 
need to look over it and dig into the history presented here someday. -PJ$, 12.30.2013

ORIGINALLY APPEARED IN : The Dartmouth Independent
TITLE                  : The Arguably Definitive History of Pong
AUTHOR                 : Anoop Rathod
PUBLISHED              : Sep 19, 2005

Founded in 1769, Dartmouth College has withstood the travails of history to remain one of this country's finest academic institutions with a strong set of time-honored

@pjstein
pjstein / .gitignore
Last active January 1, 2016 17:28
my fave .gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc