I hereby claim:
- I am lokaltog on github.
- I am kim_silkebaekken (https://keybase.io/kim_silkebaekken) on keybase.
- I have a public key ASCaMTIEErM7Wj3jqMHZMLhLbJNgJLVYZMyQwxZ18UG5Bgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
''' | |
Tired of the Norwegian postal service (Posten/Bring) tagging shipments as | |
"attempted delivered, nobody present/unknown address" without actually | |
attempting to deliver the package? This script monitors the package tracking | |
page and plays a siren sound/alert when the status changes. You can then call | |
customer support and complain at +4721316234, if you're lucky they'll call the | |
delivery driver and tell him to return and actually deliver the package. |
#!/usr/bin/env python | |
text = ''' | |
lorem ipsum dolor sit amet, consectetur adipiscing elit. suspendisse | |
sagittis sollicitudin cursus. proin quis nisl tempus, facilisis nisl | |
volutpat, consectetur ipsum. sed congue, mauris a vestibulum | |
condimentum, elit nulla lacinia arcu, id eleifend metus magna in lacus. | |
nam vel nisi a a a a a a a b b b b b ab ab ab ab ab consectetur, | |
aliquam ligula egestas, interdum mauris. maecenas in mauris quis velit |
# vim:fileencoding=utf-8:noet | |
from powerline.renderer import Renderer | |
from powerline.colorscheme import ATTR_BOLD, ATTR_ITALIC, ATTR_UNDERLINE | |
def int_to_rgb(num): | |
r = (num >> 16) & 0xff | |
g = (num >> 8) & 0xff | |
b = num & 0xff |
from multiprocessing.connection import Client | |
import time | |
for i in range(1, 10): | |
conn = Client('/tmp/pl-mp-test') | |
print('**** Query server') | |
conn.send(['f1', dict(param='test')]) | |
conn.send(['f2', dict()]) | |
try: | |
while True: |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>monospace</family> | |
<prefer><family>PowerlineSymbols</family></prefer> | |
</alias> | |
<alias> | |
<family>Droid Sans Mono</family> |
{ | |
"name": "default", | |
"segments": { | |
"left": [ | |
{ | |
"type": "function", | |
"name": "mode" | |
}, | |
{ | |
"type": "function", |
class Colorscheme: | |
COLOR_LIGHTBLUE = 123 | |
COLOR_MEDIUMBLUE = 123 | |
COLOR_DARKBLUE = 123 | |
COLOR_... | |
class SolarizedColorscheme(Colorscheme): | |
COLOR_LIGHTBLUE = 321 | |
COLOR_... |
# Contributor: Lokaltog <kimmern@lokaltog.net> | |
packager="slaveriq <arch@plassmann.biz>" | |
pkgname=wimp-no | |
pkgver=1.5.9 | |
license='custom' | |
pkgrel=1 | |
arch=('i686' 'x86_64') | |
pkgdesc="Adobe Air based streaming client for the Telenor Wimp service. Norwegian version, english language available." | |
url=('http://getwimp.com') |