Blog Posts

Installing mailtrain with dokku

Aim install mailtrain on a dokku Requirements reasonably fresh dokku host Why Although an old craft, sending and receiving e-mail is not necessarily an easy task. Many different clients shall render the result nicely and sending itself needs some special care to not end up in spam folders. There are...

Advent of code 2020

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)...

updating php for nextcloud on xenial

Notes during an update process World views Nextcloud has a speedy release cycle (and there is controversy about that), putting quite some pressure on the admins, but sparking joy with users, as the feature development has quite some momentum. Ubuntu follows a regular LTS release strategy since years. Wait for...

symbols for pads

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...

list all crontabs

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...

deploy to github.io with jekyll-github-deploy

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)...

Nice to locals: ActiveStorage might soon come with a ProxyController

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...

Operations: runbook

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...

Welcome to Jekyll II

A while ago I wanted to revamp my blog a little, add some more flavor for professionals and open it up to put some smaller tipps (“snacks”) there. The blog is realized with jekyll and after browsing some pre-made “themes” I stumbled upon Cotes Chungs chirpy. Looked nice, fancy features,...

Rails 6 and vendor sass assets

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...

Solidus I

Aim Identify solidus workflow (version 2.10!) Identify some shop and customization needs from a German Shop perspective Get used to write jekyll blog posts Requirements Linux System able to run “modern” (as of 2020) Rails tech stack tolerance: I write down as I learn capacity to forget: solidus will further...

dokku on Ubuntu VM - complete with Rails

Simple tools are beatiful This is a revised version of two earlier outdated posts of mine. (Not only) the rails community is going all excited about playing around with docker containers instead of with full-blown virtual machines. With dokku a (and there are many others) project aims to build a...

pfSense Captive Portal login/logout page

Bringing Part of the Portal into Captive Portal. or: Where I do post php code. Prerequisistes pfsense installed (version 2.2.5, looks like the story will change for 2.3) (separate) ‘intranet’ server at least one user without technical background Aims Play around and make a dedicated pfSense Captive Portal login/logout page....

Using Microsoft Edge IE VMs with kvm/libvirt

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...

dokku on Ubuntu VM - Part 2: Configure and use dokku

Outdated. Find more up-to-date version in this newer article . My notes in walking along the dokku path. With the VM setup from part I we go on and install dokku, to end up with something like in the diagram above, one day. Dokku installation Whether through the tunnel or...

The Mother of All Aliases

Sometimes I feel old. Like too old to use zsh or fish instead of bash. So, I stick to bash (well, sometimes). Anyways, following instructions probably work for zsh (oh-my-zsh) as well. I do not use aliases extensively. But when I do, I want them to be ‘just there’. I...

dokku on Ubuntu VM - Part 1: Setting up the VM

Outdated. Find more up-to-date version in this newer article . My notes in walking along the dokku path. (Not only) the rails community is going all excited about playing around with docker instead of with full-blown virtual machines. With dokku and its fork dokku-alt a (or count two and of...

Categories

assets
bash
devops
docker
dokku
intranet
jekyll
linux
pfsense
php
rails
ruby
snack
solidus
virtualization