Skip to content

Instantly share code, notes, and snippets.

@koehlma
koehlma / pdef.py
Last active December 16, 2015 11:18
PDEF (=Portable Data Exchange Format) is a JSON like format that encodes into binary data.
# -*- coding:utf-8 -*-
#
# Copyright (C) 2013, Maximilian Köhl <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@koehlma
koehlma / config.py
Created October 4, 2012 17:01
Qtile - Configuration
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import locale
import subprocess
locale.setlocale(locale.LC_ALL, '')
from libqtile import bar, hook, layout, widget
from libqtile.command import lazy
@koehlma
koehlma / forward.py
Created September 30, 2012 15:06
MTS - Forward Proxy
# -*- coding:utf-8 -*-
#
# Copyright (C) 2012, Maximilian Köhl <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,