I hereby claim:
- I am lchi on github.
- I am lchi (https://keybase.io/lchi) on keybase.
- I have a public key whose fingerprint is E33E 6A90 5860 8005 91AB 7C45 9458 DEE6 9A48 87E0
To claim this, I am signing this object:
| 667502 | |
| 929516 | |
| 1074767 | |
| 1283874 | |
| 1355645 | |
| 1392601 | |
| 1395956 | |
| 1444385 | |
| 1660139 | |
| 1687681 |
| slcli server list | awk '{ print "Host " $2 } | |
| {print " HostName " $3}' >> ~/.ssh/config | |
| slcli virtual list | awk '{ print "Host " $2 } | |
| {print " HostName " $3}' >> ~/.ssh/config |
| #!/usr/bin/env ruby | |
| stats_prev = {} | |
| loop do | |
| stats = {} | |
| stats_output = `echo 'stats' | nc localhost 11211 | sed 's/STAT //g' | grep -v END` | |
| stats_output.split("\n").each do |line| | |
| k, v = line.split(" ") | |
| stats[k] = v.to_i |
I hereby claim:
To claim this, I am signing this object:
| YAML Parser | |
| Nicer Nagios display using Nagios API | |
| Better blog thing | |
| Hacking XXX API using Wireshark |
| [color] | |
| ui = true | |
| [alias] | |
| c = commit | |
| co = checkout | |
| s = status | |
| d = diff | |
| ds = diff --staged | |
| b = branch | |
| [user] |
| git config --global alias.d diff | |
| git config --global alias.ds 'diff --staged' | |
| git config --global alias.a add | |
| git config --global alias.s status | |
| git config --global alias.co checkout | |
| git config --global alias.c commit | |
| git config --glboal d diff |
| export EDITOR='/usr/bin/vim' | |
| alias ll='ls -l' | |
| alias ws='cd ~/workspace' | |
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
| import json | |
| import os | |
| import sys | |
| def makeTree(path): | |
| t = {path:{}} | |
| tree(path, t[path]) | |
| return t | |
| def tree(path, t): |