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

Samsung refuses to update - so switch to CyanogenMod

In general I like the Samsung device, in this case a older Galaxy Tab 2 10.1 GSM (p5100) is affected, which just refuses to work with the Google+ app! And Samsung refuses to fix this, which is really annoying. So I had to switch to a custom binary like CyanogenMod, that I used already for years on other devices.

read more
CHEAT SHEETS
ELSEWHERE