- Bill goes out of his way during his conversation with Dick to understand the real business impact of the payroll outage.
- IT Operations is frequently viewed as a business cost/liability rather than a valued asset, as evidenced by language used to discuss infrastructure. Steve says "IT ... should be like the toilet ... I don't ever
Scientific notation where exponents are multiples of three: https://en.wikipedia.org/wiki/Engineering_notation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gw=$1 | |
hosts=$2 | |
shift 2 | |
pssh --option ForwardAgent=yes --option StrictHostKeyChecking=no --option ProxyCommand="ssh -qW %h:%p -o StrictHostKeyChecking=no openvpnas@${gw}" --user ubuntu --hosts $hosts --print $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = 5381 | |
k = 33 | |
out = ARGF.read.each_char.inject(i) do |h, c| | |
h * k + c.ord | |
end | |
puts out |
Argument for why you shouldn't build private clouds for < 200K nodes: https://m.subbu.org/dont-build-private-clouds-9a54b3d30c8b#.hxdkjwtix
Main talk: Managing secrets in AWS w/ Hashicorp Vault
Why Vault?
- Platform independent
- Active development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aws opsworks describe-stacks | |
{ | |
"Stacks": [ | |
{ | |
"ServiceRoleArn": "arn:aws:iam::047170177871:role/aws-opsworks-service-role", | |
"StackId": "575e1389-1df3-427d-99d3-d60f89a41442", | |
"DefaultRootDeviceType": "ebs", | |
"Name": "rhenning_test", | |
"ConfigurationManager": { | |
"Version": "11.4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'netaddr' | |
require 'open-uri' | |
MAXCDN_IPS = | |
open('https://www.maxcdn.com/one/assets/ips.txt').map(&:chomp).map do |range| | |
NetAddr::CIDR.create(range).enumerate | |
end.flatten | |
puts MAXCDN_IPS.include?(ARGV.first) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKS2e39w/BrCkcxlpnTpiKY7jmHxMIpxHUp9LJByfznPmdd9Nm/LGsFqE0QvECACNE55N4hFDmm/xU9TofjPbT6D8swh20o1WijNf6qNdxfC2zLyKUaUzECzgba4pm1T7uzCUADI/+aiEEo52Hdz1gVV68dn3XIB8+Jycq4mAXcHAWr9ca2JrcUBAO/mQee54Y/a83kragbEz1HLfCepomZPqoBflqdKep3IaV2ayel3KP7uN0QquAejbiaM0Ry45PGbLw7DRva4yiZqGvlsAPokCfFkrHM52rkVteiouer85HTFcH6DIkNQsBCI5/OqNkrTuVJ8u8bbqdHk5RlgYn rhenning2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'r509' | |
csr = R509::CSR.new(csr: File.read(ARGV[0])) | |
ca_csr = R509::CSR.new( | |
subject: { | |
CN: 'www.weblinc.com', | |
O: 'WebLinc Corp', | |
C: 'US', | |
ST: 'Pennsylvania', |
NewerOlder