Blog
Recursively Edit Files In-Place Using Node.js
I recently converted all my blog post titles to title-case with a little Node.js script. So, am taking the teachable bits and sharing them here.
Crocker's Rules
I stumbled upon Crocker’s Rules today. It’s funny, because I have this type of relationship with a few folks at work. It’s sort of an unspoken rule between us, and it’s nice.
Build a Search Bar for Your Hugo Blog With a JSON Index and Some Vanilla JS
Note: An improved version of this template is available at https://github.com/zwbetz-gh/hugo-client-side-search-template. It supports fuzzy searching and match highlighting.
Create a Text File in Memory Then Download It on Button Click With Vanilla JS
This solution is simple. It’s the coming up with this solution that took time. Alas, what’s new.
End-to-End (e2e) Testing Rules
e2e testing projects have gained a sad reputation over the years. They’re known to be slow, flaky, and time-consuming. Yet, it doesn’t have to be this way. Can you imagine e2e tests that are fast, reliable, and clean? It’s possible. And by following this small set of rules, you can set yourself up for success.
Total blog posts: 220