RSSAmplifier

Blog

The Mythical Engineer

Blog about Software Engineering

themythicalengineer.comRSS feed ↗10 posts

Latest posts

The Complete Guide to React Native Build Optimization

If you’re building React Native apps on Linux or macOS, you’ve probably noticed that release builds for Android take far longer than they should. Open your system’s activity monitor during a build and you’ll likely see the surprising culprit: most build tools are utilizing only a single CPU core, leaving the rest of your powerful machine entirely idle.

How to Install Ubuntu on Mac Using Multipass and Use VSCode Remote Access

Ever got stuck with working on some older projects which won’t compile on mac, but they run well on your ubuntu server?

How to setup self hosted wiki for your startup

When it comes to setting up a wiki for your startup, you’ve probably looked at popular options like Confluence and Notion. While these tools are feature-rich, there’s one major drawback: they can get expensive really fast. Most of these services charge per user per month (typically around $5), and even with enterprise negotiations, the costs can add up quickly as your team grows. Sure, they offer…

How to install Cursor AI IDE on Fedora Asahi Linux Arm64

Cursor AI IDE is a powerful AI-powered IDE that can help you write code faster and more efficiently. I recently install Fedora Asahi Linux on my Macbook M1. Cursor AI IDE is not currently officially available for Linux Arm64 architecture. Thankfully, someone has created a build for Linux Arm64 architecture. You can follow the steps below to install Cursor AI IDE on Fedora Asahi Linux. Step 1:…

Revert a commited secret from remote repository

To remove the last commit that contains a secret from your remote repository (GitHub, Bitbucket, etc.) and push again, you can follow these steps:

Setup a Production Redis Cluster

In this blog post, I’ll explain how to set up a production-ready Redis cluster. We’ll create a 6-node cluster with 3 master nodes and 3 replica nodes. This setup provides both high availability and data sharding capabilities. This guide assumes you have basic knowledge of Linux systems and Redis concepts. All commands are bash-compatible and can be run on Ubuntu systems. You can automate this…

Master Direnv: Guide to Managing Environment Variables Efficiently

Discover how to use direnv to seamlessly switch between multiple GitHub accounts, automate git configuration, and eliminate manual setup. Step-by-step tutorial for developers.

Typescript Design Patterns: Singleton

Notes on Singleton Design Pattern Intent Ensure a class only has one instance, and provide a global point of access to it. Applicability Shared Resources : If a service requires access to shared resources, such as a database connection pool, you can use the Singleton pattern to ensure that only one instance of the resource is created and shared across the service. This avoids unnecessary resource…

How Postgres Triggers Can Simplify Your Backend Development

In this blog post, we will explore what triggers are, how they work, and how you can use them to simplify your backend service code. What Are Postgres Triggers? A trigger is a specification that the database should automatically execute a particular function in response to certain events. These events can include changes to data in a table, such as insertions, updates, or deletions. When an event…

How to restart Mac OS Network from Terminal

Apparently, Mac OS has some issues with Wi-Fi. It doesn’t work after it wakes up from sleep. You have to turn wifi on and off to make it work again. Usually my terminal is open all the time and I prefer to use keyboard for most of the operations on my setup. You can use ifconfig utility to restart the network sudo ifconfig en0 down sudo ifconfig en0 up But this command requires sudo, and writing…