I hereby claim:
- I am ebroder on github.
- I am evan (https://keybase.io/evan) on keybase.
- I have a public key whose fingerprint is 9E1D BF47 4BBA 314B 5E0B 6453 45D7 7E9E 30CB 1B11
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import sys | |
| lines = int(sys.stdin.readline().strip()) | |
| ciphertext = sys.stdin.read().split() | |
| out = [] |
| diff --git a/monospace/views.py b/monospace/views.py | |
| index beadc55..d587230 100644 | |
| --- a/monospace/views.py | |
| +++ b/monospace/views.py | |
| @@ -61,27 +61,30 @@ def register(request): | |
| form = UserForm(request.POST) | |
| if form.is_valid(): | |
| - customer = stripe.Customer.create( | |
| - description = form.cleaned_data['email'], |
| git() { | |
| if echo "$@" | grep -q commit && | |
| [ "$(command git config user.email)" = "" ]; then | |
| echo "E: Please set user.email" >&2 | |
| return 1 | |
| fi | |
| command git "$@" | |
| } |
| evan@caron:~$ cat /etc/modprobe.d/ibm.conf | |
| options thinkpad_acpi fan_control=1 | |
| evan@caron:~$ cat /etc/pm/power.d/ibm_fan | |
| #!/bin/sh | |
| fan="/proc/acpi/ibm/fan" | |
| [ -w "$fan" ] || exit $NA | |
| case "$1" in |
| #!/usr/bin/python | |
| from gi.repository import GLib, Gdk, GConf, Gio | |
| def update_hide_mode(screen): | |
| form_factor_settings = Gio.Settings.new('com.canonical.Unity') | |
| launcher_hide_mode_settings = Gio.Settings.new_with_path('org.compiz.unityshell', '/org/compiz/profiles/unity/plugins/unityshell/') | |
| form_factor_key = 'form-factor' | |
| launcher_hide_mode_key = 'launcher-hide-mode' | |
| size = min(screen.get_monitor_geometry(i).width for i in xrange(screen.get_n_monitors())) |
| #!/usr/bin/python | |
| import os | |
| import subprocess | |
| from gi.repository import GLib, NMClient | |
| def active_connections_changed(*args): | |
| for sock in os.listdir(os.path.expanduser('~/.ssh/sockets')): | |
| user, hostport = sock.split('@') | |
| host, port = hostport.split(':') | |
| subprocess.call(['ssh', '-O', 'stop', '-l', user, '-p', port, host]) |
| #!/usr/bin/python | |
| from gi.repository import GLib, Gdk, Gio | |
| def update_hide_mode(screen): | |
| form_factor_settings = Gio.Settings.new('com.canonical.Unity') | |
| launcher_hide_mode_settings = Gio.Settings.new_with_path('org.compiz.unityshell', '/org/compiz/profiles/unity/plugins/unityshell/') | |
| form_factor_key = 'form-factor' | |
| launcher_hide_mode_key = 'launcher-hide-mode' | |
| size = min(screen.get_monitor_geometry(i).width for i in xrange(screen.get_n_monitors())) |
I hereby claim:
To claim this, I am signing this object:
As this started to mature into a real project, I've moved the code to https://github.com/ebroder/rugdby
(There are tests now!)
| # coding: utf-8 | |
| WORDS = [ | |
| ':admission_tickets:', | |
| ':aerial_tramway:', | |
| ':airplane:', | |
| ':airplane_arriving:', | |
| ':airplane_departure:', | |
| ':alarm_clock:', | |
| ':alembic:', |