Home » Web Development » Page 2

Web Development

Python Comment

set python

In this article, we will learn how to use proper comments in our code. There are many reasons for documenting your code, and every language provides its own syntax for doing so. While it is always best practice to try and craft your variables, statements and objects to be as self-documenting as possible, there is always a need to explain ...

Read More »

Python sleep() Function

set python

1. Introduction In this article, we will see a simple usage of the python sleep() function. Python is an easy-to-learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development ...

Read More »

Send SMS – Twilio via Nodejs

Hello. In this tutorial, we will create a simple nodejs application for sending SMS with Twilio. 1. Introduction Sending SMS these days is handy as it is useful across various business use cases. For sending SMS via this nodejs application I will be using Twilio under a free tier account which offers limited support but should be good for our ...

Read More »

JavaScript parseInt()

Bipartite Graph

1. Introduction This is an in-depth article related to the Javascript parseInt method. This method is used for parsing an integer string to return an integer. This method has parameters string and radix. Radix parameter represents the numeral system. 2. Javascript parseInt()  The parseInt() method parses a string and returns an integer or NaN. 2.1 Prerequisites A browser that supports ...

Read More »

Javascript slice() Method

Bipartite Graph

1. Introduction This is an in-depth article related to the Javascript slice method. The slice method is used for getting a subset of elements in the array. 2. Javascript slice() The slice() method on the array returns a new array having a part of the array. The actual array does not change. 2.1 Prerequisites A browser that supports javascript is ...

Read More »

otp authentication node js

Hello. In this tutorial, we will create a simple node js application and implement an otp authentication login mechanism. Once the otp will be verified an access token will be generated that can be further used to access the secure api’s. 1. Introduction Authentication and authorization are the key features of any application. Authentication provides access while authorization specifies what ...

Read More »

javascript:void(0)

Hello. In this tutorial, we will create a simple HTML page and understand the use of the javascript:void(0). You can also check this tutorial in the following video: JavaScript Tutorial for Beginners – Video 1. Introduction 1.1 What is a Javascript It is lightweight object-oriented programming used for scripting HTML pages. It helps users to build modern applications by directly ...

Read More »

Python range() function

set python

Hello in this tutorial, we will understand the range() method in python programming. 1. Introduction to range() Python range() method is useful to generate an immutable sequence of numbers based on the given number. It is represented by the following syntax – Syntax range(start, stop[, step_size]) The method consists of 3 parameters – start: It defines the lower limit and ...

Read More »

Deploy Nodejs application to Kubernetes

Hello. In this tutorial, we will create a simple nodejs application and deploy it on the Kubernetes cluster running on Docker. 1. Introduction In the present world, Docker is an important term – Often used in CI/CD platform that packages and runs the application with its dependencies inside a container Is a standard for Linux Containers A Container is a ...

Read More »

Random Walk in Python

set python

1. Introduction This is an article about random walk in python. It’s a process that explains the path which is made of random steps in sequence. A simple example is on the integers number line. Integers start from 0 and each step is either -1 or +1 with a probability of 50%. The complex examples are molecules moving in a ...

Read More »