Docker Bind host directory to Docker container for dev-env Docker offers following 3 ways to store persistent data. bind mount: Host machine's folder/file is mounted into a contai... 2020.11.11 Docker
Docker Docker volume In the last post, I wrote how to run Node.js application in a docker container but it was Hello, World. application. So ... 2020.11.04 Docker
Docker Start Docker from scratch Docker is widely used but I haven't used it in my career. However, it is one of very useful softwares so it's time to le... 2020.10.28 Docker
JavaScript/TypeScript Difference between for, while, forEach, for-in and for-of A lot of languages support several ways for loop logic. Typescript supports following ways for example. whileforfor in f... 2020.10.21 JavaScript/TypeScript
JavaScript/TypeScript async/await with Promise in TypeScript Using promise makes the code much faster. This post explains the basic and advanced usage. 2020.10.14 JavaScript/TypeScript
JavaScript/TypeScript How to write unit tests for a singleton class Once a static field value changes in unit tests, the change applies to other tests because it's static. It's important to split it into two classes. One class has the main logic and the other stores the class to provide it as singleton. 2020.10.07 JavaScript/TypeScript
Other techs Start Powershell with specified execution policy without changing default How to start powershell I often starts powershell.exe from an explorer instead of command prompt because it looks better... 2020.09.30 Other techs
JavaScript/TypeScript Using spread operator for process.env I faced strange behavior when I used spread operator for process.env. In my project, our main source is Typescript but w... 2020.09.26 JavaScript/TypeScript
JavaScript/TypeScript How to write good unit tests? Unit Test makes your software better in terms of not only quality but also class structure because you need to separate ... 2020.09.23 JavaScript/TypeScript
Docker Dev Environment in Docker Container When we try something new we need to install something and then remove it if it is no longer necessary but our PC will g... 2020.09.16 Docker