Office host unreachable - blame Docker's default subnet

ping build.corp answered Destination Host Unreachable, and the answer came from my own laptop. VPN, Wi-Fi and the office gateway were fine, the host was up for everyone else. The culprit was a Docker bridge network that a tool I had uninstalled a month ago left behind - sitting on the very /16 the office uses and swallowing every packet for it. Addresses below are changed, the mechanism is not.

read more

Ruby segfaults after an Ubuntu update - blame the new install

Yesterday everything worked. Today, after a glibc update and a fresh asdf install ruby, a tiny stdlib-only script died with [BUG] Segmentation fault at 0x0000000000000008 - arrgh! Neither glibc nor Ruby were guilty. The culprit was /usr/bin/install, which on Ubuntu 26.04 is no longer the GNU tool but the Rust rewrite from uutils - and it silently truncates files when the target is an ecryptfs home directory.

read more

Node.js & Yeoman install for dummys

If you are heading for a Node.js install into Debian /Ubuntu, you will potentially face two issues concerning a namespace collision and generators which want to install globally!

read more

Pundit rails authorisation with RSpec

Authorisation is always an issue and have to be dealt carefully. Often you start with simple home made statements like user.admin?, etc. For the TEAM ORGA application also came the time to switch from a custom solution to a solid community proofed and backed solution. First you will think about the well known CanCan gem from Ryan Bates.

read more

My 2 cents - git basic workflow

I’m not coding that often, but when the exception happens I often end up with a ‘task’ and the knowledge that there is a better way to handle the source code - but I can’t remember!

read more
CHEAT SHEETS
ELSEWHERE