This re-styles your sublime text 2 sidebar to be darker, so it doesn't blind you when using a dark theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} | 
| !!! 5 | |
| //if lt IE 7 | |
| html(class="no-js ie6 oldie", lang="en") | |
| //if IE 7 | |
| html(class="no-js ie7 oldie", lang="en") | |
| //if IE 8 | |
| html(class="no-js ie8 oldie", lang="en") | |
| // [if gt IE 8] <! | |
| html(class="no-js", lang="en") | |
| // <![endif] | 
| config.json | |
| reading-image.png | 
| var express = require('express'), | |
| request = require('request'), | |
| app = express.createServer(), | |
| PORT = 8010; | |
| app.configure(function() { | |
| app.use(express.static(__dirname)); | |
| app.use(express.bodyParser()); | |
| app.use(express.errorHandler()); | |
| }); | 
| [user] | |
| name = Brad Wilson | |
| email = [email protected] | |
| [alias] | |
| a = add -A | |
| abort = rebase --abort | |
| amend = commit --amend -C HEAD | |
| bl = blame -w -M -C | |
| br = branch | |
| cat = cat-file -t | 
#Node - File Paths
##File Paths Node has a path module which can be used to manipulate paths.
###Normalizing Paths Paths can be stored in different ways and it is neccessary to ensure that the path is standardized.
var path = require('path');
path.normalize('/foo/bar//baz/asdf/quux/..');When I list my npm packages with npm ls -g (or without the -g option for a local node_modules directory) I see all installed packages and their dependencies. Like so:
$ npm ls -g
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
How to use this thing...
var MyNewViewModel = ViewModel.extend({
    subscriptions: {},
    publications: {},
    defaults: {
        // ko.observable
        foo: 1,
 // ko.ovservableArrray