Bash
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
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
Here a simple guide to convert any rtsp stream to a virtual device that you can use inside your favourite video chat. Check your stream Firstly check your input stream that is working correctly A simple method could be using “VLC”, media, open network stream Create a new video device Read more…
The aim of this experiment is to compare the languages that I daily use with Rust to understand better its potential. I build the same webserver in four languages (php, node, java and rust) and I exposed 3 apis: “/” that replies with a json payload “/html” that replies with Read more…
It happens that you are connected via shell to a remote server and you don’t have your “normal” working tool. Here a couple of command to unpack / repack a war file via command line using only “unzip” and “zip” linux programs.
Here a simple approch to serve static content using a node.js server. It allows any origins The intent is for DEV purposes, is not a prod ready snippet
If you would like to test an endpoint ab is a good program to use it ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests Read more…
A simple script to log the docker console log in a file name “out.log” using the docker name
A short guide that briefly explain how to trace all inbound/outbound SOAP XML messages produced with java ws library. In this case it’s used the following implementation of java ws. Set into the “jvmArgs” a “true” the option “com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump” Now all the SOAP messages will be logged on the standard Read more…
A short guide that briefly explain how to remote debug using visual studio code in a spring boot project gradle based. Spring configuration Open your spring project, detect the build.gradle file and edit as follow add to “jvmArgs” the JDWP configuration passing the address properly (it is possible also to Read more…