I hereby claim:
- I am ianatha on github.
- I am ianatha (https://keybase.io/ianatha) on keybase.
- I have a public key whose fingerprint is 00FD 9E6A 4AD7 70E8 3595 FCC9 292C B8B9 3CEF 4A43
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "hash/crc32" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "sync" | |
| ) |
| #!/bin/bash -e | |
| if [ "$(id -u)" != "0" ]; then | |
| # Elevate privileges to root. | |
| sudo $0 $* | |
| exit $? | |
| fi |
| #!/usr/bin/ruby | |
| require "uri" | |
| require "net/http" | |
| require "readline" | |
| $cache = {} | |
| def cached_exec(cmd) | |
| if not $cache.include?(cmd) | |
| $cache[cmd] = `#{cmd}`.split("\n") | |
| end |
| gpg --export-secret-keys --armor | split -b 1792 | |
| for i in x*; do echo $i; cat $i | qrencode -o $i.png; done |
| #!/bin/bash | |
| HADOOP_VERSION=1.0.3 | |
| HADOOP_URL=http://archive.apache.org/dist/hadoop/core/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz | |
| pushd `brew --prefix` | |
| CHECKOUT_CMD=`brew versions hadoop 2> /dev/null | grep $HADOOP_VERSION | awk -F " " '{ print $2 }'` | |
| echo $CHECKOUT_CMD... | |
| $CHECKOUT_CMD |
| #!/bin/bash | |
| source /etc/lsb-release | |
| wget http://apt.puppetlabs.com/puppetlabs-release-${DISTRIB_CODENAME}.deb | |
| dpkg -i puppetlabs-release-${DISTRIB_CODENAME}.deb | |
| apt-get update | |
| apt-get install puppet -y | |
| echo -e "START=yes\nDAEMON_OPTS=\"\"" > /etc/default/puppet | |
| service puppet start |
| install | |
| url --url http://us.archive.ubuntu.com/ubuntu/ | |
| lang en_US.UTF-8 | |
| keyboard us | |
| timezone America/Los_Angeles | |
| network --bootproto=dhcp | |
| rootpw "changeme" | |
| user thatha --fullname "Ian Atha" --password "changeme" |
| #!/bin/bash | |
| COREOS_VERSION=147.0.1 | |
| apt-get install inetutils-inetd tftpd-hpa dhcp3-server -y | |
| echo "RUN_DAEMON=\"yes\"" >> /etc/default/tftpd-hpa | |
| echo "subnet 10.0.1.0 netmask 255.255.255.0 { | |
| range 10.0.1.200 10.0.1.250; | |
| option routers 10.0.1.1; |
| #lang mzscheme | |
| (require srfi/1/list | |
| srfi/14/char-set | |
| srfi/13/string) | |
| (define ip-to-long | |
| (lambda (ip-as-string) | |
| (apply + | |
| (map * |