Last updated on August 7th, 2022 at 07:07 pmTutorial on how to create random password using perl script. We are using rand() function available in perl. Take a look at the script below. NOTE:- Make sure you modify the perl install location in the script header Since I don’t have a Perl environment setup I […]
Page 40 of 58
How to connect to MySQL using Perl
Last updated on November 23rd, 2022 at 07:58 amThis tutorial covers some of the basic configuration and code required to connect to MySQL using Perl. We are going to display a table inside MySQL. In Linux Make sure that required modules are installed before running the script. Update these variables according to your configuration While […]
How to capitalize the first letter of a string in JavaScript
Last updated on November 26th, 2024 at 12:19 pmThis JavaScript function capitalizes the first letter of each word in a given string and assigns the result to an input element That being said lets take a look at how this script looks like, Using map: charAt and slice: Assuming there’s an input field with the […]
Last updated on August 19th, 2022 at 09:57 amParse nginx | apache logs using PHP and send an email Send an email to admin or website owner when ever the logs show 404 or any response code of your choice. This script can be used as a cron and is run on everyday basis to […]