Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
steveklabnik / todo.txt
Created September 27, 2012 15:14
Resque 2.0 Todo
____ ___________ ____ __ ________ ___ ____
/ __ \/ ____/ ___// __ \/ / / / ____/ |__ \ / __ \
/ /_/ / __/ \__ \/ / / / / / / __/ __/ / / / / /
/ _, _/ /___ ___/ / /_/ / /_/ / /___ / __/_/ /_/ /
/_/ |_/_____//____/\___\_\____/_____/ /____(_)____/
=====================================================
## Here's what needs to be done
@fogus
fogus / fixing-parseInt.js
Last active December 11, 2015 17:49
All this and more in Lemonad and in fine bookstores and libraries near you!
// ZOMG!!
['11','11','11','11'].map(parseInt)
//=> [11, NaN, 3, 4]
// Fixing JavaScript foibles with delicious curry!
['11','11','11','11'].map(curry(parseInt));
//=> [11, 11, 11, 11]