I hereby claim:
- I am sit on github.
- I am emilsit (https://keybase.io/emilsit) on keybase.
- I have a public key ASDX1Y165C9JTvdEJp0_CsOFCp1ZJde9srVIXqgGgjWBHQo
To claim this, I am signing this object:
#!/bin/sh | |
# Use socat to proxy git through an HTTP CONNECT firewall. | |
# Useful if you are trying to clone git:// from inside a company. | |
# Requires that the proxy allows CONNECT to port 9418. | |
# | |
# Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run | |
# chmod +x gitproxy | |
# git config --global core.gitproxy gitproxy | |
# | |
# More details at http://tinyurl.com/8xvpny |
apply plugin: "java" | |
apply plugin: "eclipse" | |
apply plugin: "idea" | |
group = "com.mycompany.hadoopproject" | |
version = "1.0" | |
repositories { | |
// Standard Maven | |
mavenCentral() |
# The following ignores... | |
# Miscellaneous Hudson litter | |
*.log | |
*.tmp | |
*.old | |
*.bak | |
*.jar | |
*.json | |
# Generated Hudson state |
#!/usr/bin/env python | |
from cm_api.api_client import ApiResource | |
def main(args): | |
cm_host = get(args, 1, "localhost") | |
cm_user = get(args, 2, "admin") | |
cm_pass = get(args, 3, "admin") | |
api = ApiResource(cm_host, username=cm_user, password=cm_pass) |
# | |
# Usage: mkdir /tmp/export; find path -name *.html | xargs python | |
# import_dayone.py | tee /tmp/export.log | |
# | |
import datetime | |
import plistlib | |
import pytz | |
import uuid | |
import sys |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Mount a truecrypt volume on /media/truecrypt1 | |
USER_DATA_DIR=/media/truecrypt1/Chrome/$USER | |
if [ ! -d $USER_DATA_DIR ]; then | |
echo No secure data directory $USER_DATA_DIR 1>&2 | |
exit 1; | |
fi |
# | |
# Ways of stringifying Hello World in Python | |
# | |
a = "hello" | |
b = "world" | |
"%s %s" % (a, b) | |
"%(a)s %(b)s" % locals() | |
"{a} {b}".format(**locals()) | |
"{first} {second}".format(first=a, second=b) |
{ | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"scripts": [ | |
"scripts/chef-client.sh", | |
"scripts/vagrant.sh" | |
], | |
"override": { | |
"virtualbox": { |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
site :opscode | |
# Suck in all cookbooks in local chef-repo | |
Dir.entries("cookbooks").each do |cookbook_name| | |
next if cookbook_name.starts_with?('.') | |
cookbook_dir = "cookbooks/#{cookbook_name}" | |
next unless File.directory?(cookbook_dir) |