Mendhak / Code

The unpleasant hackiness of CSS dark mode toggles

There are two ways that websites can offer users a choice between light and dark mode. The first makes use of pure CSS and is managed natively by the browser.…

My Kobo Customizations

I recently switched from a Kindle device to a Kobo Libra 2, and have been playing around with its customization and tweaks. These are the ones I’ve found useful so…

Wildcard certificates are not always a security risk

The common, prevailing advice given regarding TLS certificates is to avoid using wildcard certificates. That is, when securing a domain, it is considered a best practice to use a certificate…

Fun and learnings with localization on Linux

I have a simple epaper dashboard project, which displays the time, date, weather and calendar entries. Of course the format is entirely specific to English, and I had naïvely assumed…

Escaping Jekyll, and moving to Eleventy

A rite of passage exists, that after a certain amount of time spent writing on a platform, a blogger feels a need to revamp or migrate to something else. I…

Appreciating F-Droid as an app developer

I used to develop my app solely for the Play Store, until just 2 years ago when I determined that the stress of arbitrary removals had accumulated to an unsustainable…

Bringing TLS 1.3 to older Android devices

Security improvements tend to be a one way street, they are usually implemented in newer versions of operating systems, and by extension, on newer mobile devices. There is an assumption…