TIL: How to Fix ”Cannot Read Termcap Database” With Tmux and Kitty on MacOs

The Problem I use the Kitty terminal emulator with Tmux as my main tool for working with code. My Tmux settings (~/.tmux.conf) contain the following lines to enable true-color-support: # true colors set -g terminal-overrides ',xterm-256color:Tc' set -g default-terminal "tmux-256color" set -as terminal-overrides ',xterm*:sitm=\E[3m' When I open tmux on MacOs I get the following error message: Cannot read termcap database; using dumb terminal settings. The Solution Solution as a GitHub Gist:
Read more →

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 →

Receive Webhooks via ifttt

ifttt is a no-code/low-code tool for automation. You can chain trigger events (“if someone tweets a new tweet with the hash-tag coding”) to commands (“then send me an email”). My goal was to receive a webhook event, so that I can send an email. I create my newsletter via buttondown.email. I have a script that creates a new newsletter draft from my blog posts via GitHub actions. Everything happens automatically.
Read more →

My Git Aliases And Abbreviations

As a developer, Git is one of the essential tools in my daily work. Today I want to share my git aliases and fish abbreviations that make working with Git more comfortable. In my ~/.gitconfig file: [alias] # Git Commit, and Push — in one step. cmp = "!f() { git commit -m \"$@\"; }; f" # NEW. new = "!f() { git cmp \"📦 NEW: $@\"; }; f" # IMPROVE.
Read more →

Todo.txt: a Simple Tool to Manage Your Todo List

Todo.txt: a Simple Tool to Manage Your Todo List
I’ve been using Todo.txt as a task management tool the last few days. The main idea is to have a plain text file where you can list your tasks. There is a command-line utility that offers features to manage the todo list. Plus, applications for Android, iOS, Windows or the web exist, too. A complete primer is available on GitHub: For me, the tool proved to be a low-key way to manage my tasks that still gives me a good interface via a shell script.
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 →

Quick Tip: Unicode Characters in Kitty Terminal

Read more →

Use Jetbrains Mono in VS Code (or: Can You Adjust Line Spacing?)

VS Code is the default editor/IDE at my future day job. Today I wanted to switch the default font to the free JetBrains Mono font. The font is easy to read and it also comes with font ligatures, a feature that I love for programming. How To Use JetBrains Mono As Your Font With Recommended Settings Download the Font Find the installation instructions on the official website. For Arch Linux:
Read more →

Why Vim Works for Me

Why Vim Works for Me
In this post I’m going to share why I like Vim. I use NeoVim with Tmux which allows me to quickly open new terminal panes (spaces that don’t take up a complete window). That means I can navigate between different terminals and projects without fuss. Reasons Why I Like Vim Familiarity I’ve been using Vim as my daily driver for 2 years. I remember loving VS Code 2 years ago.
Read more →

Use Vim for C# Development on Linux

Vim Language Server Protocol support for C# If you’re an avid Vim user, you’ll likely try to use the terminal editor for everything text-related. In this post, I’ll show you how to get convenient support for C# with Vim on Linux. C# is traditionally one of those programming languages that profit from an IDE, an integrated development environment. Vim can still be a viable alternative if you need minimal features like type definitions or auto-completion.
Read more →

Sign up for the newletter!

powered by Buttondown