Skip to content

Instantly share code, notes, and snippets.


Valerian Saliou valeriansaliou

View GitHub Profile
valeriansaliou /
Created Jan 26, 2016
Setups the route to Docker machine networking layer
# Script to instruct the Mac how to route packets to the
# software defined network where containers created via boot2docker
# reside. This lets you casually directly to ports (ssh, http, etc. etc.)
# on those containers.
function ERROR(){ echo "ERROR: $*" ; }
function FAIL(){ echo "FAILING: $*" ; exit 1; }
View crisp_email_set.js
// CRISP_READY_TRIGGER is read as a "crisp ready" callback
CRISP_READY_TRIGGER = function() {
// Set user email once crisp is ready
valeriansaliou / upgrade_gitlab
Last active Aug 29, 2015
GitLab Upgrade Scripts
View upgrade_gitlab
if [ "$1" ]; then
# Upgrade both GitLab CE + GitLab CI
upgrade_gitlab_ce "$1";
upgrade_gitlab_ci "$1";
echo "[upgrade_gitlab] Please feed me with upgrade branch (X-X-stable)"