Ben Chuanlong Du's Blog

It is never too late to learn.

Shortcuts in macOS

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

Customize Keybindings

You can customize keybindings by editing the file ~/Library/KeyBindings/DefaultKeyBinding.dict . For example, to disable the system keybinding Alt + e and Alt + . (so that they can be used …

Async in Rust

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

  1. Minimizing usage of async Rust. Refactor coded as much as possible to be in sync functions, and have async just be little "router wrappers" for waiting on stuff and feeding it …

Common Issues and Solutions for GitHub Actions

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

Error: No space left.

Symptom: A GitHub Actions workflow fails with the error message "No space left".

Possible Solutions: 1. An Azure VM mounts an (ephemeral) disk to /mnt which is …

Use Docker Containers for GitHub Actions

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

Tips & Traps

  1. Docker container is available in Ubuntu and Windows but not macOS in GitHub Actions due to license issues. To use Docker in macOS in GitHub Actions, you have to …

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 …