Skip to content

Instantly share code, notes, and snippets.

View kristijanbartol's full-sized avatar
🐌

Kristijan Bartol kristijanbartol

🐌
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 30, 2025 01:09
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@waylan
waylan / subprocess_pipe.md
Created April 10, 2012 19:12
Writing to a python subprocess pipe

Here's a few things I tried to write output to a python subprocess pipe.

from subprocess import Popen, PIPE

p = Popen('less', stdin=PIPE)
for x in xrange(100):
    p.communicate('Line number %d.\n' % x)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: