Git merge branch excluding file
Here a simple snippet to merge a local branch excluding a file. This is case “myfile.txt”
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 Read more
The IDE Visual Studio Code has a fully integrated debug that allows the developer to work proficiently with multi-languages support. In this case we are interesting in debug a node.js application (javascript or typescript) To debug a node.js app we 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: “/” 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” Read more
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 Read more
Command line syntax using maven Example of login credential inside xml file
Basic usage of prettier formatter with VSCode Install prettier as your project dependency / dev-dependency (with npm or your desidered repo) Create a file called .prettierrc with basic options to share with your team member and commit it in the Read more
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 Read more