logo

Latest Posts

Cloud

Check DynamoDB Tables Exist using Node.js

We can check whether specific DynamoDB tables exist using the AWS Javascript SDK. The ListTablesCommand method can be used to list DynamoDB tables in a region.
18 June 2024
Web Development Updates

Firefox 127 Released, Adds New Methods for Comparison of Sets

Firefox 127 was released on 11th June 2024. It has added many updates, however the best part is that it has implemented multiple Set methods for comparison of two Sets.
17 June 2024
Cloud

Deploy Next.JS Application on AWS Lightsail

This tutorial discusses how to deploy your Next.JS app over AWS Lightsail. Virtual servers, CDN and domains are discussed.
16 June 2024
Web Development Updates

CSS backdrop-filter is Finally Unprefixed Across All Browsers

With the release of Safari 18 beta, backdrop-filter CSS property is finally un-prefixed across all browsers.
13 June 2024
Cloud

Experiences of Migrating PHP-MySQL Site to NodeJS / React on AWS Cloud

Experiences of upgrading usefulangle.com, site based on PHP & MySQL to a NextJS app with DynamoDB as the database and deployed on AWS cloud.
12 June 2024
CSS

Changing Color of Radio Buttons with CSS accent-color

The color of radio buttons can be changed using the CSS accent-color property.
13 November 2021
Deno

Creating Unique Ids in Deno

In Deno MD5 unique ids can be created using the uuid library. This is a standard library which is reviewed by the Deno team.
8 April 2021
Deno

Getting MD5 Hash String in Deno

In Deno MD5 hash of a given string can be created using the hash library. This is a standard library which is reviewed by the Deno team.
6 April 2021
Deno

Getting Date and Time in Deno

In Deno date and time can be handled through the built-in Javascript Date object. Deno also provides the standard datetime library which makes it very easy to get date & time in various formats.
4 April 2021
Deno

URL Encoding in Deno

A url can be encoded in Deno by either using the encodeURI() method or creating a URL object. No libraries are required to be imported.
2 April 2021
Deno

Implement Google OAuth Login with Deno

This tutorial explains how to implement Login with Google in a Deno app using Google OAuth APIs.
31 March 2021
Javascript

Wait for Multiple AJAX Requests to Finish

Waiting for multiple simultaneous AJAX requests to be finished has become quite easy by using the concept of Promises. We change each AJAX call to return a Promise. Promises from all AJAX calls are then passed to the Promise.all() method to find when all Promises are resolved.
29 March 2021
Javascript

Get Date & Time For a Given Timezone with Javascript

Date & time for a given IANA timezone (such as America/Chicago, Asia/Kolkata etc) can be found by using the Date.toLocaleString() method.
27 March 2021
Javascript

Convert Object to Array with Javascript

A Javascript object can be converted to an array using Object.keys(), Object.values() or Object.entries() methods.
24 March 2021
Javascript

Remove Property from a Javascript Object (2 Ways)

This tutorial discusses two ways of removing a property from an object. The first way is using the delete operator, and the second way is object destructuring which is useful to remove multiple object properties in a single line of code.
22 March 2021
CSS

Apply Background Color on Text Spanning Multiple Lines

To apply the background color only on the text spanning to multiple lines, the solution is to make the text container as an inline element rather than a block element.
22 March 2021
CSS

Play, Pause & Restart CSS Animations

Playing & pausing a CSS animation can be done by using the animation-play-state property. Completely restarting the animation can be done by first removing the animation and then applying it again.
12 March 2021
CSS

CSS Animation on Element Dynamically Inserted to DOM

Animation can be done on an element which is dynamically inserted to page using CSS animation property. This property allows to give an initial and the final state of an element, and perform an animation between those states.
10 March 2021
CSS

Text with Linear Gradient Background

A linear gradient background can be applied for a text by using the background-clip: text CSS property. With this the linear gradient background will be clipped to the text only.
8 March 2021
Typescript

Types in TypeScript : any Type

The any type in TypeScript represents a data-type that can hold any possible value. any is similar to Javascript variables where no type checking is performed and they can hold any value.
3 March 2021