Ben Chuanlong Du's Blog

It is never too late to learn.

Traveling Without Hassle

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

General Tips

  1. Have a good rest (especially the night) before long trips (especially road trips) .

  2. Check Google map and get familiar about the route for road trips.

Travel to US with …

Tips on "sed"

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

Alternatives

  1. sad is a simpler alternative to sed. sad is implemented in Rust and has built-in integration of fzf, which makes it easy to visually inspect changes.

  2. For complicated text substitutions …

Vim Keybindings in Firefox Using Tridactyl

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

:mode ignore: temporarily disables Tridactyl on a page. ctrl + alt + esc: toggle ignore on/off on Mac ctrl/cmd + g: next search result shift + ctrl/cmd + g: previous search result

Tricks …

Tips on npm

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

Project Management Using npm

  1. Initiate a project.
    npm init
    

yarn global add @vue/cli @vue/cli-service-global npm install -g @vue/cli @vue/cli-service-global

npm run tauri:serve

sudo

  1. Avoid using sudo …