Blog:
Subscribe (RSS)Replace content in files with ripgrep
Spoiler: ripgrep cannot do this standalone. But you can combine it with other tools to achieve this. The problem I use Obsidian with frontmatter (YAML) to track my journal along with some statistics. …
Read moreMore posts
Welcome RedHat to the game of ... well, business going crazy
RedHat is forcing clones to rework their operational model (and maybe breaking their promise) .
The community is not liking the decision. Take this for example: …
Read more →
A not so obvious reason for an auth error with SSH
Problem You try to stay to secure. Say what? Yes, too secure. If you work for different customers and you are like me you might not want to use the same key for …
Read more →
Running brave on Linux
Running the brave browser on Linux On some Linux systems the brave browser starts with an error stating Unsupported command-line flag: –no-sandbox. The browser …
Read more →
PyCharm an i3
i3 and PyCharm: the uglyness that is the splash screen I am running i3 on my machine. It makes me (maybe subjectively) more productive than something like KDE …
Read more →
Using dash as /usr/bin/sh? - think twice
You will find some advices to use another shell than bash as /usr/bin/sh (or /bin/sh). One of the major reasons why this is proposes is speed. While bash is a …
Read more →
Locking and unlocking your desktop with an USB device
Goal I recently ordered a Yubikey to secure some of my accounts. When it arrived and the key was linked to the desired accounts I started to look into using the …
Read more →
A docker firewalld with CoreDNS story
I started to use firewalld to secure my system. When I fired up a container and wanted to access the internet I got name resolution errors. You could go for …
Read more →
Open a port for an IP range
Using firewalld this is a so called rich rule. To open the ssh port for 192.168.1.0/24 you have to do like this:
firewall-cmd --permanent --zone=home …
Read more →
Install Go Versioned
This script extends the previous one by installing GO into a version directory and having the environment variables point to a current link
#! /usr/bin/env bash …
Read more →
Build Git Overhaul
I wrote a post about [building git]({{ ref “build-git.md” }}) a while back. Since then I have added some additional features such as installing …
Read more →
tmpfiles.d - or why are my temp files in /tmp gone?
In later Ubuntu versions tmpfile.d is used to keep /tmp clean. That is, after a reboot, your files you placed in there are vanished. Kind of a bummer when you …
Read more →
How to repair your multi file VMWare disk
Recently I deleted a snapshort from my virtual machine and I got a message that the virtual disk needs repair. The site Repairing a virtual disk in Workstation …
Read more →
How to change your SSH key password
From time to time you should change your password. Everyone knows. For your SSH key this is as simple as changing your Linux login password:
ssh-keygen -p -f …
Read more →
Arch Keyring
Problem When I wanted to upgrade my ArchLinux installation I got an error about a failed lookup for a key:
error: key "<KEY ID>" could not be …
Read more →
Install Personal Golang
Problem I wanted to set up a Golang environment on a Linux machine and do it repeatedly
Solution I created a bash script that downloads Golang and creates a …
Read more →
Compile Mutt
I am using mutt as my mail reader and I like to have a rather new version than the one included in LTS linux releases.
Therefore I am compiling my mutt version. …
Read more →
Arch Linux: zita-resampler 1.6.0-2 update
The problem On update pacman errors about existing file /usr/lib/libzita-resampler.so.1. ldconfig created a symlink that should have been installed with 1.6.0-1 …
Read more →
Build Git
My problem I want to have an up to date git on my Linux system ( currently KDE neon )
My solution I wrote a little script installing the prerequisites, …
Read more →
Installing elixir - a quickie
This is a short script to install elixir (done this on a Ubuntu 16.04 based distribution) with a fish shell:
wget …
Read more →
Virtualbox
I recently installed a new Linux machine for a colleague. He used Virtualbox and I wanted to install it for him on his new machine, too.
The obvious way would …
Read more →
No network time protocol
My problem My machine was off by two hours after a restart even though /etc/timezone pointed to the correct timezone.
A temporary solution was to execute the …
Read more →
Contagion R.A.T.7 mouse on Linux
I like using the Contagion R.A.T.7 mouse and to use it with Linux you must configure the mouse correctly in terms of buttons.
Essentially there are buttons (the …
Read more →
chntpw to the rescue
My problem I got a Windows 8.1 PC and wanted to reset the password for local administrator account. A reset was not successful so I switched to using a Linux …
Read more →