View kitchen-freebsd92-portsnap.txt
This file has been truncated, but you can view the full file.
borkbork ~/devel/gh/juliandunn/freebsd (master *)$ kitchen test portsnap-freebsd-92 --destroy=never | |
-----> Starting Kitchen (v1.2.1) | |
-----> Cleaning up any prior instances of <portsnap-freebsd-92> | |
-----> Destroying <portsnap-freebsd-92>... | |
Finished destroying <portsnap-freebsd-92> (0m0.00s). | |
-----> Testing <portsnap-freebsd-92> | |
-----> Creating <portsnap-freebsd-92>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... |
View test-kitchen-generated-freebsd92-vagrantfile.txt
Vagrant.configure("2") do |c| | |
c.vm.box = "opscode-freebsd-9.2" | |
c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box" | |
c.vm.hostname = "portsnap-freebsd-92.vagrantup.com" | |
c.vm.synced_folder ".", "/vagrant", disabled: true | |
c.vm.provider :virtualbox do |p| | |
p.customize ["modifyvm", :id, "--memory", "256"] | |
end | |
end |
View default.rb
service 'true_guard' do | |
action :start | |
only_if { File.exist?('/tmp/trueguard') } | |
end | |
service 'false_guard' do | |
action :start | |
not_if { File.exist?('/tmp/falseguard') } | |
end |
View devopsdays-pgh-bad-wifi.txt
fq-guest-wireless-pittnet-150-212-95-96 ~$ ping 150.212.94.1 | |
PING 150.212.94.1 (150.212.94.1): 56 data bytes | |
Request timeout for icmp_seq 0 | |
Request timeout for icmp_seq 1 | |
64 bytes from 150.212.94.1: icmp_seq=0 ttl=255 time=2079.387 ms | |
Request timeout for icmp_seq 3 | |
64 bytes from 150.212.94.1: icmp_seq=1 ttl=255 time=3054.474 ms | |
64 bytes from 150.212.94.1: icmp_seq=2 ttl=255 time=2520.698 ms | |
64 bytes from 150.212.94.1: icmp_seq=3 ttl=255 time=1846.184 ms | |
64 bytes from 150.212.94.1: icmp_seq=4 ttl=255 time=949.714 ms |
View attributes-reused-as-guards.rb
node.default['demo'] = true | |
node.default['demoagain'] = false | |
ruby_block 'whee' do | |
block do | |
puts 'Ohai, world' | |
end | |
not_if { node['demo'] } | |
end |
View cli-uis-need-ux-too.txt
borkbork ~$ s3cmd mb jdunn-getchef-foo | |
ERROR: Parameter problem: Expecting S3 URI with just the bucket name set instead of 'jdunn-getchef-foo' | |
borkbork ~$ s3cmd mb s3://jdunn-getchef-foo | |
Bucket 's3://jdunn-getchef-foo/' created |
View exploring-rubys-object-model.rb
irb(main):001:0> Class.class | |
=> Class | |
irb(main):002:0> Class.superclass | |
=> Module | |
irb(main):003:0> Module.superclass | |
=> Object | |
irb(main):004:0> Object.superclass | |
=> BasicObject | |
irb(main):005:0> BasicObject.superclass | |
=> nil |
View default.rb
# Recipe code | |
service 'true_guard' do | |
action :start | |
only_if { File.exist?('/tmp/trueguard') } | |
end | |
service 'false_guard' do | |
action :start | |
not_if { File.exist?('/tmp/falseguard') } |
View mtr-fios.txt
Start: Mon Jul 21 20:22:01 2014 | |
HOST: borkbork.nyc.urbandecoder.n Loss% Snt Last Avg Best Wrst StDev | |
1.|-- nectar.nyc.urbandecoder.n 0.0% 25 0.9 2.1 0.8 12.7 2.9 | |
2.|-- l100.nycmny-vfttp-59.veri 0.0% 25 5.3 8.5 4.8 32.2 7.2 | |
3.|-- g0-1-3-3.nycmny-lcr-21.ve 4.0% 25 16.6 11.9 8.5 16.6 2.2 | |
4.|-- ae3-0.ny325-bb-rtr2.veriz 0.0% 25 19.9 17.7 7.2 59.9 14.9 | |
5.|-- ??? 100.0 25 0.0 0.0 0.0 0.0 0.0 | |
6.|-- 0.ae2.br3.nyc4.alter.net 0.0% 25 7.9 9.3 7.4 16.4 2.0 | |
7.|-- 204.255.168.66 0.0% 25 9.9 10.7 7.8 26.5 4.0 | |
8.|-- ??? 100.0 25 0.0 0.0 0.0 0.0 0.0 |
View get-ruby-compile-options.sh
ruby -r rbconfig -r pp -e 'pp RbConfig::CONFIG' |
OlderNewer