Quick Tips

July 16, 2024

Create and run a mongodb docker container

docker run -d -p 27017:27017 --name [name of the container] mongo

July 16, 2024

Print directory tree on Linux

Install tree program on Debian
sudo apt install tree
Use tree command
tree /path/to/directory

July 16, 2024

Initialize go workspace

go work init ./module1/ ./module2/

November 24, 2024

Tmux command mode

Press ctrl+b followed by :

November 24, 2024

Tmux enable mouse support

setw -g mouse on