✍️programming

Running Go code from Elixir Using Web Assembly

In this article, I will show you how to compile Go code to target WASI and run it from an Elixir host. You will also learn how to pass data to Go and get a response back using pipes.

(1025 words)

How to Efficiently Reorder or Rerank Items in Database

Ever wondered how Jira and Trello store the order of tasks or issues? How they can effortlessly reorder items in the database even when there are a million items? In this article, you will gain an understanding of reordering and reranking techniques and how to store order information in the database to facilitate efficient reordering.

(1718 words)

Project Write-up: Display Spotify lyrics on external display

I came across a job posting on Upwork where someone was looking for a software that plays the lyrics of a Spotify song on dual screens. I was really intrigued so I decided to give it a go. In this article I am going to talk about the whole thought process I went through while trying to figure out a solution as I think that part is often missing from programming tutorials.

(1564 words)

Extracting WhatsApp messages from an iOS backup

Have you ever been interested in how Apple saves the iOS backup files and how you can extract particular files from a backup? In this article, I will show you the different encryptions involved in creating an iOS backup, how to decrypt the data, and how to extract WhatsApp chats from an iOS backup.

(2185 words)

Web Automation With Selenium And Python

In this article we will take a look at how we can automate basic web interactions using Selenium. By the end of this article you will have an automated booking bot that can reserve court space for you automatically. You will also learn about XPath and how to traverse an HTML document using Python, LXML and XPath.

(2578 words)

How to web scrape on Schedule using Github Actions?

I recently got to work on a web scraping project that I deployed on GitHub. The scraper runs daily on a schedule and emails the extracted data all for free using GitHub Actions! In this article, I will show you how I developed this project and how you too can make use of GitHub Actions for free.

(3110 words)

Understanding and Generating a UPC-A barcode using Python

I have always been fascinated with barcodes and QR codes. I theoretically knew how barcodes worked but I wanted to solidify my understanding by making one from scratch. In this article, I will take you on a guided tour of how barcodes work and how we can make one from scratch using Python. I will focus on Universal Product Code type A (UPC-A) for this tutorial.

(3795 words)

Setting up listmonk, an open-source newsletter & mailing list manager

Are you tired of spending tons of money for Mailchimp? Let me show you how to set up listmonk, a free and open-source newsletter and mailing list manager. We will be using docker-compose for orchestration and NGINX + certbot for automated SSL certificates. The final setup will cost you a little bit of effort and $0 in running costs as long as you don't send more than 50,000 emails.

(2739 words)

Making a Serverless eBook Stamping & Delivery Service

I recently had to make a custom ebook stamping and delivery service for Practical Python Projects book. In this article, I will explain why and how I made this service using AWS lambda as the serverless platform. I will also show you how to use S3 for file hosting, SQS for message passing, SES for automated email delivery, and PyPDF2 + Reportlab + pdfrw for PDF stamping.

(6127 words)

Using Python to Post Stories on Instagram

Have you ever wanted to post stories on Instagram in an automated fashion? In this article, I will show you how to use Python and the Instagram-API-python library to do exactly that. Fasten your seatbelts and let's get started!

(503 words)

Understanding and Decoding a JPEG Image using Python

We all use JPEG images every day and almost every software supports JPEG but most of us don't know how the JPEG compression algorithm works under-the-hood. Come with me on an adventure where we uncover and understand the JPEG algorithm and then write some Python code to decode a JPEG image.

(6964 words)

Reverse Engineering Nike Run Club Android App Using Frida

After using apktool for reverse-engineering android apps I learned about Frida. Ever wondered how you can use Frida to snoop around Android apps? Learn how to do that in this step-by-step tutorial where we take a look at the Nike Run Club app.

(2716 words)

Let's Reverse Engineer an Android App!

I had always wondered how Android apps are reverse engineered. If you have ever wondered the same then this article will guide you through the whole process. We will be unpacking, modifying, repacking, and installing an Android APK.

(3210 words)

9 Tips For Better Scripting Experience

Learn about some general scripting tips that will help you level up your scripting game. I learned them the hard-way but you don't have to.

(1831 words)

Software Engineering Within SpaceX

Have you ever been curious about how Software engineering within SpaceX works? I did some research and compiled my notes in this article. There are also some insightful comments from the readers at the bottom.

(1349 words)

Setting Up Passwordless SSH and Alias For Remote Login

Whenever I set up a new server I make sure I set up passwordless SSH login. It makes it easy to get into a box without typing in the password every single time. Learn about how you can do something similar for your servers.

(496 words)

Running Staticman on Hugo Blog With Nested Comments

No blog is complete without comments. There are a lot of options out there which allow you to add comments to your static blog. In this article, I talk about how to setup Staticman for your Hugo blog. Process is similar for other static site generators.

(2238 words)

Golang: Check if a key exists in map

I have been working with Golang quite a lot. This is my first time working with it professionally. I share some methods for checking key existance in maps in Golang.

(469 words)

Extracting Data from Nike Run Club & Visualizing It

I have been using Nike Run Club for years. I liked using it but was super unhappy with the fact that I wasn't officially allowed to export my data. I went ahead and reversed their API. Learn about how you too can extract your data from NRC.

(438 words)

Creating Offline Custom Style Maps With tileserver-gl

Tileserver-gl is an amazing project that allows you to make custom styles for maps. Learn about how to make beautiful styled map posters using tileserver-gl. The best part? It is completely open source!

(1484 words)