Skip to content

Instantly share code, notes, and snippets.

View faceleg's full-sized avatar

Michael Robinson faceleg

  • Auckland, New Zealand
View GitHub Profile
@faceleg
faceleg / docker_wrapper.sh
Last active August 29, 2015 14:26 — forked from iansinnott/docker_wrapper.sh
Automatically set up boot2docker on a Mac whenever `docker` is called
#!/bin/bash
# A wrapper for the docker binary. Checks to make sure the docker host is
# set before executing docker commands.
docker() {
# Start the daemon if it's not running
if [ $(boot2docker status) != 'running' ]; then
echo 'Starting the Docker daemon.'
boot2docker start
@faceleg
faceleg / sdFATLinks.js
Created July 29, 2012 20:45 — forked from seyDoggy/sdFATLinks.js
jQuery for adding Font Awesome icons to toolbar 1