Server
Log docker console to file
A simple script to log the docker console log in a file name “out.log” using the docker name
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…
If you are trying to restore really large file from the ubuntu trash, you could experience some nautilus freeze. You can do easily using shell in a few seconds
In Java to convert a List (like ArrayList) to an Array is it possible in this way
How to capture loopback traffic using wireshark and rawcap. Windows quick tutorial. If you are trying to capture traffic from a machine to itself, that traffic will not be sent over a real network interface, even if it’s being sent to an address on one of the machine’s network adapters. Read more…
If you website use google analytics with “ga” object in page, you can use the following snippet to send custom page viewed. It can be useful to track certain actions, such as a form submitted with success, or whateaver is not a phisical page. In this case we would like Read more…
Just a list of the common commands that I use on cmd console Copy a file Robust copy – file and folders Delete file Delete recursive a folder Netstat – Connections check Process kill using PID number Tail
Big Title Section – Big Title Background – Remove overlay If you would like to remove the annoying overlay applied by the default in your wordpress hestia theme to the big tile background image, just put this custom css code inside the “Additional css code” section Front page section – Read more…
In some cases the program Robo3t, the useful user interface for Mongo DB, it displays by default really small fonts that make it almost useless. In my case I fix it creating a bash script (in the robo3t root installation folder) that launch the following command. In this case I Read more…