Skip to content

Instantly share code, notes, and snippets.


Andrew L. ajlanghorn

View GitHub Profile
View homebrew-errors
bash-3.2$ ruby -e "$(curl -fsSL"
==> This script will install:
==> The following directories will be made group writable:
ajlanghorn /
Created Aug 26, 2014
Updating VBoxGuestAdditions between minor versions is a pain. So here's a lovely shell script... yay!!!1! (Boo!)
# Upgrade VirtualBox Guest Additions
# This script removes VirtualBox Guest Additions v4.2.6 from the mirror
# machines when brought up using Vagrant, and installs v4.3.6 instead. This
# makes the version of VirtualBox being used in this repository the same as
# is used in the off-site backup and main Puppet repositories.
set -ex
ajlanghorn / bob-walker.rb
Last active Aug 29, 2015
View bob-walker.rb
loop do
puts "beard"
puts "beer"
puts "pie"
case ARGV[0]
when "-s"
puts "rugby"
puts "cricket"
#!/usr/bin/env python
import "os"
while True: