Archive

mundus senescit

CSS tips to avoid Javascript

coding css

Recently I’ve been building a few web sites without JavaScript where possible, relying instead on modern browser support for CSS.

Here are some things I’ve figured out, including toggling the NavBar burger dropdown, smooth scrolling, showing and hiding modal dialogs with transitions!

Continue reading...

Static domain name resolution for Kubernetes pods

guide kubernetes

I recently needed to setup a Kubernetes cluster without an external DNS and without Internet access. In the old days, static IPs could be mapped to FQDNs by creating entries in the hosts file, but that won’t work with Kubernetes. With Internet access, the typical solution would be to use a wildcard DNS like xip.io or nip.io. Instead, the workaround is by hardcoding the mapping in the CoreDNS configuration.

Continue reading...

Shortcuts on iPhone home screen

guide ios shortcuts

Here’s how I “changed” an app’s home screen icon on iPhone. I’m so OCD that I want my home screen dock icons (the tray at the bottom) to be all of the same colour! Actually, changing an icon is not possible, but creating a new shortcut with an icon of my choice is!

Continue reading...

Fixing Windows 10 100% disk by stopping SysMain

fix windows

I just spent hours trying to figure out and fix a Windows 10 machine that was taking 100% disk, 100% RAM and about 50% CPU with absolutely nothing running. Of course, I initially blamed the user... then, a misbehaving (hidden, background) app... then, malware / virus... the, a runaway Windows Defender... then, a hard disk / hardware failure... but ultimately discovering the culprit is - drum roll - Microsoft Windows itself! As usual!

Continue reading...