Markdown posts by word count in bash

I wanted to quickly overview the word count on my blog posts to roughly calculate the possible translation count and here's a one-liner I have come up with: find . -maxdepth 1 -type f -name "*.md" -exec printf "{} " \; -exec ~/.local/bin/mwc {} \; | awk '…

On federated code hosting

I have written a little about the possibility of Single-Sign-On (SSO) for Gitea getting closer to being a reality. Today I have stumbled upon a relatively different approach that I have found interesting: federated code hosting. While still in the draft phase, the concept seems r…

Smarter global search for vim and fzf

The first jab I have received yesterday removed most of my productivity today as I was shackled to the bed up until the very evening. Here are two more improvements for my vim fzf series described most recently in the previous post and some other posts mentioned there, tracking m…

Smart global search for vim and fzf

In the previous post I have outlined that there are some benefits to having a fzf command search everywhere in the home folder, instead of just current working directory. Following the setup there enables for yanking and pasting lines from the files stored in distant places (in t…

Global search for vim and fzf

This post is a continuation of both my previous post about vim mnemonics and an another my post about Syncting(ing) the entire phone. I have found the combined result of both setups loosely described in those posts to be an unexpected symbiosis that works very well for editing my…

Cheatsheet: acme.sh DNS mode

Here's a compilation of useful commands that use a DNS-01 challenge to issue a certificate using acme.sh client. Issue a certificate using an automatic DNS API mode with GoDaddy: acme.sh --issue --dns gnd_gd --domain example.com Issue a wildcard certificate (denoted by an aste…

A story about NFC on my ThinkPad T470

A day before I have been experimenting with the GnuPG keycard and found out it is working well with the smart card reader on my trusty T470. The card I have ordered comes with the Mifare DESFire EV1 compatible RFID/NFC chip inside. Very plainly, NFC is the RFID with encrypted com…