Skip to content

Instantly share code, notes, and snippets.

View oleeander's full-sized avatar

Oleander oleeander

View GitHub Profile
@oleeander
oleeander / fahrradkino.py
Last active August 29, 2015 14:21
Video player `mpv' controlled by an exercise bike with integrated hall effect sensor.
#!/usr/bin/env python3
# Copyright (C) 2015 Oleander Reis <oleander@oleander.cc>
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
@oleeander
oleeander / faderstart.py
Created January 8, 2015 11:47
mpris2 faderstart + dpflib display
#!/usr/bin/env python2
import argparse
import time
from gi.repository import GObject
import dbus
from dbus.mainloop.glib import DBusGMainLoop
import serial
import dpflib_c
@oleeander
oleeander / twrc.py
Last active August 29, 2015 14:01
TWRC is a library giving remote access to TwistedWave.
#!/usr/bin/env python3
# Copyright (C) 2014 Oleander Reis <oleander@oleander.cc>
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
@oleeander
oleeander / stab.py
Last active December 23, 2015 05:19
STealAllBooks from it-ebooks.info
#!/usr/bin/env python3
import argparse
import requests
import atexit
import os
import signal
import sys
from pyquery import PyQuery
@oleeander
oleeander / vehicle.py
Created August 19, 2013 15:50
Vehicle wants to be a library giving access to timetable enquiries using HAFAS. But it is heavily broken.
#!/usr/bin/env python3
# Copyright (C) 2013 Oleander Reis <oleander@oleander.cc>
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it