Skip to content

Instantly share code, notes, and snippets.

🍕

Andrew L. ajlanghorn

🍕
Block or report user

Report or block ajlanghorn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View forkbomb.py
#!/usr/bin/env python
import "os"
while True:
os.fork()
@ajlanghorn
ajlanghorn / bob-walker.rb
Last active Aug 29, 2015
spec/bob-walker.rb
View bob-walker.rb
!/usr/bin/env/ruby
loop do
puts "beard"
puts "beer"
puts "pie"
case ARGV[0]
when "-s"
puts "rugby"
puts "cricket"
@ajlanghorn
ajlanghorn / update_vbga.sh
Created Aug 26, 2014
Updating VBoxGuestAdditions between minor versions is a pain. So here's a lovely shell script... yay!!!1! (Boo!)
View update_vbga.sh
#!/bin/bash
#
# 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
View homebrew-errors
bash-3.2$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
/usr/local/etc
/usr/local/share
You can’t perform that action at this time.