Network manager CLI

Network manager CLI (nmcli) is a command-line tool for controlling NetworkManager and reporting network status. I personally use it to connect / disconnect pre-configured VPNs Here some useful commands Assign static ip

Simple Date Format not thread safe

The java library SimpleDateFormat (java.text.SimpleDateFormat) cannot be considered thread safe and the programmer should avoid the usage in a multi thread environment. The problem is based on the way it’s implemented To fix the problem there are 3 main ways: To create a new instance of SimpleDateFormat for each usage Read more…