Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Wezterm

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

Installation

Follow https://wezfurlong.org/wezterm/install/linux.html#__tabbed_1_3 to install Wezterm on Debian/Ubuntu series of Linux distributions.

Wezterm CLI

https://wezterm.org/cli/general.html

Split Panels

https …

Managing Fedora Atomic Core System Using rpm-ostree

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

Fedora Atomic Linux ditributions use rpm-ostree to install system tools.

Upgrade

sudo ostree admin pin 0
rpm-ostree rebase
rpm-ostree rebase fedora:fedora/43/x86_64/kinoite

Install VirtualBox Guest Additions

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

Atomic Linux Distributions

Fedora Atomic Linux Distributions

Open your terminal and run the following command to layer the package.

rpm-ostree install virtualbox-guest-additions

If you receive an error stating the package is …

Enable and Disable Key Repeating in macOS

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

  1. Run the following command in terminal and then restart your Mac to enable key repeating by pressing and holding.

    defaults write -g ApplePressAndHoldEnabled -bool false
    
  2. Run the following command in terminal …

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 …