5 Different ways to compress image using python script.
Using high quality image make our website slow and give an unpleasant experience to the user. SO, we can use python script to compress the image quality. Here some method…
Using high quality image make our website slow and give an unpleasant experience to the user. SO, we can use python script to compress the image quality. Here some method…
JavaScript objects are a fundamental data structure in any web application. One of the common tasks when working with objects is to check if an object is empty or not.…
To check a string value is a date, there are many ways to do that. But problem occur when string is a number, since a number can be converted into…
Radom data is useful to test many scenarios and check our code stability in many ways. We can get random documents from given collection. Solution 1: Using $sample Randomly selects…
There are many possible solutions to solve this problem. All solution almost same but one of them can work for you. Let me know what work for you. Solution 1:…
Let say we have an array of object which and object contain age and name. Now we want to find out youngest person and elder person. For these we have…
In many places in programming, we want to replace special character with _ or anything else. There are many ways to replace but I am going to use replace function…
Suppose you have one release branch and you have created a feature branch from the release branch. Now you want to update your feature branch with release branch. This is…