start new:
tmux
start new with session name:
tmux new -s myname
/* | |
Fill in the body of the `debounce` function, such that running | |
the following code will output "fn was called with 10!" only once. | |
*/ | |
(function () { | |
var debounce, fn, i; | |
debounce = function (func, wait) { | |
// ... | |
}; |
function beget(parent, child) { | |
// Add code here to make test() return true. | |
} | |
function test(){ | |
var c; | |
function Parent() { | |
throw 'exception'; | |
} |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |