Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on NeoVim

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

Installation on Ubuntu

You can install the latest stable version of neovim using the command below.

sudo add-apt-repository ppa:neovim-ppa/stable
wajig update
wajig install neovim

Tips and Traps

  1. AppImage is …

Tips on Bash Completion

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

Installation

Ubuntu / Debian

wajig install bash-completion

macOS

brew install bash-completion

If you don't like or cannot install bash-completion, bash-it provies completion scripts for many popular tools.

Develop Bash Completion

Editing PDF Files Using Stirling-PDF

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

You can try Stirling-PDF at https://stirlingpdf.io/ .

Start a Stirling-PDF Service Using Docker

The following command starts a (local) service of Stirling-PDF at the port 6000.

docker run -d \
  --name …

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 …