nc – netcat

The nc (or netcat) utility is used for just about anything under the sun involving TCP, UDP, or UNIX-domain sockets. It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6. Unlike telnet(1), ncscripts nicely, and Read more…

Deck usage

Deck is a program that helps to upload and sync different kong configuration via command line Install Curl installation. Edit properly the version tag. Make sure that the machine you install deck reaches correctly kong server Usage Installation check Dump kong configuration In the same directory will be created a Read more…

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…