Saturday, July 18, 2015

How To Properly Upgrade from Mint 17.1 (Rebecca) To Linux Mint 17.2 (Rafaela)

sudo apt-get update
sudo apt-get dist-upgrade
sudo cp /etc/apt/sources.list.d/official-package-repositories.list{,.bak}
sudo sed -i 's/rebecca/rafaela/g' /etc/apt/sources.list.d/official-package-repositories.list
sudo apt-get update
sudo apt-get dist-upgrade




Friday, July 17, 2015

optipng

sudo apt-get install optipng
optipng -i1 -o7 -v -full -sim pic.png

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'