logo

Latest Posts

Cloud

AWS IAM Policy for Specific S3 Buckets

AWS IAM policy giving all permissions only for specific S3 Buckets. The user can perform all actions but only on given buckets.
26 June 2024
Cloud

AWS IAM Policy for Specific DynamoDB Tables

AWS IAM policy that gives all permissions only for specific DynamoDB Tables. The user can perform all actions but only on given tables.
25 June 2024
Cloud

No Boolean Primary Key Allowed for DynamoDB Tables : How to Handle

DynamoDB does not allow a boolean attribute to be set as the primary key (partition key or sort key) of a table or an index. This can be bypassed by using a String or Number data type instead of the Boolean type.
22 June 2024
Cloud

Get All Rows from DynamoDB Table (Scan or Query) using Node.js

DynamoDB has a maximum limit of 1 MB in its Query or Scan API responses. To get the full data we need to make use of the LastEvaluatedKey response attribute.
22 June 2024
Cloud

Create DynamoDB Tables (with Index) using Node.js

Tables can be created in DynamoDB using the CreateTableCommand() method of the AWS DynamoDB Javascript SDK.
21 June 2024
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