Category: Tech

Git: Simplistic Submodules

My use of submodules in git repos tends towards the simple. This tip illustrates using other Git repositories as submodules in the use case where we intend to be a mere consumer of the other project within ours. It’s a common pattern utilized by web themes and vim/Neovim scripts.

Continue reading (600 words)...

Script: Bind Hugo to external net

Problem: You need to run Hugo in “watch” mode during development but rather than bind to the default localhost:1313 you need to bind Hugo to an externally visible IP address - which for those of us not chained to one work location may change frequently. An externally accessible IP is particularly helpful for virtual machine users that may need to test browsers available on other real or virtual machines.

Continue reading (300 words)...