Page 40 of 58

How to generate random password using perl

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 […]

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 […]

« Older posts Newer posts »