On shared hosting servers, multiple versions of PHP can be simultaneously installed and various applications have to run with different PHP versions. How can we set up, for example, the…
Print Only HTTP Status Code With Curl
When handling HTTP requests, it is often necessary to check the status code of a response quickly, without retrieving the full headers or body. This is useful for testing API…
How to use the GET and POST method of Fetch API in JavaScript
This post will give an introductory explanation about using this method to get data from servers or post data to servers. What is the Fetch API? Fetch API is a…
Difference between on click and click
https://stackoverflow.com/questions/9122078/difference-between-onclick-vs-click https://www.includehelp.com/jquery/difference-between-onclick-vs-click.aspx https://www.tutorialspoint.com/jquery-click-vs-onclick
How to make API calls in Javascript?
https://www.geeksforgeeks.org/ways-to-make-an-api-call-in-javascript/
A Simple Thread Pool Usage in Java
Thread programming is a technique that allows a program do divide itself into multiple, concurently executing tasks called threads, which can improve performance and responsiveness by utilising multiple CPU cores…
How to replace text inside a div element with JavaScript and jQuery
In the world of dynamic web engineering, users interact with a webpage and update the text inside an HTML division (div) element is popular. For example, an asynchronous call will…
How to make API calls in Java
Nowadays, RESTful APIs are used everywhere for fetching data from an external resource. Frankly speaking, the approaches of fetching remote data will not work for all RESTful resources. In other…
How to compile and run a simple Java program relying on dependencies
As you know, compiling or running programmes relying on dependencies without build tools is a headache. I am an old-school guy who loves to test and run any program from…