Posts about "Miscellaneous"

Efficiently deleting millions of records in Laravel

— When working with large datasets, you might need to delete millions of records from the database at once. Doing so can be quite slow and resource-intensive. And in doing so, you might run into memory issues, timeouts, and other problems.

Environment-aware Favicons

— When working on a website, sometimes you can’t distinguish between the environments just by looking at the tabs if you have both the production and local environments opened side by side. And this can lead to confusion.

Installing Google Fonts as npm packages

Google Fonts is a great resource for finding free fonts for your web projects. It has a wide variety of fonts to choose from. You include these fonts in your project using the <link> tag or by using the @import rule in your CSS which points to the Google Fonts CDN.

What is a Proxy and Why You May Need It?

— If you’ve ever wondered how the internet works, proxies are a key player. They act as intermediaries between your device and the internet, offering an additional layer of protection and anonymity. For those seeking enhanced security and control over their online activities, understanding what a proxy is and why it’s beneficial is essential.

An introduction to Web Components

— Imagine you’re building a web application. And you want to add a date picker component to it. Now, you can either build it from scratch or you can use a third-party library like Flatpickr or Pikaday to do the job for you.

The genesis of the "Hello World" programs

— The “Hello World” program is the first program that most people write when they are learning a new programming language. It’s so widespread that even outside of the programming world, it’s used as a reference to the first step towards learning something new.

Things I write about

— I have been writing on my blog for well over 8 years now but more than 70% of articles have been published only in the last 3-4 years. So, what’s changed?

The best RSS reader for Linux

— Reading blogs is one of my favorite pastimes. As soon as I see an article from a blog that sparks interest in me, I’d instantly subscribe to it. And at this point, I have subscribed to more than 30 blogs and counting.

Mock JSON API endpoints for Testing

— So, imagine a scenario where you’re working on a project that has its front end (or a mobile app) ready to consume data from the backend. But, the backend is not ready yet. How would you test your front end in this case?

trash — A safer alternative to the rm Command

— The rm is the most commonly used command in the Linux/Unix world. It’s used to delete files and directories. But the problem with the rm command is that it deletes the files and directories permanently. There’s no way to recover them once they’re deleted.

How to find mention of your website across the web

— If you’re a creator of any sort, be it a blogger, a YouTuber, or a digital maker, it’s always a good idea to keep track of how the mentions of your website are doing across the web. This is important because it gives you a sense of how your website is doing in terms of popularity and how people are reacting to it.

Open-source tools I use as a developer on Linux

— As a developer on Linux, I use a lot of open-source tools to get the job done. In this article, I’ll be listing down all the fantastic open-source tools (not the obvious ones) I use as a developer on Linux.

I just self-verified my blog

— Twitter’s Blue tick verification is all the rage these days. By getting verified on Twitter, you can get a blue tick next to your name which makes you look more authentic and trustworthy.

Why send User-Agent while making API calls?

— While making API calls, we send different sorts of headers like Content-Type, Accept, Authorization, etc. But, have you ever wondered why we send the User-Agent header? In this article, I’ll talk about why we send the User-Agent header while making API calls.

Generate fake files of any size in macOS and Linux

— Oftentimes when working with applications, for the sake of testing things out we need placeholder files. For instance, if we have a file upload functionality, we may want to test it for a certain file type of a certain size.

An Ultimate Guide to Web Application Security

— Web application security is not just restricted to protecting the technologies or the features being used in developing an app; it’s more about safeguarding the methods, web servers, and processes. Moreover, it expands its horizons to protect web services such as APIs from online security threats.

My Recap of 2021

— The year 2021 is about to end in a few days and it’s the best time we can look back and reflect upon the things we’ve done, achieved, or some important milestones and welcome the new year which is standing right in front of our doorstep.

Publish now, fix later

— Yes! this is the strategy I have been following for my blog for quite some time now. It has helped me publish articles frequently and it has suited my schedule quite well.

Stories of how softwares/products got their name

— Sometimes, it’s kind of fascinating to know the origins of the products/projects we love. I personally find these stories quite amusing and insightful at the same time and so, here’s a collection of such software products/projects/companies and the stories of how they got their name.

My workflow for publishing articles

— After writing & publishing articles for about two years (consistently), I’ve sort of created a system when it comes to publishing an article. From ideation to hitting the publish button.

Try not to use ad blockers, please!

— I used to use Adblockers on my browsers a few years ago because I used to think that Ads are annoying and they probably are. For some people. Like the younger me.

My Coding Playlist

— Music had always played a important role throughout the evolution of the mankind. Programming is certainly no different.

This blog is my playground

— I started this website to establish my web presence on the holy internet. I wanted to keep a portfolio of my projects and to blog about random stuff (very rarely). Back then, I was only used to post articles whenever I feel like. But then, something’s changed.

Things I did to improve my blog over years

— When I started my blog three years ago, I didn’t intend to blog on a regular basis. Back then, I used to write about things which I learn on a day to day basis but that wasn’t very often. My frequency of posting an article was 1-2 articles per month.

Reviewing Chernobyl - The HBO miniseries

— I'm not a person who watches this "series thingies" more often but there are some exceptions. I've been always interested in the Chernobyl nuclear disaster that happened in Ukraine back in 1986 ever since I've been a teenager. Our textbooks have a little details about the incident but that was very brief.

How to pick topics for tech blogging

— If you’re a tech blogger(or any blogger in general) you must have faced this issue where you find yourself in a situation when you don’t have anything to write about. You feel like a blank slate and got demotivated. This situation is called as a Writer’s block.

Reusable code snippets using Live Templates in PHPStorm

— Let’s just admit this. If you’re a developer who works with PHP and you haven’t heard about PHPStorm, you’re assumed to be living in the rocks. Because PHPStorm is the best PHP IDE exist right now IMHO. The tagline on the homepage of it reads as “The lightening-smart IDE for PHP” and it’s really true. It has got all the features you’d need in order to become a fluent PHP programmer.

Happy 30th dear web!

— I fell in love with you the moment I discovered you. I still remember, you and I were still in our teens at that time. Whenever I searched you, you served me unconditionally. And even though we weren’t matured enough, our love still grown.. gradually. Call it “Love at first site” or “Love over time”, it will remain between us for an eternity..

Hello world!

— Hey guys, this is my first post after setting up my blog with Jekyll. I will update my blog more than often from now onwards.