Skip to content

Instantly share code, notes, and snippets.

View MiguelAlcaino's full-sized avatar

Miguel Alcaino MiguelAlcaino

View GitHub Profile
##########################################
# To run:
# curl -sSL https://gist.githubusercontent.com/andrewelkins/1adc587feb610f586f8f40b50b7efc3a/raw/e8f87e9fd3db56b4b226587e2456611593cdff07/install-docker-on-linux-mint-18.sh | bash -x
##########################################
# Kernel version http://stackoverflow.com/a/4024263
versionlte() {
[ "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ]
}
versionlt() {