added .my.cnf
factorized code in lib.sh
added some stuff from https://github.com/thoughtbot/dotfiles
added some stuff from https://github.com/mathiasbynens/dotfiles