★ SSH plus tmux automatically

One of the most classic sysadmin/DevOps tasks is to use secure shell to connect to remote machines. To persist those connections, a terminal multiplexer is often used, tmux and screen being the two most popular ones. In this post I will cover a few different client-side and server-side ways to have ssh automatically spawn tmux upon connection. ...

February 13, 2022 · 624 words · Thiago Perrotta

★ systemd: share environment variables with xorg

In this post we will learn how to share environment variables (e.g. $GDK_SCALE) between a system user session and X11/Xorg. ...

January 31, 2022 · 620 words · Thiago Perrotta

★ Watch files and react to changes during development

This post describes some tooling usages to watch for file changes and run or reload a command whenever they happen. ...

January 30, 2022 · 511 words · Thiago Perrotta

★ Advent of Code

Last year I found out about Advent of Code. ...

January 28, 2022 · 1166 words · Thiago Perrotta

★ Alpine Linux: New APKBUILD Workflow

This document describes my workflow to manage APKBUILDs for the aports repository in Alpine Linux. ...

January 23, 2022 · 983 words · Thiago Perrotta

★ Arch Linux: New PKGBUILD Workflow

This document describes my workflow to manage PKGBUILDs for the AUR (Arch User Repository) in Arch Linux. ...

January 18, 2022 · 1179 words · Thiago Perrotta

★ Alpine Linux on Raspberry Pi: Diskless Mode with persistent storage

Use case: Given an Alpine Linux diskless1 installation meant for a Raspberry Pi setup, we would like to add a persistent storage component to it to make it survive across reboots. ...

January 15, 2022 · 1596 words · Thiago Perrotta

★ Keychron K2: Review

This is a follow-up post of Keychron K2: Linux Setup. The previous post focused on the configuration of the keyboard, this one focuses on its user experience from the point of view of a Software Engineer. ...

January 12, 2022 · 1200 words · Thiago Perrotta

★ My First APKBUILD

In the same spirit of my first PKGBUILD and Ebuild, herein I will describe my first APKBUILD. ...

January 7, 2022 · 1181 words · Thiago Perrotta

★ Alpine Linux: apk command not found hook

In this post we will learn how to define a command-not-found hook to the apk(8) package manager in Alpine Linux. Sneak peek Before: $ podman zsh: correct 'podman' to 'pod2man' [nyae]? n zsh: command not found: podman After: $ podman zsh: correct 'podman' to 'pod2man' [nyae]? n podman may be found in the following packages: <cmd:podman> podman-3.4.4-r1 x86_64 {podman} (Apache-2.0) ...

January 4, 2022 · 779 words · Thiago Perrotta