Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

Tips on JavaScript

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

The State of Frontend in 2022 has a good discussion about the state and trend of frontend technologies as of 2022.

JavaScript Runtimes

  1. Node.js is a JavaScript runtime environment outside …

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 …