Skip to content

Instantly share code, notes, and snippets.

View aluminiumgeek's full-sized avatar
🚷
🚳

Mikhail Mezyakov aluminiumgeek

🚷
🚳
View GitHub Profile
@aluminiumgeek
aluminiumgeek / updates_handler.py
Last active January 4, 2016 02:39
Tornado Websocket example for blog
class UpdatesHandler(websocket.WebSocketHandler):
socket_clients = set()
def open(self):
self.socket_clients.add(self)
def on_close(self):
self.socket_clients.remove(self)
@aluminiumgeek
aluminiumgeek / gist:6833322
Created October 4, 2013 21:46
My ~/.mplayer/config
ass=1
ssa=1
subcp=utf-8
subfont-text-scale=1.6
vo=xv:port=87
subfont-text-scale=3
@aluminiumgeek
aluminiumgeek / gist:6771463
Created September 30, 2013 22:51
My urxvt settings (~/.Xdefaults)
URxvt.perl-ext-common: default,matcher
URxvt.colorUL: #86a2be
URxvt.urlLauncher: firefox
URxvt.font: xft:DejaVu Sans Mono:pixelsize=11
URxvt*foreground: #f2f2f2
URxvt*background: #101010
URxvt.scrollBar:false
! Normal