Skip to content

Instantly share code, notes, and snippets.

View whiteley's full-sized avatar

Matt Whiteley whiteley

View GitHub Profile
ANTICLOCKWISE OPEN CIRCLE ARROW
ANTICLOCKWISE TOP SEMICIRCLE ARROW
CLOCKWISE OPEN CIRCLE ARROW
CLOCKWISE TOP SEMICIRCLE ARROW
DOWNWARDS ARROW
DOWNWARDS ARROW FROM BAR
DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW
DOWNWARDS ARROW WITH CORNER LEFTWARDS
DOWNWARDS ARROW WITH DOUBLE STROKE
DOWNWARDS ARROW WITH TIP LEFTWARDS
config.vm.provision :chef_solo do |chef|
chef.json = {
"apt" => {
"cacher_ipaddress" => "192.168.184.1"
}
}
chef.run_list = [
"recipe[apt::cacher-client]",
"recipe[apt]"
]
@whiteley
whiteley / gist:7093104
Created October 22, 2013 00:08
Work music
The Album Leaf
The Ascent of Everest
Codes in the Clouds
edIT
Explosions in the Sky
God is an Astronaut
Godspeed You! Black Emperor
If These Trees Could Talk
M83
Red Sparowes
diff --git a/server.go b/server.go
index 646cb44..33cd4ea 100644
--- a/server.go
+++ b/server.go
@@ -1247,8 +1247,8 @@ func (srv *Server) ContainerCopy(name string, resource string, out io.Writer) er
}
func NewServer(flGraphPath string, autoRestart, enableCors bool, dns ListOpts) (*Server, error) {
- if runtime.GOARCH != "amd64" {
- log.Fatalf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH)
$ /bin/init-checkconf -d /etc/init/procps.conf
DEBUG: upstart_path=/sbin/init
DEBUG: initctl_path=/sbin/initctl
DEBUG: confdir=/tmp/init-checkconf.lNM8R1C04a
DEBUG: file=/etc/init/procps.conf
DEBUG: job=procps
DEBUG: ok - no other running instances detected
DEBUG: upstart_out=/tmp/init-checkconf-upstart-output.x4d3nUnxKn
DEBUG: upstart_cmd=/sbin/init --session --no-sessions --no-startup-event --verbose --confdir /tmp/init-checkconf.lNM8R1C04a
DEBUG: Waiting for Upstart to reply over D-Bus (attempt 1)
@whiteley
whiteley / ec2-import-keypair-all-regions.sh
Created June 19, 2013 22:16
This script copies your keypair to any regions missing it based solely on the keypair name and not the fingerprint.
#!/bin/sh
set -o errexit
set -o nounset
usage() {
echo "Usage: ${0} keypair_name public_key_file"
exit 1
}
@whiteley
whiteley / script.sh
Created June 12, 2013 23:41
Example script for Vagrant provision
#!/bin/bash
"echo Hello, World"
@whiteley
whiteley / gist:5414172
Created April 18, 2013 16:35
AWS Region support for prompt
🌲:havak:~$ region us-west-1
🏄:havak:~$ region us-east-1
💥:havak:~$ region eu-west-1
🍀:havak:~$
diff --git a/autogen/configure b/autogen/configure
index 0ba9863..0e95975 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -26609,7 +26609,7 @@ case "$opsys" in
## each); under Cocoa 31 commands are required.
if test "$HAVE_NS" = "yes"; then
libs_nsgui="-framework AppKit"
- headerpad_extra=6C8
+ headerpad_extra=8C0
@whiteley
whiteley / test.preseed
Created February 20, 2013 18:11
Oz test for Ubuntu url mode
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i clock-setup/utc boolean true