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.
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…
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:…
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…
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.
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…
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…
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…