I hereby claim:
- I am glenjamin on github.
- I am glenjamin (https://keybase.io/glenjamin) on keybase.
- I have a public key whose fingerprint is 11CE C764 0EDC 4B60 AB04 5CE4 263A CDF5 874C 2733
To claim this, I am signing this object:
// The single letter variables are designed to be invisible | |
// Yes, there are a few global variables: t, s and expect | |
// The system under test has no globals, so I can't conflict! | |
var h = require('../spec-helper.js'); | |
var command = require('../../lib/command-round-init.js'); | |
describe('Command: round-init', function() { | |
beforeEach(function() { |
.vagrant/ |
I hereby claim:
To claim this, I am signing this object:
function cd() { | |
# Aliases | |
alias cd='' | |
alias exit='' | |
# Variables | |
NONE='\033[00m' | |
RED='\033[01;31m' | |
SLEEP=`which sleep` | |
SEQ=`which seq` |
/*eslint-env browser*/ | |
/** | |
* Cribbed from: | |
* github.com/facebook/react/blob/master/src/addons/ReactRAFBatchingStrategy.js | |
* github.com/petehunt/react-raf-batching/blob/master/ReactRAFBatching.js | |
*/ | |
var ReactUpdates = require('react/lib/ReactUpdates'); | |
var ReactRAFBatchingStrategy = { |
function blacken() { | |
var div = document.createElement('div'); | |
var opacity = 0; | |
div.style.position = 'fixed'; | |
div.style.top = 0; | |
div.style.bottom = 0; | |
div.style.left = 0; | |
div.style.right = 0; | |
div.style.opacity = opacity; | |
div.style.background = 'black'; |
(define (f yield) | |
(yield 1) | |
(yield 2) | |
(yield 3)) | |
(define gen | |
(letrec ((pause '()) | |
(resume '()) | |
(yield (lambda (x) | |
(call/cc (lambda (k) |
{ | |
"env": { | |
"node": true | |
}, | |
"rules": { | |
"strict": 0, | |
"quotes": 0, | |
"indent": [2, 2], | |
"curly": [2, "multi-line"], | |
"no-use-before-define": [2, "nofunc"], |
# Run the following in a directory containing npm projects | |
# list all modules being used directly (no sub-dependencies) | |
ls */package.json | xargs -n1 dirname | \ | |
xargs -n1 -I {} bash -c 'cd {} && npm ls --depth=0 2>/dev/null | grep -oiE " [A-Z0-9\-]+@"' | \ | |
cut -d @ -f 1 | sort -u | |
# list all modules being used directly and which project uses them | |
ls */package.json | xargs -n1 dirname | \ | |
xargs -n1 -I {} bash -c 'cd {} && npm ls --depth=0 2>/dev/null | grep -oiE " [A-Z0-9\-]+@" | sed "s/\$/ in {}/"' | \ |
// Helper function | |
function findAnchor(node) { | |
while (node.nodeName.toLowerCase() != 'a') { | |
if (!node.parentNode) return false; | |
node = node.parentNode; | |
} | |
return node; | |
} | |
// Capture component |