howto

Python decorators

I finally understand Python decorators!

Continue reading →

Git submodules

Maybe the nicest explanation I’ve read so far. But then, they should know!

Continue reading →

Reflow a comment in Vim

Visually select the text then gq

Continue reading →

Getting Ofelia to work

I followed and modified the instructions here. This was much easier than trying to make do with the readme. The key insight here is that you need to leave something running in the foreground. How do I keep Docker containers running in the background? If you would like to keep your container running in detached mode, you need to run something in the foreground. An easy way to do this is to tail the /dev/null device as the CMD or ENTRYPOINT command of your Docker image.

Continue reading →

Vim tips: file name completion? (triggered with <c-x><c-f>)