Javascript - replaceAll

Javascript - replaceAll

String.prototype.replaceAll provides an easy way to replace all occurrences of a substring without creating a global RegExp. const queryString =...

Javascript - 2 months ago

How to develop REST API with Deno

How to develop REST API with Deno

In this tutorial, we gonna use Attain to create REST API with Deno. Attain is a middleware web framework for...

Deno - 2 months ago

Javascript - Promise.any

Javascript - Promise.any

Promise.any is a promise combinator that resolves the resulting promise as soon as one of the input promises is fulfilled....

Javascript - 2 months ago

Laravel Notification - notify using only email address

Laravel Notification - notify using only email address

We can send On Demand Notifications using the Notification facade using an only email address. This is feature is available...

Laravel Code Snippets - 2 months ago

How to use Lifecycle Management rules of Azure Blob

How to use Lifecycle Management rules of Azure Blob

Azure has a built-in feature to change the Access tier from Hot to Cool. Along with this feature, Azure has...

Azure - 5 months ago

How to Integrate PayKun Payment Gateway in WordPress

How to Integrate PayKun Payment Gateway in WordPress

It is easy and hasslefree to integrate the WordPress websites with the available Plugins from PayKun Payment Gateway. With PayKun...

wordpress - 6 months ago

How to download YouTube live stream video in chunks

How to download YouTube live stream video in chunks

In this tutorial, we gonna download YouTube live stream video in chunks for the given interval. We gonna run few...

Unix/Linux - 6 months ago

Docker file for Express App with PM2

Docker file for Express App with PM2

FROM node:10 WORKDIR /usr/src/app COPY package*.json ./ RUN npm install pm2 -g RUN npm install COPY . . EXPOSE 8080...

Javascript / JQuery Snippets - 8 months ago

Node.js 12: Private Class Fields

Node.js 12: Private Class Fields

Javascript allows us to declare fields inside the class. We can access its own fields or properties by creating an...

Javascript - 8 months ago

PHP 7.4 - Null coalescing assignment operator

PHP 7.4 - Null coalescing assignment operator

The null coalescing assignment operator is a shorthand for null coalescing operations. Let's take a example code $data['date'] = $data['date']...

PHP / MySQL - 8 months ago