More functions

from https://github.com/mathiasbynens/dotfiles/blob/master/.functions