Skip to content

Instantly share code, notes, and snippets.

View bcaudan's full-sized avatar

Bastien Caudan bcaudan

View GitHub Profile
@bcaudan
bcaudan / docker.rb
Last active August 10, 2016 13:07 — forked from jluckyiv/docker.rb
Docker for Mac cask
# Adapted from https://github.com/caskroom/homebrew-cask/pull/20512
cask 'docker' do
version :latest
sha256 :no_check
url 'https://download.docker.com/mac/stable/Docker.dmg'
name 'Docker'
homepage 'https://docs.docker.com/docker-for-mac/'
license :gratis
@bcaudan
bcaudan / git-build
Last active January 1, 2016 23:49 — forked from dgageot/git-build
#!/bin/bash
function alert_user {
echo "${1}"
which -s growlnotify && growlnotify `basename $0` -m "${1}"
}
function exit_ko {
alert_user "${1}"; exit 1
}