Skip to content

Instantly share code, notes, and snippets.

View bradseverance's full-sized avatar
🍣
Sushi

Brad Severance bradseverance

🍣
Sushi
View GitHub Profile
node-config
1) install the config module
npm install config
2) create a directory called ‘config’ in your application directory
3) create a file inside the ‘config’ directory called ‘default.json’
4) create a file inside the ‘config’ directory called ‘localhost.json’
5) create a file inside the ‘config’ directory called ‘development.json’
@bradseverance
bradseverance / gist:8318878
Created January 8, 2014 15:49
Chrome Developer Extensions
Clear Cache
https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn
Chrome Sniffer
https://chrome.google.com/webstore/detail/chrome-sniffer/homgcnaoacgigpkkljjjekpignblkeae
JSONView
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc
Edit This Cookie
console.log("*****************************************************************************");
console.log("calling a function as a method");
console.log("");
// calling a function as a method
// "this" property refers to the calling object, in this case, "kitty"
var kitty = {
animal_type: "excellent",