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 June 9, 2024 10:41
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname