How to add an IP address to an Azure VM's interface

When running virtual machines in Azure, you sometimes need to add additional IP addresses to your VM’s network interface. While Azure typically manages IP assignments through its network interface configuration, there are situations where you might need to configure IP addresses directly on the VM level. Introduction Azure VMs come with a primary IP address assigned through DHCP. This IP is managed by Azure and configured automatically when your VM boots up. However, there are scenarios where you might need to add secondary IP addresses: ...

December 20, 2024 · 3 min

Setting Up Elasticsearch and Kibana

Okay so you want a faster and better way to go through your huge user and customer data and thought to use Elasticsearch on your Linux machine. You configured it all right and it works, but you then realize that some things are not quite right and would be happy if you could debug queries, so you thought to install Kibana. Unfortunately, you’ve forgotten the admin credentials you created for elasticsearch and not quite sure how to achieve the whole set up, so you ended up here. Worry not, for this blog post will guide you on the right way to install + configure elasticsearch and kibana on a Linux machine, specifically, Ubuntu (22.04). ...

December 6, 2024 · 1 min

Cool Linux Tools You Cant Do Without

There are several tools on Linux that just feel heavenly. Like God bless the developers that coded them. Some of these tools like top and htop handle monitoring, while others like ncdu and df tell you about your disk usage. Find below a list of these tools and how you can make use of them. ncdu ncdu falls under the disk usage category. It is an external tool so it doesn’t come with the basic linux binaries. It gives a visual output of the files present in your directories with the ability to go deeper into the tree using your arrow keys. The snippet below shows it indexing a basic node.js setup. Node.js is notorious for having large node_modules directories and this example lives up to that name. ...

November 29, 2024 · 2 min

Chess Openings

This is the Alekhine’s Defense Reset Previous Next

November 11, 2024 · 1 min

Setting Up Esp32 Wroom32

The ESP32 is a versatile chip that comes packaged with the standard GPIOs, a WiFi, and a Bluetooth module. It’s like Arduino but with communication superpowers. It intwgrates right into the Arduino ecosystem, allowing you to use your existing Arduino IDE. This post goes over the set up of this board and how you can run a webhook ping program using it’s on-board Wifi. Purchasing the Board You can purchase the board from a maker store like Adafruit or from Amazon. There are typically two forms of the board available in the market: ...

October 28, 2024 · 3 min

Advanced Python Concepts

Python is a versatile programming language known for its simplicity and flexibility. Writing Python feels like writing english. Some would even call Python “executable pseudocode”. Python’s simplicity does not in any way limit its ability to tackle complex problems. As with any other thing in life, solving a problem using a tool is a reflection of the wielder’s skill level and not the tool itself. So you can solve advanced problems with Python is you are patient enough to learn its internals and not-so-popular side. In this article, you will learn some advanced Python concepts like decorators (add others later, lol). ...

October 26, 2024 · 3 min

Setting Up Nginx for a Backend App

Nginx is a web server and reverse proxy that serves over 33% of publicly known websites on the internet. You can run Nginx as a regular application, as a Docker container. This article is an overview of setting up Nginx as a reverse proxy for backend applications on debian-based Linux machines. We’ll skip the installation and go straight to set up tips. Installing Nginx You can install Nginx from the default package repositories of your debian system or better still from Nginx’s official packages from nginx.org. This gives you Nginx configuration in the way that Nginx intends. ...

October 11, 2024 · 2 min

Basic Automation With Azure Cli

Azure CLI is a component of CI/CD or automation in the Azure ecosystem. You can use the Azure CLI to perform CRUD operations on resources on your Azure subscription. It is cross-platform, and this allows it to be used from any system that can run bash shell commands. It is also available on the Azure Cloud Shell. This tutorial is a basic guide on how you can use the Azure CLI to create a storage account, upload a blob to this storage account, and then view the content via the public URL of this blob. To follow along, you need to have the Azure CLI and an active Azure subscription. ...

September 11, 2024 · 5 min

Going With Go

So I recently became a Go fan boy. I mean, I wrote some Go in 2022 & 2023, but I’m finally investing in it this 2024, at least, the remaining months of 2024. I recently finished HNGi11. It ended on the 31st of August 2024. During my time there, I worked with different guys that changed my perspective on a lot of technologies, particularly Go. I saw the beautiful power of Go, I compiled Go, and I got it running in production. I used it to build a few tools, and the likes. You know the drill. Now it’s time to embrace Go’s full potential by building with it. ...

September 10, 2024 · 1 min