© 2023 Hashnode
#tips
A regular expression (here on, I will refer to as regex) is not scary as the meme states. It just needs a little patience and knowledge of the state diagram. Regex is just State Diagram! Only sound…
TLDR; I made so many code smells due to time constraints, in this article I go over how I refactored/santify the repo for further development. I highlight few areas and my approach. If you find better…
A few days ago I had a situation when I had to run some query on my MySQL server without access to the internet. And what I discovered. The default server build is compiled with MySQL docs on board :) Just in case, I needed JSON_SCHEMA_VALI…
This article was written with the help of AI. If you're a Rails developer, you're probably familiar with the Rails console, which allows you to interact with your Rails application in a command-line i…
This article was written with the help of AI. When working with Rails, you've likely encountered the N+1 query problem. This occurs when you have a database query that returns N records, and then you …
This article was written with the help of AI. Have you ever found yourself in a situation where you needed to create multiple records at once in Rails? Maybe you have a form that allows a user to crea…
It will be a little different than the usual blogs but bear with me, I want to share something I tried and I think can be useful for others as well. We all are addicted to our phones, checking notific…
Arithmetic operators are used in JavaScript to perform arithmetic operations on values, such as addition, subtraction, multiplication, and division. Here are some examples: 1) Addition (+): This opera…
JavaScript is a powerful programming language that has become a crucial part of modern web development. Whether you are just starting to learn JavaScript or you are an experienced developer, there are…
Customizing your web browser experience can be done easily with extensions. I personally use Google Chrome and find certain extensions to be very useful when trying to focus and steer clear of content…