Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on "sed"

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

It is suggested that you use Python script as an alternative to sed for manipulating text files unless you have to stick to shell script.

  1. Add #!/bin/bash to the first …

Tips on Virtualbox

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

sudo mount -t vboxsf -o uid=$(whoami),gid=$(whoami),fmask=177,dmask=077
  1. If the graphics resolution is not correct and you cannot see the whole desktop when installing a Linux …

Visual Studio Code Server

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

Advanced Tips

--link (beta) Securely bind code-server via Coder Cloud with the passed name. You'll get a URL like https://myname.coder-cloud.com at which you can easily access your code-server …

Hadoop Filesystem Tips

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

Tips and Traps

  1. It is suggested that you never use the -skipTrash option unless you are absolutely aware of what you are doing. I made mistakes a couple of times in …