Multistage build in Docker

[cvct-advance id=”3689″] Read these documentations https://drumcoder.co.uk/blog/2020/apr/24/docker-spring-boot/ https://suraj.pro/post/multi-staging/

Exceptions in a .gitignore file

You can tell Git to ignore some files or directories using a pattern. However, there are some exceptions we don’t want miss files which are matched to the pattern. In…

How to Validate Min and Max Length of Input Field using jQuery

Using minlength and maxlength attributes of HTML5, you can manage the number of characters allowed to be entered into the input fields. But if you want to show a custom…

Check listening ports with netstat

If you’re troubleshooting a service that you know is running normally, the next step is to ensure it’s listening on the correct network port. This post is going to show…

pbcopy and pbpaste with Terminal in MacOS

The MacOS shell is very powerful to let you solve all your problems without making use of graphical tools. However, I am pretty sure an awful lot of users are…

10 books to make you becoming a Deep Learning hero

In the world of Deep Learning, I am shocked to approach so much information about this field on a daily basis. It’s time to sit down and find myself. These…

Book Basic Deep Learning

Cuốn sách này được viết theo lối bình dị, mọi người chưa có kinh nghiệm về Học Sâu (Deep Learning) có thể tự mày mò và thực hành được. [Sách…

Add git branch name to bash prompt

By default, git won’t display branch name to terminal prompt. To know which branch you are in, just run git branch command. However, if you want to customise how to…

Compile and link C++ source codes and headers from terminal in MacOS

Compiling C++ source codes and headers files from Terminal in macOS is a bit painful if you don’t have any experience with compiling. What I have learned below. Create a…

Optional Parameters in Java: Common Strategies and Approaches

Recently, I have written an introduction of default arguments in C++. Now, we are aiming to work with default parameters in Java to see what are similar and different. I…