I hereby claim:
- I am micahhausler on github.
- I am micahhausler (https://keybase.io/micahhausler) on keybase.
- I have a public key whose fingerprint is 7151 8EA6 23DA 1ABE 1D54 F693 D5EC 627D 9DCE 5FEB
To claim this, I am signing this object:
history -w /dev/stdout | grep -o "^git [a-zA-Z]*\( -\{1,2\}\([a-zA-Z]\)*\)*" | sort | uniq -c | sort -rg |
# -*- mode: ruby -*- | |
# # vi: set ft=ruby : | |
require 'fileutils' | |
Vagrant.require_version ">= 1.6.0" | |
CLOUD_CONFIG_PATH = File.join(File.dirname(__FILE__), "user-data") | |
CONFIG = File.join(File.dirname(__FILE__), "config.rb") |
etcdctl mkdir services/web/cust1/ | |
etcdctl mkdir services/web/cust2/ | |
etcdctl set services/web/cust1/1 '{"ip": "10.0.0.1"}' | |
etcdctl set services/web/cust1/2 '{"ip": "10.0.0.2"}' | |
etcdctl set services/web/cust2/1 '{"ip": "10.0.0.3"}' | |
etcdctl set services/web/cust2/2 '{"ip": "10.0.0.4"}' |
# Shared Volume | |
FROM busybox:buildroot-2014.02 | |
MAINTAINER micah hausler, micah.hausler@ambition.com | |
VOLUME /data | |
CMD ["/bin/sh"] |
#!/usr/bin/env python | |
# Copyright (C) Micah Hausler, 2014 | |
# Using MIT License <http://opensource.org/licenses/MIT> | |
# | |
__doc__ = """ | |
This is a quick hack to download all your python packages from Gemfury. | |
$ virtualenv venv | |
$ source ./venv/bin/activate |
from setuptools import setup | |
import sys | |
if 'sdist' in sys.argv and sys.version_info < (2, 7, 9, 'final', 0): | |
import os | |
del os.link | |
setup( | |
# ... | |
) |
# If you are running more than one instances of graylog2-server you have to select one of these | |
# instances as master. The master will perform some periodical tasks that non-masters won't perform. | |
is_master = true | |
# The auto-generated node ID will be stored in this file and read after restarts. It is a good idea | |
# to use an absolute file path here if you are starting graylog2-server from init scripts or similar. | |
node_id_file = /etc/graylog/server/node-id | |
# You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters. | |
# Generate one by using for example: pwgen -N 1 -s 96 |
$ brew update && brew install docker docker-machine | |
... | |
$ docker-machine --version | |
docker-machine version 0.4.1 (HEAD) | |
$ docker-machine upgrade dev | |
Stopping machine to do the upgrade... | |
Upgrading machine dev... | |
Downloading https://github.com/boot2docker/boot2docker/releases/download/v1.8.2/boot2docker.iso to /Users/micahhausler/.docker/machine/cache/boot2docker.iso... | |
Starting machine back up... |
docker-clean(){ | |
EXITED=$(docker ps -f status=exited -q) | |
if [ -n "$EXITED" ]; then | |
docker rm $EXITED | |
fi | |
DANGLING=$(docker images -f dangling=true -q) | |
if [ -n "$DANGLING" ]; then | |
docker rmi $DANGLING | |
fi | |
} |
I hereby claim:
To claim this, I am signing this object: