Varun Batra: Web Application Consultant
-
How to use docker to forward emails sent to your domain to your email (works for Gmail)
I am using multiple domains and I have emails on these domains as well. So I did a bit of research and found that there is a solution to forward emails on your custom domains to your main email address. Though, not many people were successful in doing so to their gmail. I got a…
-
How to monitor change of IP address (with Location) using Shell Script (Linux and Mac)
I am using the ntfy.sh (self-hosted) version for a lot of things. In this, I will be using ntfy. You can download the ntfy app from Android as well. It is pretty handy. I am using it for many different notifications as it is just a curl. If you like, you can also configure other…
-
How to run syncthing in Asus Merlin Router without root?
When I installed syncthing on my Asus Router running Merlin Firmware, I realized that it was running with the root user. I quickly Googled and even tried getting help from the forum, but nothing helped. I left it as if that wasn’t important until I faced the horror of permission. This time I was determined…
-
Git – Delete History but keep last X Commits
I am using trilium notes to keep some kinds of notes which are best suited for node-kind relationships. It creates a backup as a file every day, week, and month. Since these were binary backups, the repository soon started to grow linearly. The Shell File
-
Why MySQL recovery taking a lot of time?
So the MySQL crashed – Our server went for an emergency reboot. Last thing that I could see in MySQL log was – MySQL server didn’t shut down properly. Upon restart, MySQL was recovering and it took forever to get started. We had over 20 mins downtime. We had hired MySQL experts to do configuration…
-

How to scan open ports within seconds using Docker?
I am going to use masscan which is a Mass IP port scanner. Since the development of this tool is almost halt and the latest released version is 1.0.6, I found an updated Docker adarnimrod/masscan You can simply add an alias to your .zshrc or .bashrc file. Scan using masscan It will scan 192.X.X.X range…
-
Solving Laravel’s Maximum execution time error in DateRangeFilterIterator.php on line 47
Congratulation! If you are facing this problem, this clearly indicates that your product is successful – this is the rare problem happens to a successful Laravel App. Or not? If you think you are not getting enough traffic, you can check the public API you are using which shouldn’t create session files at all. Problem:…
-
Should you bind the computed properties in Vue?
Having setter in a presentation layer gives a developer a way to bind the computed properties in Vue. Short Answer No you shouldn’t. Philosophy of Flux Computed properties are non-integral parts of the presentation layer and what presentation is for? – to represents. If you are changing the presentation layer then you are using the…
-

How to parse boolean or numeric values in fastify query string
Imagine that you have a root route and you are sending query parameter as below: If you log request.query it will be printing like this: Obviously if now you are planing to do something like following, it will have an unexpected results: Solution – Schema Now the output will be following: Defaults Another problem is…
-
Critical Decision of Re-Writing a Wheel!
I have been in cross-roads – when the officially supported libraries are not in the language in which our app is coded. Have you? Did you re-write it or did you use it as it is? I had both good and bad experience with that however, with enough experience, I can distinguish why it was…