How to Brick your NAS and lose your data

This is a horror story, but don’t worry… I just lost a lot of time… this time. What happened? For context, I’ve been messing around with self-hosting. I have a Proxmox and inside I’m running TrueNAS as a VM and passing the disks. Before all that, I spent a lot of time running Badblocks and […]

How to Dockerize NestJS – DEV Community

Today, I’ll walk you through how to dockerize a NestJS application. This will help you package your app into a container that can run consistently across different environments. Let’s get started! Step 1: Setting Up the Dockerfile First, we need to create a Dockerfile in the root directory of your NestJS project. This file will […]

How to set better 2025 Goals

For me I’ve realized that, going back through my failed resolution goals, I have never set a higher value to change my behaviors. These are examples of those goals: Learn a new programming language X Learn how a computer works Become 10x more productive They are shallow, unmeasurable goals that are rather by-products of some […]

How to write clean code

Why Write Clean Code? ⛩️ Imagine if you tried to find something in a messy room—you’d waste time searching, right? The same goes for messy code! It’s HARDER to find problems or understand what’s happening. With clean code, you can avoid that mess. You know what?.. By writing clean code you will save other developers […]

How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced

Cracking a DevOps interview can be challenging for both freshers and experienced engineers. This guide aims to equip you with essential skills, tools, and methodologies to help you succeed in your DevOps interview. Table of Contents Understand the DevOps Role Prepare the Fundamentals Intermediate to Advanced DevOps Topics Common DevOps Interview Questions Soft Skills and […]

How to make your Express app 9x faster (and type-safe)

💡 This guide shows you how to migrate an existing Express.js app to Encore.ts, an Open Source backend framework for TypeScript, to unlock a 9x performance boost. Why migrate? Express.js is great for simple APIs, but as your app scales, you may face limitations. While the large Express.js community offers plugins and middleware to help, […]

How to Promote Primitive Values To Value Objects

I originally posted this post on my blog a long time ago in a galaxy far, far away. Not every primitive value deserves to be promoted to a value object. Some time ago, at a past job, I reviewed a pull request that triggered a discussion about when to use value objects instead of primitive […]

How to Build Your Online Presence as a Developer

When entering a career, you have to find something that makes you competitive—something that makes someone say, “Hey, I want to hire this person so we can work together on this product or project.” There are many ways to achieve this. You can be skilled, you can have a good network, you can have rich […]

How to implement a Distributed Lock using Redis

I am Dumb Well, whenever we work in our local system everything works as butter. That is why we call “No better place than 127.0.0.1” but WAKE UP TO THE REALITY Well things not always work in production as expected. Mostly when you are running multiple instances of your application. 🚀 As you can see […]