Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Visual Studio Code

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

A MS brading/telementry/licensing free edition named vscodium is available.

Tricks & Traps

  1. It seems that Visual Studio Code installed using snap in Kubuntu 18.10 has issues. It is suggested …

Tips on GPG

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

  1. Symmetric encryption (using passphrase).

    gpg -c file
    
  2. Decrypt a symmetric encrypted file. You will be prompt to enter your passphrase.

    gpg file.gpg
    
  3. You can use the following command to encrypt …

Tips on Docker Compose

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

Installation

docker-compose can be installed using the following command on Ubuntu.

wajig install docker-compose

And docker -compose can be installed using brew on macOS.

brew install docker-compose

Examples

version: '3'
services …

Tips on NFS

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

  1. Make sure nfs service is not blocked. Check iptables and "/etc/hosts.allow".

  2. Make sure nfs service is running on the server.

    sudo service nfs-kernel-server start

  3. You can choose the version …