Skip to content

Instantly share code, notes, and snippets.

View arozwalak's full-sized avatar

Artur Rozwalak arozwalak

View GitHub Profile
@arozwalak
arozwalak / tmux-iterm2.md
Created January 10, 2018 10:22 — forked from royling/tmux-iterm2.md
tmux in iTerm2 cheatsheet
@arozwalak
arozwalak / tmux-cheatsheet.markdown
Created September 1, 2017 14:17 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@arozwalak
arozwalak / tmux.md
Created September 1, 2017 14:01 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@arozwalak
arozwalak / dragongame.js
Last active March 9, 2017 22:05 — forked from born2frag/dragongame.js
Javascript: Dragon game
var slaying = true;
var youHit = Math.floor(Math.random()*2);
var damageThisRound = Math.floor(Math.random()*2);
var totalDamage = 0;
while(slaying)
{