Add sync.sh

Modified from https://github.com/mathiasbynens/dotfiles