nginx: useful basic authbasic auth doesn't get the love it deserves. sure, it's not as fancy as other authentication models out there, it's basic auth, after all. but if you want to stand up some fast authentication to limit your staging site to the dev team or restrict api...Aug 13, 2025 · 13 min readgbhorwood.hashnode.dev
php: manipulating file pointers with fseek and ftellphp developers generally don't put a lot of thought into reading files from disk. we usually just call file or file_get_contents or similar, shovel the whole thing into ram, and then fight with the resulting array or string. if we want to do simple t...Jul 23, 2025 · 10 min readgbhorwood.hashnode.dev
php: writing command-line applications with macrame. pt 2in this series, we've been looking at how to write command line applications in php using macrame. in the previous installment, we covered the basic structure of macrame scripts, getting user input both as text and from interactive menus, parsing com...Feb 20, 2025 · 13 min readgbhorwood.hashnode.dev
php: writing command-line applications with macrame. pt 1php doesn't get a lot of attention as a command line scripting language. which is a shame, since php has a lot of features that make it a good choice for writing terminal apps. in this series, we'll be going over writing interactive command line scri...Feb 20, 2025 · 12 min readgbhorwood.hashnode.dev
vim: five tips to become a more mediocre vim useri am a mediocre vim user. sure, i've been using vim for over twenty years, have handcrafted a custom vimrc, and even written a syntax file, but for my day-to-day usage, my skills are resoundingly and undeniably mediocre. this is a good place to be. p...Sep 30, 2024 · 7 min readgbhorwood.hashnode.dev