May 5Unleashing Your Code’s Full Potential: A Panoramic Guide to RefactoringYou’ve been working on a software project for months or even years, and your once sleek codebase has morphed into a tangled mess of patches, makeshift solutions, and spaghetti code. As your team expands and requirements shift, making alterations or adding new features turns into a nightmare, with countless hours…Software Development5 min readSoftware Development5 min read
Nov 14, 2022GitHub Actions — Exporting Multi-Line / One-Line Value Environment VariableGitHub Actions — Exporting Multi-Line / One-Line Value Environment Variable Usually, when we create and set up new GitHub Action we utilize environment variables, to store information that we want to reference in the workflow. Recently I was setting up a CI pipeline using GitHub Actions, and came across a case where I wanted to define new environment variables, some…Ci3 min readCi3 min read
Feb 19, 2020Questions & Answers About Udacity NanodegreeI got graduated from the Cloud Developer nano-degree program ~ 2 weeks ago, and I decided to share my experience in quick Q&A, so if you have any other questions in your mind after reading this post, please don’t hesitate to comment. What’s Udacity Nano-degree? 💡 💡 It’s an online…Nanodegree3 min readNanodegree3 min read
Oct 11, 2018Find Nearest Locations With MongoDB — How To?There are many ways to implement finding nearest locations by given latitude and longitude . Some of the implementations can be achieved through a backend logic, and the other ways can be done by utilizing some features(Spatial Indexes) provided by DBMSs’(Mysql, SQL, MongoDB,….etc). In this post I will explain by…Location3 min readLocation3 min read
Jul 22, 2018What’s GraphQL ? — Answers to common questions 💬 .️What is it ? — A query language for your API . — It is a methodology that directly competes with REST (Representational state transfer) APIs, much like REST competed with SOAP at first . — It’s not tied to a specific technology, but you can implement it in any language. -GraphQL is a…GraphQL4 min readGraphQL4 min read
Jul 18, 2018Change Stream In Mongo DatabaseIntroduction: It’s a feature added in MongoDB starting from the version 3.6, that give you an ability to keep you up to date with your data changes . So in case of any changes(write messages: Insert, Update, Delete) that happen against a specific collection, it triggers a `change event` with the…Mongodb2 min readMongodb2 min read
May 8, 2018Executing commands using javascript. Huh 🤔 ?Yes!, we can execute DOM commands against documents or ( web pages ) using javascript. Actually, it started to happen when the HTML document has been switched to designMode . Document.designMode document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the…developer.mozilla.org The entire document becomes editable, then the document object exposed new method called `execCommand`.JavaScript2 min readJavaScript2 min read
Apr 26, 2018A surgery inside Node.JS server.How the requests are being handled inside Node.js server ? First of all we need to know the main components inside any Node.js server : 1- Event Queue: It’s a queue that contains all the requests which are coming from the clients. for example: When the node.js server gets 1,2,3,4,…n…Nodejs2 min readNodejs2 min read
Apr 18, 2018— Cross Origin Resource Sharing (CORS) —…………………………Cross Origin Resource Sharing ……………………….. Let’s start with the following screenshot!Servers2 min readServers2 min read
Apr 15, 2018React Redux concept through an example.What’s Redux? Redux is an open-source JavaScript library for managing application state [Wikipedia] Actually, I will jump quickly, into an example so I can explain the Redux concept step by step in a better way . Let’s assume that we have a React JS application , and this application has…React3 min readReact3 min read