Roger Steve Ruiz is a software engineer.

Writing.

Sometimes my notebooks end up memorialized here.

devex programming
20 Feb 2024 15 min read

Data classes in Python

Using Data Classes in Python is a super convenient way to represent data & properties assigned to a class. It saves you from having to implement your own special methods like __init__ & makes managing the class a breeze when requirements change for how the underlying data is represented.

hugo learning
19 Feb 2024 6 min read

Table of Contents for your Hugo pages

Setting up table of contents sections in Hugo pages can be as complicated as you’d like. Let’s breakdown how I use it to hopefully inspire you to experiment with this useful feature.

devex learning nix
01 Feb 2024 9 min read

Using Nix with Exercism

Want to get really good at programming? Use Exercism. Want to get really good while using your own personal development environment? Use Nix. I’ll show you how to manage each Exercism track using Nix Shells. I hope it inspires you to try out Nix when using Exercism.

devex hugo learning
26 Jan 2024 7 min read

Labeling Code Blocks in Hugo

Using code blocks in Hugo is helpful when you’ve got to show some code in your posts. But labeling & highlighing them beyond the syntax highlighting helps the experience of your readers immensely.

devex mac nix
23 Jan 2024 8 min read

Using TouchID with Tmux

As I transition my dotfiles configurations over to Nix away from Homebrew & Chezmoi, I found myself elevating my priviledges a lot more than usual. Having to type my password so much lead me to question my life choices and how I can improve things for myself. In my research, I learned about using TouchID for Sudo, but quickly found that it didn’t work in Tmux.

automation devex mac nix programming
19 Jan 2024 11 min read

Using launchd to keep up appearances

I’ve covered how to automate appearances in macOS before using the Defaults CLI to check for values in the user defaults system. While this works well, I’ll show you how you can use launchd to automate things while using Nix Darwin to manage the functionality without having to write any XML.