Post in linkedin with the event of my blog post using Github action

Objective The purpose of this implementation is to automate the process of sharing my blog posts on LinkedIn. Whenever I publish a new post on my blog, it will automatically be shared as a LinkedIn post. This helps streamline my workflow and saves time by eliminating the need for manual posting on LinkedIn. Introduction For this implementation, the application utilizes the LinkedIn API along with additional settings configured in GitHub Actions....

November 7, 2024 · 3 min · Md Abid Khan

Node Cluster Locking Challenge

Background It’s an interesting challenge to learn about the core concepts of NodeJS. I got this challenge from one of my colleague and engaged in the solution for about a couple of days. But I didn’t solve it with the shared constraints. Challenge: Cluster locking Playground Idea 1 concept The plan was to store the output in a common object to share data from worker to worker. But it didn’t work as in Node Cluster is running in different process and no data can be shared worker to worker directly in Node Cluster....

July 2, 2024 · 2 min · Md Abid Khan

Concurrent execution and multiprocessing using Python

Concurrent execution and multiprocessing using Python Python defaults to a single-threaded execution due to the Global Interpreter Lock (GIL). Despite the pros and cons associated with the GIL, Python now supports the implementation of multiple interpreters concurrently. This playground implements the multithreading concept using a Python program to maximize concurrency, leveraging the concurrent.futures module. A prime-checking program has been developed, omitting optimized algorithms like the Sieve of Eratosthenes. When executed in the typical single-threaded fashion, the program takes 83 seconds to count the number of primes from 1 to 10 million....

December 18, 2023 · 3 min · Md Abid Khan

NextJS app deployment using Gitlab CI

NextJS app deployment using Gitlab CI Streamline the deployment of your Next.js application effortlessly with GitLab CI automation. Enhance efficiency and reduce deployment hassles with a seamless integration approach. Let’s dive in. TL;DR Issue: In the NextJS deployment on production, downtime occurs due to server building. Pulling the updated code from the Git repository and running next build on the production server leads to the unavailability of the application. Resolution: To mitigate this issue, a proposed solution involves building the application in a separate environment and storing the successful build in a Docker registry....

November 20, 2023 · 2 min · Md Abid Khan

Automate API testing using Postman & Newman

Automate API Testing using Postman & Newman Introduction Postman is one of the most used tools for a developer. Most of the time, we develop APIs and test those individually. But in some scenarios, we have to test APIs in batches if they are dependent on each other. By utilizing the knowledge, we can do our tasks easier as well as minimize repeating tasks. Through this, our dev testing time can be reduced....

October 27, 2022 · 2 min · Md Abid Khan

Math olympiad preparation

The below references are planned for my descendants who are planning to start but faced issue how to start. All Questions of math olympiad and a list of online version sample questions Important book list shared by matholympiad org bd. Some important books are listed below. Neurone onuronon Neurone abaro onuronon Goniter moja mojar gonit Learn with pavel youtube channel for learning and practicing and puzzle and riddles is a way of brainstorming Bangladesh olympiad practice youtube channel and most asked question about the preparation Practice on GonitZoggo to prepare yourself Art of problem solving is a nice reference to have a list of problems and solutions Asian Pacific Math Olympiad for Primary Students Math section of Khan Academy is really awesome to learn and practice different levels of maths Geeksforgeeks has a list of puzzle practicing section

June 24, 2022 · 1 min · Md Abid Khan

Load Balancing Playground with Nginx and Docker

Load Balancing Playground with Nginx and Docker Introduction: Assuming you have already heard the term ‘Load Balancing’. If not, then refer you to learn a very basic about the technique from this load balancing wiki. The concept of the task is to make multiple App servers and a Load balancer to balance the traffic. In this write-up, I am sharing my experience to start learning load balancing. Background: Different VMs can be created for the app servers and the load balancer in the virtual machine....

March 13, 2022 · 3 min · Md Abid Khan