I hereby claim:
- I am whiteinge on github.
- I am whiteinge (https://keybase.io/whiteinge) on keybase.
- I have a public key whose fingerprint is 22CA 731F 6E18 4DA6 A087 7EA5 981A 9910 15ED 347D
To claim this, I am signing this object:
#!/usr/bin/env python | |
''' | |
''' | |
# from gevent import monkey | |
# monkey.patch_all() | |
import os | |
import itertools | |
from time import sleep |
{ | |
"jutt_freebsd": { | |
"biosversion": "4.1.5", | |
"kernel": "FreeBSD", | |
"domain": "", | |
"uid": 0, | |
"zmqversion": "4.1.5", | |
"kernelrelease": "10.1-RELEASE-p15", | |
"pythonpath": [ | |
"/usr/local/bin", |
#!/bin/bash | |
# Functions to more easily work with a ton of organization repos | |
# | |
# Requires ok.sh and Git. | |
# | |
# Available commands: ${ALL_FUNCS} | |
# Lazyness! | |
ok="$(which ok.sh)" | |
eval "$(awk '$0 ~ /^_helptext/, /^}/ { print }' $ok)" |
#!/usr/bin/env python | |
'''\ | |
Welcome to the Salt repl which exposes the execution environment of a minion in | |
a pre-configured Python shell | |
__opts__, __salt__, __grains__, and __pillar__ are available. | |
Jinja can be tested with full access to the above structures in the usual way: | |
JINJA("""\\ |
#!/bin/sh | |
# A self-extracting installer for RPMs | |
# | |
# Requires: POSIX env, base64, and mktemp. | |
# | |
# To create: make a gzip-compressed tarball of RPMs (with no subdirectory), | |
# convert to base64, then concatenate onto the end of this file:: | |
# | |
# cd /some/directory/of/rpm/files | |
# tar -cz *.rpm | base64 -w0 >> selfinstaller.bzx |
#!/usr/bin/env python | |
# coding: utf-8 | |
''' | |
A minimal but thorough example of a CherryPy app. | |
''' | |
import cherrypy | |
class Root(object): | |
@cherrypy.expose | |
def index(self): |
#!/usr/bin/awk -f | |
# Output IP addresses for machines that are connected to the local machine. | |
# | |
# Usage: | |
# ./connected_ips.awk /proc/net/tcp | |
# ./connected_ips.awk -v port=4505 /proc/net/tcp | |
function fromhex(s){ | |
# Amazing voodoo from William. | |
# http://compgroups.net/comp.lang.awk/reading-hexadecimal-numbers/33952 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
URL="http://localhost:8000" | |
COOKIES="cookies.txt" | |
fnmatch () { case "$2" in $1) return 0 ;; *) return 1 ;; esac ; } | |
listen() { | |
# Watch Salt's events HTTP stream. |
# Toggle this to test the hook | |
zstyle ':vcs_info:git:*' get-revision true | |
# basic 'formats' config: (git)[hash] branch | |
zstyle ':vcs_info:git*' formats "(%s)%i %b" | |
# Register new hook | |
zstyle ':vcs_info:git*+set-message:*' hooks git-optional-rev | |
# Define new hook |