Linux

Linux Signals cheetsheet

In Linux, signals are a form of inter-process communication (IPC) used to notify a process of an event that has occurred. They are a limited form of communication because they carry only a small amount of information: the signal number. Think of signals as software interrupts. When a particular event occurs (like a user pressing Ctrl+C, a child process exiting, or a timer expiring), the operating system sends a signal to the affected process(es). The process can then be configured to react to this signal in a predefined way, such as terminating, ignoring the signal, or executing a specific signal handler function ...

April 10, 2025 · 2 min · Me
NestJS

NestJS Logging 101: Setting up logging in NestJS with Winston

In this blog post, we will be setting up logging in NestJS with Winston. At the time of writing this blog, the versions used are NestJS@10.4.15 and Winston@3.17.0 Installing Winston Let’s start by installing winston. You can use below commands to add winston to your application. pnpm add winston or npm i winston ...

December 15, 2024 · 3 min · Me
Flutter

How to add app icons in Flutter

Let’s agree that adding icons for each platform is tedious work in Flutter, especially when we have to update different configs and sizes for each platform. Thanks to @Mark O’Sullivan we have a package to solve this exact situation. Tada🎉 introducing flutter_launcher_icons. At the time of writing this article flutter_launcher_icons@v0.10 supports Android, IOS, Web and Windows. Let’s get started. Add flutter_launcher_icons package Since we won’t be importing any files from flutter_launcher_icons package we will be adding it as a dev_dependencies. You can add it by running this command in your flutter project root directory ...

August 8, 2022 · 4 min · Me