How to Install Docker Compose v2 on Linux (2021)

In the video Docker Compose v2: What’s New in 2021: DevOps and Docker Live Show (Ep 126) Bret Fisher introduces compose v2. compose is an instrument for running multiple docker containers on your local machine. I use it often to spin up a database container and a separate application container. compose v2, a plugin for docker, is written from the ground up in Go and integrates better with existing tools.
Read more →

The Terminal Sparks Joy

The Terminal Sparks Joy
Today I realized that using tools like the terminal, Vim or Tmux “spark joy” for me. The term comes from Marie Kondo’s bestselling book about tidying up. It loosely translates from original Japanese to ”the feeling of excitement and pleasure”. I thoroughly enjoy using Unix and its tools. For me, it’s like a mini game where I can always learn something new and feel more productive. For example, you can be productive with Vim after a few days.
Read more →

Fake Webcam Background for Arch Linux With Docker (Using akvcam)

Fake Webcam Background for Arch Linux With Docker (Using akvcam)
Fake virtual backgrounds for your online meeting on Linux I’ve been attending a lot of video conference calls lately — like so many of us. Others had nice-looking virtual backgrounds. But there was no option to create those backgrounds on my Linux machine. For example, the Zoom version for Linux only allows me to “touch up my appearance”. But there is no option to set a virtual background.
Read more →

TIL: How to Watch YouTube Videos With mpv and Keyboard Shortcuts

Distraction-free YouTube (and other videos) on your computer The free YouTube version has ads and suggestions what to watch. Those try to keep the user on YouTube’s website. Tons of useful videos exist. If you’re like me, you’ll soon fall into the rabbit hole and spend too much time on YouTube. Today I learned how to use a distraction-free method of watching YouTube with mpv and (optionally) Vimium.
Read more →

How to Restart Systemd (Strongswan VPN) Service After Suspend

I’m running a VPN service via systemd on my machine. The service provides a systemd script for me. I can query the service with the standard commands, for example: sudo systemctl status strongswan.service This works fine, except when the computer went to sleep (suspend or hibernate). My machine also stops the wi-fi connection on sleep. When I wake up the machine, the wi-fi connection automatically starts again. My VPN service does not resume.
Read more →

TIL: How to Replace Backslashes (grep, sed, ripgrep, sd, ruplacer)

Today I needed to remove backslashes from a number of files. I have yaml frontmatter that should look like this: tags: - React.js - JavaScript I had some files that had backslashes before the dash: tags: \- React.js \- JavaScript You can use Unix tools like grep or sed to search all files that match a pattern. Then you can replace that pattern. But you have to remember that a backslash is a special character.
Read more →

Friday Picks 079

Read more →

Friday Picks 076

Read more →

Friday Picks 072

Read more →

Fan Speed Control on Manjaro Linux With Nbfc

I have an Acer Nitro 5 notebook with two fans that I can’t control directly. But sometimes I want to manually control the fan speed: set them up to 100% for a short time, or slow them down to avoid noise. On Arch Linux (or Manjaro Linux) there are some tools that can help with that. (For more information, refer to the Arch Linux wiki.) One of options for fan speed control is nbfc, a cross-platform service for notebooks.
Read more →

Sign up for the newletter!

powered by Buttondown