Saniul Ahsan

#javascript, #python, #microservices, #automations, #blockchains, #devops

Deploying Docker Swarm on AWS: Step-by-Step Guide

Before proceeding, you should have a basic understanding of containerization and Docker, as well as basic familiarity with the Linux command line. You’ll also need an AWS account with an IAM user. Target is to Create a Docker Swarm consisting of one manager and three worker nodes on Amazon EC2 Instances. Install docker on all

How to Host a FREE Website with Google Firebase

Google Firebase offers a generous free tier that allows you to host a simple website at no cost. Firebase Hosting is designed to make it easy to deploy and host web applications. Here’s a step-by-step guide on how to host a free website with Google Firebase: That’s it! Your website is now hosted on Firebase

Sorting with Weighted Word Count

Sorting with weighted word count typically refers to a sorting process where elements are sorted based on a weighted count of words or tokens associated with each element. This concept is often used in text analysis, natural language processing (NLP), and information retrieval tasks. The weighted word count takes into account not only the frequency

Gzip Compression with NGINX

Gzip compression is a technique used to reduce the size of web content (such as HTML, CSS, JavaScript, and JSON) before sending it to the client’s browser. This compression can significantly improve website performance by reducing bandwidth usage and speeding up page load times. Here are the benefits and some example configuration codes for enabling

Deploying Application to Digital Ocean with Github Actions

Setting up GitHub Actions for CI/CD with DigitalOcean involves automating your development workflow to build, test, and deploy your applications to DigitalOcean servers when you push changes to your GitHub repository. Here’s a step-by-step guide on how to achieve this: Prerequisites: Steps to Set Up GitHub Actions CI/CD with DigitalOcean: That’s it! You now have

Angular Interceptors

In Angular, you can create middleware-like functionality using Angular Interceptors. Interceptors allow you to intercept HTTP requests and responses to perform actions like adding headers, logging, or handling errors. Here’s a code snippet to create an Angular interceptor: Here’s how to register this interceptor in your Angular application: In your app module (usually app.module.ts), import

Angular NgRx With Effects

When working with NgRx and HTTP requests, you can use the @ngrx/effects library to handle side effects like making HTTP requests. Here’s a step-by-step guide on how to implement NgRx with HTTP effects in an Angular application: Setup Your Angular Project: Make sure you have an Angular project set up. You can create a new

Angular NgRx Implementation

NgRx is a popular library for managing state in Angular applications using Redux principles. This tutorial assumes you have a basic understanding of Angular and its core concepts. Step 1: Set up a new Angular Project If you haven’t already, you can create a new Angular project using the Angular CLI: Step 2: Install NgRx

Flutter Web Build Deploy With Docker

Yes, you can definitely containerize a Flutter web application using Docker. Docker allows you to package your application along with its dependencies into a container, which can then be run consistently across different environments. Here’s a general outline of the steps to containerize a Flutter web application using Docker: Create a Dockerfile: Start by creating

NFT Auction With Solidity

In this example, we’ll create a basic NFT auction contract where users can bid on an NFT, and the highest bidder wins the NFT after a certain duration. Please note that this example is simplified and doesn’t cover all possible edge cases. Also, make sure to test thoroughly and consider security best practices before deploying