I hereby claim:
- I am logic on github.
- I am logic (https://keybase.io/logic) on keybase.
- I have a public key whose fingerprint is EBEC 168B 5D9D 4F73 5AFA 4374 3E55 2B7D A4DC 85AE
To claim this, I am signing this object:
| # Append to /root/.bashrc | |
| [ ! -d $HOME/.history ] && mkdir $HOME/.history | |
| set -- `/usr/bin/who -m` | |
| HISTFILE="$HOME/.history/`/bin/date +%Y-%m-%d.%T`.`/bin/hostname -s`.$$.$1" |
| #!/bin/sh | |
| # Replacement for raw "ksu" in kerberized environments; | |
| # behaves more like "su -", and retains xauth data. | |
| if [ $# -lt 1 ] | |
| then | |
| echo "Usage: `basename $0` <target user> [ <command> [ <arg> ] ... ]" | |
| exit 2 | |
| fi |
| #!/usr/bin/env python | |
| from m2wsgi.io.standard import WSGIHandler | |
| from mercurial import demandimport; demandimport.enable() | |
| from mercurial.hgweb.hgwebdir_mod import hgwebdir | |
| app = hgwebdir('/path/to/hgweb.config') | |
| handler = WSGIHandler(app, "tcp://127.0.0.1:9999") | |
| handler.serve() |
| function multiplex_terminal() { | |
| cp /dev/null $HOME/.sshvars | |
| chmod 600 $HOME/.sshvars | |
| for i in SSH_CLIENT SSH_TTY SSH_AUTH_SOCK SSH_CONNECTION | |
| do | |
| eval v="\$$i" | |
| echo export $i=\"$v\" >> $HOME/.sshvars | |
| done | |
| multiplexor_path="`/usr/bin/which ${1}`" | |
| shift |
| ZOO_LOG4J_PROP="INFO,ROLLINGFILE" | |
| ZOO_LOG_DIR="/var/log/zookeeper/" |
| import urllib2 | |
| class MethodRequest(urllib2.Request): | |
| def __init__(self, *args, **kwargs): | |
| if 'method' in kwargs: | |
| self._method = kwargs['method'] | |
| del kwargs['method'] | |
| else: | |
| self._method = None | |
| return urllib2.Request.__init__(self, *args, **kwargs) |
| #!/usr/bin/env python | |
| """Calculate how much money you'd leave on the table if you quit right now. | |
| Place a file named TICKER-stock.csv (where TICKER is the ticker symbol you | |
| want to track) in the same directory as this script, formatted as: | |
| MM/DD/YYYY,shares | |
| Where MM is the month, DD is the date, and YYYY is the year that "shares" |
I hereby claim:
To claim this, I am signing this object:
| @-moz-document domain(mail.google.com) | |
| { | |
| .gs .ii, | |
| textarea.Ak, | |
| table tbody tbody tr td font, | |
| div[aria-label="Message Body"], /* compose area */ | |
| table[aria-role="presentation"] .iA.g6, /* excerpts in conversation view */ | |
| tr.zA.yO span.y2, /* excerpts in inbox view */ | |
| .jj /* gmail offline */ | |
| { |
| [Unit] | |
| Description=Rotate GNOME wallpaper | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/bash ${HOME}/bin/rotate_background.sh |