In this post, we will be writing a simple JavaScript function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple match and string functions. <script> function generateRandomString(length){ var... Read more
In this post, we will be writing a simple PHP function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple string functions like substr, str_shuffle and str_repeat. <h1>Generate... Read more
In this post, we will be writing a simple JavaScript function to find and replace certain text in a HTML element. Source Code : <div id="haystack"> By 55,000 years ago, the first modern humans, or Homo sapiens, had arrived... Read more
TypeIt is the most versatile JavaScript typewriter effect utility on the planet. With a straightforward configuration, it allows you to type single or multiple strings that break lines, delete & replace each other, and it even handles strings that contain... Read more
This library helps us to generate QR codes very easily. The library makes use of bacon/bacon-qr-code to generate the matrix and khanamiryan/qrcode-detector-decoder for validating generated QR codes. Further extended with Twig extensions, generation routes, a factory and a Symfony bundle... Read more
We normally see huge number in formats like 1.2K, 3.1M and 2.5B. Its not practicable to write large numbers in full numbers like 1200000 or 2200000000. In this post, we will be writing a PHP function to format a number... Read more
YouTube has now become an integral part of our internet browsing habit. YouTube has provided easy access to the various sizes of video thumbnails. The various resolutions of YouTube video thumbnails are provided below : Thumbnail Links Max Resolution :... Read more
In this post, we will be writing a PHP script to download a YouTube video using PHP. We have a Youtube Downloader Class provided by CodexWorld. We will be using the same class to download YouTube video. There are two... Read more
What is Captcha ? Captcha is a type of challenge–response test used in computing to determine whether or not the user is human. CAPTCHA is mainly used as a security check to ensure only human users can pass through. Generally,... Read more
Question : What is JavaScript ? Answer : JavaScript is a client-side scripting language. JavaScript is used to develop interactive web pages as it inserts dynamic text into HTML element. JavaScript is also known as the browser’s language.... Read more
A push notification is a message that is “pushed” from backend server or application to user interface. Push Notifications can be beneficial in many ways. Users can be provided with latest sports scores, some breaking or flash news or let... Read more
Random number generation is the generation of a sequence of numbers or symbols that cannot be reasonably predicted better than by a random chance, usually through a random-number generator (RNG). Computer random number generators are important in mathematics, cryptography and gambling... Read more
Face detection is a computer technology being used in a variety of applications that identifies human faces in digital images. There are a number of approaches and techniques to achieve face detection. In this post, we will be dealing with... Read more
Page Orientation According to Wikipedia, Page orientation is the way in which a rectangular page is oriented for normal viewing. The two most common types of orientation are portrait and landscape. The term “portrait orientation” comes from visual art... Read more
Facebook Page has now become a vital part for any business. With increasing dependency on Facebook for promoting products or services, Facebook Messenger Chat Bot can prove to be a new tool to enhance your business to the targeted audience.... Read more
