Skip to content

Instantly share code, notes, and snippets.

@kragniz
kragniz / extract
Last active January 2, 2016 12:59
Extract urls from debian error messages
#!/usr/bin/env python
import re, sys
for l in sys.stderr.readlines():
url = re.findall(r'http:.+\.deb', l)
if len(url):
print url[0]
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 1, 2024 17:40
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname