Ben Chuanlong Du's Blog

It is never too late to learn.

Self-hosted Runners for GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. straight forward to set up self-hosted runners following instructions

  2. No need for the machine to be publicly accessible

  3. Currently, a runner can be configured to accept only 1 repo in a …

Generating Completions Script Using crazy-complete

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many tools for generating completion scripts for shell languages (bash, zsh, fish, etc), crazy-complete is one of the best among such tools.

ldc -h | crazy-complete --input-type=help …

Tips on the Fish Shell

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips & Traps

  1. Configuration files of the fish shell are located at ~/.config/fish.

Installation & Configuration

icon makes it easy to install and configure the fish shell.

icon fish -ic

Key Bindings …