I hereby claim:
- I am bhouse on github.
- I am bhousezendesk (https://keybase.io/bhousezendesk) on keybase.
- I have a public key whose fingerprint is 8D97 8A17 8249 A29F 451D 7F0B 01C9 A9C7 2950 88DB
To claim this, I am signing this object:
➜ ~ git clone git://github.com/blueboxgroup/razor-vagrant-lab.git 2357 | |
Cloning into 'razor-vagrant-lab'... | |
remote: Counting objects: 257, done. | |
remote: Compressing objects: 100% (120/120), done. | |
remote: Total 257 (delta 137), reused 231 (delta 111) | |
Receiving objects: 100% (257/257), 36.79 KiB, done. | |
Resolving deltas: 100% (137/137), done. | |
➜ ~ cd razor-vagrant-lab 2359 | |
direnv: loading ~/razor-vagrant-lab/.envrc | |
➜ razor-vagrant-lab git:(master) VBoxManage dhcpserver remove --netname vboxnet0 2360 |
➜ datadog berks -v | |
Berkshelf (1.3.1) | |
Author:: Jamie Winsor (<[email protected]>) | |
Author:: Josiah Kiehl (<[email protected]>) | |
Author:: Michael Ivey (<[email protected]>) | |
Author:: Justin Campbell (<[email protected]>) | |
Copyright 2012 Riot Games |
def ec2 | |
Fog::Compute.new(:provider => 'AWS', | |
:aws_secret_access_key => ENV['EC2_SECRET_KEY'], | |
:aws_access_key_id => ENV['EC2_ACCESS_KEY']) | |
end | |
def tenured? (instance) | |
instance.created_at && (instance.created_at < Chronic.parse('50 minutes ago')) | |
end |
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "test template for zdops workshop", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance", | |
"Type" : "String" | |
} |
bhouse@admin1:~$ diff -u push-warm-spare{,.new} | |
--- push-warm-spare 2014-12-03 18:02:14.894289218 +0000 | |
+++ push-warm-spare.new 2014-12-03 18:01:07.985219963 +0000 | |
@@ -1,4 +1,4 @@ | |
-#!/bin/sh -e | |
+#!/bin/sh -exv | |
date | |
@@ -25,7 +25,7 @@ |
pkg_path = '/vagrant/hello_world.py' | |
# we use a trick here to make the configuration change with | |
# the contents of the file, for simplicity. in a normal setting, packages would be | |
# versioned, and the version number would be changed in the configuration. | |
import hashlib | |
with open(pkg_path, 'rb') as f: | |
pkg_checksum = hashlib.md5(f.read()).hexdigest() | |
# copy hello_world.py into the local sandbox |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'aws-sdk' | |
ec2 = Aws::EC2::Client.new(region: 'us-west-1') | |
volumes = ec2.describe_volumes.volumes | |
volume_sizes = {} | |
volumes.each do |vol| |
I hereby claim:
To claim this, I am signing this object: