start new:
tmux
start new with session name:
tmux new -s myname
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
var Article = require('../../../models/article');Those suck for maintenance and they're ugly.
| #!/bin/bash | |
| # | |
| # Author: SuperPaintman <SuperPaintmanDeveloper@gmail.com> | |
| # | |
| ### | |
| # Constants | |
| ### | |
| RETVAL=0 |
| // Generated on 2014-07-08 using generator-angular 0.9.3 | |
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| var modRewrite = require('connect-modrewrite'); |
| const double ALPHA = 0.05; | |
| resultSpeed = ALPHA * currentSpeed + (1.0 - ALPHA) * resultSpeed; |