As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # | |
| # Example of how to parse short/long options with 'getopt' | |
| # | |
| OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
| if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
| echo "$OPTS" |
| function init() { | |
| // quit if this function has already been called | |
| if (arguments.callee.done) return; | |
| // flag this function so we don't do the same thing twice | |
| arguments.callee.done = true; | |
| // kill the timer | |
| if (_timer) clearInterval(_timer); | |
| // do stuff, call the function you want on the body onload | |
| example(); |
| " Reference: http://stackoverflow.com/questions/7159607 " | |
| import os | |
| import sys | |
| def listdir(path): | |
| """ | |
| recursively walk directory to specified depth | |
| :param path: (str) path to list files from |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
This configuration is no longer updated
Thanks to this article by Christoph Berg
Directories and files
~/