danmc.net

RSS

Posts

Display Backlight Control in the Sway

This is just a quick reference for anyone setting up Sway on a laptop. By default the brightness control function keys do not work. To get them functioning, there are a couple of not-so-obvious steps required.

Building a skarnet.org s6 Init System

Per skarnet.org/software/ s6 is "skarnet.org's small and secure supervision software suite. Comes with an ultra-fast init replacement, process management tools, an asynchronous locking library, and more." After a little bit of reading and a lot of tinkering, I was able to assemble an s6 based system and learned a lot about linux userspace initialization in the process.

Using a Chroot

A chroot is an operation that changes the apparent root directory for the current process and its children. It effectively isolates the current process and its children from anything outside of the new root directory. This can be useful for running or building software in a clean environment with only the required dependencies. The resulting environment is called a chroot jail.

A week with Neovim … Meh

I tried the switch to Neovim for a week and was underwhelmed by the differences between it and Vim 8.1, but I love what a little competition has done.

gRPC Authentication with Keycloak in Go

A credentials.PerRPCCredentials implementation for authenticating with a Keycloak server to get an access token and submitting it with every RPC call.