http://www.nickbusey.com/2011/07/getting-started-with-node/
http://mattkopala.com/blog/2012/02/12/getting-started-with-nodejs/
https://github.com/joyent/node/wiki/Resources
http://blog.daviddollar.org/2011/05/06/introducing-foreman.html
http://garann.github.com/template-chooser/
http://nodebeginner.org/index.html
http://howtonode.org/6f4cdfb2f4c0c3310f8cef6679902ddb8d13a9f8/express-mongodb
https://github.com/learnboost/stylus
http://www.giantflyingsaucer.com/blog/?p=3497
http://blog.alagad.com/2010/07/21/an-introduction-to-nodejs-a-javascript-based-server/
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
| %p - Meridian indicator (``AM'' or ``PM'') | |
| %P - Meridian indicator (``am'' or ``pm'') |
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
| /** | |
| * Actions for displaying the blog/articles. | |
| */ | |
| var Article = mongoose.model('Article') | |
| , Tag = mongoose.model('Tag') | |
| module.exports = function(app){ |
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
| { | |
| "name": "Typeoneerror", | |
| "description": "Website for typeoneerror.com", | |
| "version": "0.0.1", | |
| "private": true, | |
| "dependencies": { | |
| "express" : "2.5.8", | |
| "jade" : ">= 0.0.1", | |
| "backbone" : ">= 0.9.1", | |
| "stylus" : ">= 0.24.0", |
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
| 2012-02-22T19:42:32+00:00 heroku[web.2]: State changed from up to bouncing | |
| 2012-02-22T19:42:32+00:00 heroku[web.2]: State changed from bouncing to created | |
| 2012-02-22T19:42:32+00:00 heroku[web.2]: State changed from created to starting | |
| 2012-02-22T19:42:32+00:00 heroku[web.1]: State changed from up to bouncing | |
| 2012-02-22T19:42:32+00:00 heroku[web.1]: State changed from bouncing to created | |
| 2012-02-22T19:42:32+00:00 heroku[web.1]: State changed from created to starting | |
| 2012-02-22T19:42:36+00:00 heroku[web.1]: Stopping process with SIGTERM | |
| 2012-02-22T19:42:36+00:00 app[web.1]: >> Stopping ... |
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
| #pragma mark - Initial keyboard interactions | |
| - (void)globalHotkeyWithEvent:(NSEvent *)event | |
| { | |
| NSLog(@"Firing -[%@ %@]", NSStringFromClass([self class]), NSStringFromSelector(_cmd)); | |
| NSLog(@"Hotkey event: %@", event); | |
| } | |
| - (void)registerGlobalKeyCommands | |
| { |
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
| sqlite> .mod col | |
| sqlite> .headers on |
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
| #!/bin/bash | |
| ########### | |
| # sup # | |
| ########### | |
| #defaults | |
| BASEDIR=`dirname ${BASH_SOURCE}` | |
| CONFIG="${BASEDIR}/.sup-config" | |
| IGNORE_EXTERNALS=0 |
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
Show hidden characters
| { | |
| "cmd" : ["$file"], | |
| "selector" : "source.shell", | |
| "shell" : "bash" | |
| } |
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
| [ | |
| // textmate duplicate line | |
| { "keys": ["ctrl+shift+d"], "command": "duplicate_line" }, | |
| // textmate close all files | |
| { "keys": ["ctrl+super+w"], "command": "close_all" }, | |
| // textmate wordwrap | |
| { "keys": ["super+alt+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} }, | |
| // xcode quick open | |
| { "keys": ["super+shift+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} } | |
| ] |