GnuPG is a powerful cryptographic tool that enjoys widespread support by F/LOSS mail user agents. However, due to a lack of conventional public key management it is plagued by key-related issues. One such issue is the expiry of GnuPG keys, which often goes unnoticed by affected messaging partners until such time when it actually disturbs […]
Artikel in Kategorie "Technik"
Installing r10k on a Foreman Server
4. August 2024 in Administration, GNU/Linux.
The following occurred to me on a recent version of Foreman (i used 3.9) on a recent version of Red Hat, Alma or Rocky Linux 8 (i used 8.9). I wanted to use r10k for management of Puppet environments. When i attempted installation of r10k /opt/puppetlabs/puppet/bin/gem install r10k i got the following error /opt/puppetlabs/puppet/bin/gem install […]
Redirect PulseAudio/PipeWire over TCP/IP network
8. Oktober 2023 in Administration, GNU/Linux, Multimedia, Technik.
If you have two Linux hosts, host1 and host2, both running PulseAudio (or Pipewire with PulseAudio backwards compatibility) and you want host2 to use the speakers on host1, then you can use a PulseAudio TCP server on host1 and a „tunnel sink“ on host2 to do that.
WordPress Plugin to embed Gitea Repositories
29. September 2023 in Administration, GNU/Linux, Programmierung, Technik.
I ported the WordPress plugin providing shortcodes for embedding Gitlab projects into posts and pages to a Gitea version. Below is a usage example, displaying the latest 3 commits and the latest release (if any) from repository „linuxfoo-gitea“ on my Gitea instance: Gitea project linuxfoo-giteaLast 3 commits: by root: 35962433 correct json pat to commit […]
PiKVM on an OrangePi Zero 2
3. November 2023 in Administration, GNU/Linux, Technik.
The OrangePi Zero 2 H616/1GByte is capable of running PiKVM. I find this an interesting development, because if i only want the KVM functionality, a full-blown Raspberry Pi 4 with all its CPU resources, multiple Gigabytes of RAM and peripheral devices seems somewhat of an overkill. I am aware that the latest official PiKVM, the […]
Print all indented Lines following a non-indented Line
29. April 2024 in GNU/Linux, Programmierung.
Some configuration and output text formats contain sections like the following: foo: value1 value2 bar: value 3 In this article, two scripts are presented that print all consecutive indented lines that follow a non-indented line that matches a search pattern given by a regular expression. This means, given the single argument foo and the standard […]
A simple GUI for basic Package Management with Apt
29. Januar 2024 in Administration, GNU/Linux, Programmierung, Technik.
The tool presented here, „Simple Apt Update“ (simple-apt-update) is nothing more than a front-end to the non-interactive execution of apt-get update|full-upgrade and apt list –upgradeable. It can look like this:
Maintaining Multi-Line „stat“ Formats using Bourne Again Shell
20. August 2023 in GNU/Linux, Programmierung.
The stat command from GNU core utilities features not only a –format FORMAT option but also a –printf FORMAT one, the difference being that the latter allows for backslash escapes such as \n. This allows for custom per-file report formats containing newlines, for example: stat –printf ‚Name: %n\nSize: %s Bytes\n‘ /etc/passwd If the format string […]