Latest

One small part per post: a probe, a daily job, a trick, a trap that cost an afternoon.

All posts

A favicon that follows dark mode, from a PNG logo

My logo is a black letter. In a dark browser tab it vanished. An SVG favicon can carry its own stylesheet and switch colour with the system theme. Tracing the PNG, the five files a Next.js app needs, and the fallbacks for the browsers that ignore all of it.

Christian Drexler

A Google Nest Hub and a Google Pixel Tablet as touch panels

The Google Nest Hub on my desk now runs my office lights and the docked Google Pixel Tablet in the bedroom shows a big clock with AC and hot water buttons. No Home Assistant and no app. The screens show a page from my own network through Google Cast, and taps go through to it. Below: how it works, the double tap, the page that would not reload, and why it all runs on an old Raspberry Pi.

Christian Drexler

Turning an old Mac into a permanent worker

An older MacBook does fine as an always-on machine for scheduled jobs and builds, if you stop it from sleeping, let it log itself in, and leave it alone. The handful of settings that matter and what to re-check after every macOS update.

Christian Drexler

How DevOps works here, with one part-time engineer

A small company with no ops department, a dozen moving parts and a founder who used to fix servers at 3 am. What changed: one part-time DevOps engineer, working async, and a repo that is the only place work is handed over.

Christian Drexler