git

More versions of this blog!!!

Someone asked for for a plain text version trying to meme me so I am making plain text and html exports available. I can do this because the blog is all a single org mode file which I can just export with this bash command provided things are installed and because git hooks are amazing. You also need a package called htmlize for emacs on melpa which was annoying to get working.

Git Hooks

Git has a nutty amount of features so one feature I was completely unaware of but really found useful is Git Hooks. They are simply executable which are executed at certain points in the git workflow. Git hooks can either be client side or server side and both are interesting in what they can do. The location of said git hooks are in .git/hooks and come with some examples. As of right now I setup a git hook for my server to automatically deploy this blog.