Blog
Zustand: A small and fast state management for React and Next.js
28-Feb-2024Is Zustand a good choice for handling React states? What are the benefits and drawbacks? Let's investigate and provide answers for this simple state management tool.
Essential NGINX Configuration - Quick Reference
23-Aug-2023Configure NGINX as a web server, with support for virtual server, URI and response rewriting.
ASW SDK for Wasabi Cloud Storage (S3) - Quick Reference
21-Jul-2023aws-sdk-2.x is not the current version of node.js AWS client. But at the time I write this article, many S3 providers except aws are only supporting aws-sdk-2.
TUS.IO: Simplifying File Uploads and Transfers
27-Jun-2023TUS.IO is an open-source protocol for resumable file uploads built on top of HTTP. It provides a standardized way to handle file transfers, allowing users to upload files of any size in a reliable and efficient manner.
MySQL: Quick Reference
19-Jun-2023MySQL cheat sheet is a one-page document that contains the most regularly used MySQL commands and statements to help you operate with MySQL.
Building tailwind design system in React / Next.js
11-Jun-2023CSS-in-TS libraries such as Stitches and Vanilla Extract are fantastic options for building type-safe UI components; taking away all the worries of class names and StyleSheet composition.
Kysely: The Type-Safe SQL Query Builder
29-May-2023Kysely is a powerful SQL query builder designed specifically for TypeScript. It allows developers to write SQL queries in a fluent and type-safe manner, eliminating the need for manual string concatenation or external SQL files.
React Hook Form v7
14-May-2023React Hook Form is a popular library for managing forms in React. With the release of version 7, React Hook Form has become even more powerful and easier to use.
Zod: Schema declaration and validation library
07-May-2023Zod is a powerful data validation library for JavaScript that is designed to make it easy to validate and manipulate data.
Vite + react + tailwind + shadcn/ui
22-Apr-2023React project setup using Vite, Tailwindcss and Shadcn/ui.
RabbitMQ installation on Ubuntu 22.04|20.04|18.04
11-Apr-2023RabbitMQ is an open source message broker software that uses Plugins to implement the Advanced Message Queuing Protocol (AMQP), Streaming Text Oriented Messaging Protocol, Message Queuing Telemetry Transport, and other protocols.
Line truncation with tailwindcss
09-Apr-2023In CSS, truncating text is putting an ellipsis at the end of a sentence to show that there is more text to read. Unfortunately, there is no truncation property in CSS that allows you to truncate text on the fly. So, how do you use TailwindCSS to truncate text?