Skip to content

Instantly share code, notes, and snippets.

@technoweenie
technoweenie / gist:1072829
Created July 8, 2011 21:12
.netrc file so you can push/pull to https git repos without entering your creds all the time
machine github.com
login technoweenie
password SECRET
machine api.github.com
login technoweenie
password SECRET
@silentmatt
silentmatt / parameters.js
Created June 19, 2009 18:43
Functions for dealing with function parameters
/*
Get an array of parameter names for a function.
Example:
js> function f(a, b, c) { return a + b * c; }
js> JSON.stringify(Function.parameters(f));
["a","b","c"]
*/
Function.parameters = function(f) {