Docker basic

Use image Create Image Mount directory Auto create Dockerfile Updated: 24.10.2022 Important commands: docker pull image-name docker run local-name image-name docker ps docker build Use image Some basic commands to start using Docker. Two things are important ie. Docker Image and Docker Container.

Read More

Mount drive

Install Mount manually Credential Auto mount Other option to mount Execute Access to folders SSH Copy file OneDrive Updated: 2022-11-05 This is only relevant to my personal reference at work. The address for drive F and N is as follow:

Read More

Ellipsis …

Updated: 2022-10-09 Just to remind me how I could use ellipsis or the three dots ... in my coding. There are three scenarios I find it useful: Function wrapper When creating a function wrapper and instead of providing all the arguments to be send further, you could just use .

Read More

Git Upstream

Updated: 24.02.2023 When you forked a repo then your copy of forked-repo in your Github profile will be referred to as origin while upstream refers to the real origin where the repo was forked from. If you cloned a repo then you will have local copy of the origin repo.

Read More

Git Worktree

Updated: 01.04.2022 Normally I created a new branch when I intent to do some changes to the master branch. But the problem is I have to stash changes when switching back and forth. To avoid this create worktree for the branches you want to work seperately.

Read More