Posts
All the articles I've posted.
How to Determine Disk Space Usage in MySQL
Published: at 08:00 PMThis blog post serves as a beginner-friendly guide to understanding disk space utilization in MySQL databases. It provides a step-by-step approach to find the size of individual tables within a specific schema and extends that to summarizing disk space for all schemas. Using simple SQL queries executed in MySQL Workbench, you can acquire both table-level and schema-level size metrics, essential for database optimization and management. The post is a valuable resource for those seeking to grasp their database's footprint.
Managing Redis Memory Limits in Docker-Compose
Published: at 08:00 PMThis blog post serves as a comprehensive guide on managing Redis memory limits using a Docker Compose file. It covers the risks of not setting a memory limit—like uncontrolled memory growth and resource contention—as well as the potential downsides of setting one, such as data eviction. The post provides step-by-step instructions to modify the docker-compose.yml file, allowing for memory restrictions, and how to verify that the settings are correctly applied.
Replacing Label Fields with Aria-Label, A Focus on Accessibility
Published: at 08:00 PMIn web forms, both `label` and `aria-label` aim to improve accessibility. However, using `aria-label` can make your code more efficient, reducing 9 lines of uncommented code to just 6. While `label` enhances user experience with clickable areas, `aria-label` offers a streamlined, yet accessible, alternative.
How to Use Google's ReCaptcha V3 with NextJS 13 and the New App Router
Published: at 08:00 PMWant to enhance your NextJS 13 app's security? Learn how to seamlessly integrate Google's Invisible ReCaptcha V3. We'll walk you through the client and server-side code and explore NextJS 13's new App Router. Say goodbye to spam and hello to a cleaner user experience. Happy coding! 🚀
State Management in React Applications Through URL Hashes
Published: at 08:00 PMManaging state in React applications can be streamlined using URL hashes. This article explores this concept with two examples—a basic toggle switch and a cookie catalog. We discuss the benefits of this method, including enhanced user experience and compatibility with server-side rendering. Learn how to maintain state effectively across React components.