Author: Edwin Macharia

Software Engineer || Database Administrator || DevOps Developer || Certified Scrum Master

JSON, short for JavaScript Object Notation, is a lightweight data-interchange format that is easy for humans to read and write and easy for machines to parse and generate. It is widely used in web development for transferring data between a server and a client. In this article, we’ll explore JSON, its syntax, its role in JavaScript, and how to work with it. Understanding JSON JSON is essentially a text-based representation of structured data. It was derived from JavaScript but is language-independent, meaning it can be used with many programming languages, including Python, Java, PHP, and others. Why Use JSON? JSON…

Read More

Build Docker Image Using Dockerfile In this section, you will learn to build a docker image using a real-world example. We will create an Nginx docker image from scratch with a custom index page. The following image shows the high-level workflow of the image build process. Step 1: Create the required Files and folders Create a folder named nginx-image and create a folder named files Create a .dockerignore file Step 2: Create a sample HTML file and config file When you build a docker image for real time project, it contains code or application config files. For this demo purposes we will create a simple HTML file and…

Read More

With rise of new dawn of social media, we many have experienced instances where their privacy is compromised. Facebook being one of the key target due to its high number of users. As of 2024, Facebook is the largest social media platform globally with 3.07 billion monthly active users worldwide. Here are a few things that you can do to keep your account secure. Protect your password Set up two-factor authentication and other security options Never share your login information Don’t accept friend requests from people you don’t know Never click suspicious links, even if they appear to come from a friend…

Read More