Emacs config and utilities