I hereby claim:
- I am ianunruh on github.
- I am ianunruh (https://keybase.io/ianunruh) on keybase.
- I have a public key whose fingerprint is 1FBD D5AA 1B08 7B07 323C B0A9 FB39 D5CA 4CBD 3A67
To claim this, I am signing this object:
| from pysphere import VIServer, VITask | |
| from pysphere.resources import VimService_services as VI | |
| server = VIServer() | |
| server.connect('HOST', 'USER', 'PASSWORD') | |
| vm = server.get_vm_by_name('VM_NAME') | |
| backing = VI.ns0.VirtualSerialPortPipeBackingInfo_Def('VirtualSerialPortPipeBackingInfo').pyclass() | |
| backing.Endpoint = 'PIPE_NAME' |
| #!/bin/bash | |
| apt-get install -y curl unzip | |
| mkdir -p /var/lib/consul | |
| mkdir -p /usr/share/consul | |
| mkdir -p /etc/consul/conf.d | |
| curl -OL https://dl.bintray.com/mitchellh/consul/0.3.1_linux_amd64.zip | |
| unzip 0.3.1_linux_amd64.zip | |
| mv consul /usr/local/bin/consul |
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'net/http' | |
| require 'optparse' | |
| require 'ostruct' | |
| options = OpenStruct.new | |
| options.service_name = "rabbitmq" | |
| options.port = 8500 |
| #!/bin/bash | |
| if [ "$#" -ne "2" ]; then | |
| echo "Usage: ./install-redis-instance.sh NAME PORT" | |
| exit 1 | |
| fi | |
| if [ ! -x /usr/local/bin/redis-server ]; then | |
| apt-get install -y build-essential | |
| curl -O -L http://download.redis.io/releases/redis-2.8.9.tar.gz |
| require 'redis' | |
| require 'set' | |
| class RedisTransaction | |
| def initialize(redis) | |
| @redis = redis | |
| @watch_keys = Set.new | |
| @preconditions = [] | |
| @executions = [] | |
| end |
I hereby claim:
To claim this, I am signing this object:
| ! Version 8.3.12.0 | |
| ! Last configuration change at Sat Apr 26 09:22:44 2014 by admin | |
| ! Startup-config last updated at Sat Apr 26 11:01:20 2014 by admin | |
| ! | |
| boot system stack-unit 0 primary system: A: | |
| boot system stack-unit 0 secondary system: B: | |
| boot system stack-unit 0 default system: A: | |
| ! | |
| redundancy auto-synchronize full | |
| ! |
| # Vagrant aliases | |
| alias vs="vagrant ssh" | |
| alias vu="vagrant up --no-provision" | |
| alias vp="vagrant provision" | |
| # Depends on the vagrant-vbox-snapshot plugin | |
| alias vsb="vagrant snapshot back" | |
| alias vst="vagrant snapshot take" | |
| function vr() { | |
| vagrant snapshot back $1 |
| require 'cinch' | |
| class Happening | |
| include Cinch::Plugin | |
| match /is it happening/i, :method => :happening, :use_prefix => false | |
| match /happening (.+)/, :method => :add_happening | |
| def initialize(s) | |
| super |