Skip to content

Instantly share code, notes, and snippets.

function getText(node) {
if (node.nodeType === 3) {
return node.data;
}
var txt = '';
if (node = node.firstChild) do {
txt += getText(node);

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: