2020-12-07 08:30:00 +0100
This year I decided to spend some time on the Advent of code. I will use my as-of-today favorite programming language, Ruby. I am not a Code golfer and my goal was strictly do get the solution while writing code that still can be explained somewhat and respect the (non-mathematical)...
2020-11-02 10:02:02 +0100
While using “Pads” (like etherpad lite, cryptpad etc.) or other poor text editors you sometimes might need symbols to indicate lists, important items, separate sections and other stuff. This is the beginning of a collection of mine. Copy and paste them as you like For technical reference: these are UTF-8...
2020-11-01 10:01:01 +0100
Often enough, we search a cron entry and are not sure which user is issuing it, or we doubt if there is a crontab entry present (or missing). In this case, outputting all manually registered crontabs can be handy: for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user...
2020-10-30 07:44:02 +0100
At github you can have jekyll generated sites for your repositories and they will be published at <whatever>.github.io. In your repositories settings you can select the branch from which the site is built or served. However for <username>.github.io pages, stuff has to be served from your master branch. jekyll-github-deploy (jgd)...
2020-10-28 11:00:00 +0100
ActiveStorage is the Ruby on Rails storage framework for “uploaded” stuff like images etc. The whole thing is a bit complicated (with signed keys for representations, polymorphic associations, cache-header support and so on), but here I will focus on a single simple implementation detail. Well engineered it was crafted as...
2020-10-26 09:00:00 +0100
From the KISS (keep it simple, stupid) universe come stubbed Semi-automation, README-based development and plain text data storage. Braintree released a framework called runbook. You can start e.g. from a ToDo-list and gradually improve until you end up with script that does whatever it should, but fully automatically. I had...
2020-06-17 13:01:25 +0200
Aim make bulma available to and customizable via the Rails assets pipeline Requirements Rails6 setup tolerance: probably we will place files where they do not belong Why In Bulma 0.9 there is a new “spacing feature” that I happen to need right now. Or a least, it would feel stupid...
2015-05-18 17:47:25 +0200
Or how to use virt-convert on a practical example. Ever wanted to check how Microsoft Internet Explorer renders stuff but no license at hand? Welcome http://dev.modern.ie, where you can download time-bombed VMs. Pretty cool service from Microsoft. Update 2020-11: a more recent URL is developer.microsoft.com/en-us/microsoft-edge/tools/vms/. Now, these machines come as...