I hereby claim:
- I am aleksandarristic on github.
- I am leka (https://keybase.io/leka) on keybase.
- I have a public key whose fingerprint is 7865 6744 9481 D574 710F 8944 315E 25D0 3142 738C
To claim this, I am signing this object:
class CachedProperty(object): | |
""" | |
A cached property; A bit specific, as | |
it runs the getter as an instance method | |
& forwards the instance & init args to it. | |
Uses python descriptors protocol | |
""" | |
def __init__(self, getter, *args): | |
self.getter = getter | |
self.args = args or None |
startup_message off | |
autodetach on | |
nonblock on | |
defscrollback 2048 | |
termcapinfo xterm* ti@:te@ | |
defutf8 on | |
#caption always "%{= wb}$USER @ %H >> %-Lw%{= r}%50>%n* %t%{-}%+Lw%< %-=<< (%c.%s)" | |
#hardstatus off |
alias fucking='sudo' | |
alias fuck='sudo $(history -p \!\!)' | |
alias ohnoes='kill -9 $(pgrep -f $last)' |
I hereby claim:
To claim this, I am signing this object:
ip -o -f inet addr show $(ip route list | awk '/^default/ {print $5}') | awk '{print $4}' |
#!/usr/bin/env python | |
import os | |
import sys | |
class Choice(object): | |
def __init__(self, config, message): | |
self.config = config | |
self.message = message |