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 snippet to merge a local branch excluding a file. This is case “myfile.txt”
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…
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.
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…
Command line syntax using maven Example of login credential inside xml file
Base configuration VsCode snippets To create a custom vscode code snippets it’s pretty straightforward Navigate inside vscode File -> Preferences -> User Snippets Select the one based in the visibility In this example “new global snippets file” (with ubuntu it’s saved into ~/.config/Code/User/snippets) The following code defines two snippets: when Read more…
PS1 is a primary prompt variable. This variable displays a default structure to the user that makes a login Standard ubuntu The standard ubuntu PS1 variable looks like: alberto@alberto-5490:~$ Test To test your settings export the PS1 variable with your settings: Make it permanent To make your settings permanent edit your Read more…