Page 46 of 56

How to read input from keyboard using perl

Last updated on February 14th, 2022 at 08:14 amThis script will show how to read numbers from keyboard and find the sum. To exit the program all you have to do is add 999. Here is the script. For your convenience I have added a sample output as well. Sample Output

How to prompt user input with sleep using perl

Last updated on February 16th, 2022 at 07:31 amThis tutorial is a very simple perl script to prompt User Input And loop it according to the number of times we provide as the input. The script also has Sleep Functionality added for your reference. Save the code below in a file named userinput.pl Here is […]

How to generate random password using javascript

Last updated on November 6th, 2024 at 12:21 pmThis code will create passwords randomly using simple Javascript. It also contains an option to provide the length of the password. By default I have given length of the password as 8 but it is up to your use case on what that value should be. Change […]

Get youtube video screenshot using Jquery

Last updated on December 14th, 2022 at 02:25 pmThis is yet another script using Jquery to get the Youtube video screenshot. Youtube normally saves screenshot under this URL http://img.youtube.com/vi/{VIDEOID}/ For getting video screenshot then http://img.youtube.com/vi/{VIDEOID}/0.jpg will have it. If you want thumbnails of a video then http://img.youtube.com/vi/{VIDEOID}/1.jpg, 2.jpg, 3.jpg etc., will be available. You might […]

« Older posts Newer posts »