In IntelliJ IDEA I get this warning message regarding the “@Autowired” field: “Field injection is not recommended”. Why?
How to use SSH public key authentication
Using SSH public key anthentication makes the SSH login process securer and easier, that you don’t need to remember the password.
From here.
CentOS Firewall: Open Port & Set IP Range
Centos reports "No package epel-release available"
SunCertPathBuilderException: unable to find valid certification path to requested target
How to know the production date of a Mac
Spring Boot Unit Test Hang Issue
When I’m writting an Spring Boot command line application and I find this issue. Here is how I solve it.
How to know the time used by curl?
The question is straightforward. The solution is from here.
How to disable auto sleep in Ubuntu 18.04
Recently I upgraded a computer from Ubuntu 16.04 to 18.04. Then I found when I closed the lid, the notebook computer would go to sleep. Here is the instructions from here how to disable the auto-sleep feature.