Skip to content

Instantly share code, notes, and snippets.

View graag's full-sized avatar

Konrad Klimaszewski graag

View GitHub Profile
@graag
graag / crontab
Last active August 29, 2015 14:18 — forked from MarkTraceur/crontab
# backup every hour, meaning 00:05, 01:05, 02:05, 03:05, 04:05, ... 23:05
5 * * * * /etc/init.d/minetest backup
# clean old files (once a day, at 01:10
10 1 * * * /etc/init.d/minetest clean
@graag
graag / MainLoopThread.py
Created August 20, 2014 09:39
Libspotify session create/destroy crash test case
import threading
class MainLoopThread(threading.Thread):
def __init__(self, main_loop, session):
threading.Thread.__init__(self)
self.main_loop = main_loop
self.session = session
def run(self):