This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am maniart on github. | |
* I am maniart (https://keybase.io/maniart) on keybase. | |
* I have a public key whose fingerprint is 57FF 03D1 463C 6687 A397 7905 0DE3 ED1F 0C21 382A | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function haveGreatIdea() { | |
return | |
startProject() | |
.then(loseMotivation) | |
.then(abandonProject) | |
.then(haveGreatIdea) | |
.catch('Oh no. something seems to be actually working right.'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Implement a function that allows for infinite cyrring, and can be used as such: | |
`_do(fn)(2)(3)(5)(8)(22)(230)(100)(10)();` | |
*/ | |
function _do(fn) { | |
var args = [] | |
, fn; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Will parse OK | |
var fs = require('fs'); | |
var $ = require('jquery')(window); | |
// Will NOT parse | |
var fs = require('fs'), | |
$ = require('jquery')(window); | |
// Also documented here: https://github.com/substack/node-browserify/issues/950 |