Skip to content

Instantly share code, notes, and snippets.

View ethmtrgt's full-sized avatar
🔒
GPG: 0xF95E88690692616E

Ethem Turgut ethmtrgt

🔒
GPG: 0xF95E88690692616E
View GitHub Profile
@mvliet
mvliet / daemon.py
Created November 25, 2013 22:08
Python Daemon Example
#!/usr/bin/env python
# Based off of code written by Sander Marechal, which was released into public
# domiain.
# http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
#
import sys, os, time, atexit
import logging
from signal import SIGTERM

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: