What Makes Node.js Popular?

Of late, Node.js has risen in popularity. There used to be a time when Node.js was being termed as cancer (seriously), followed by another period when it was described as the cure for cancer (again, seriously). However, all of the debates came to a halt once Ghost, the newest sensation in the blogosphere, decided to opt for Node.js as its backbone.

So, what exactly is the reason behind the rise in popularity of Node.js? While a lot many reasons can be cited for the same, there is one primary one, which has nothing to do with scalability or performance. Continue reading


Fixing mod_rewrite And .htaccess For Clean URLs

In order to enable SEO-friendly URLs, many web hosts require mod_rewrite. This is especially true if you are on a shared hosting platform. While mod_rewrite does not always result in big issues, sometimes, if you try to hit a deep URL, you might end up with 404 errors.

This post talks about how to fix mod_rewrite and .htaccess on shared hosting in order to avoid 404 errors when using clean URLs. Continue reading


Enabling GZIP Compression on nginx Servers

I recently started writing for Envato’s Market Blog, and my very first post talks about Google PageSpeed Insights.

It is common knowledge by now that a speedy website is loved by everyone, including search engines and humans. Thus, compressing your scripts and images is a good idea to optimize your website’s load times. In this post, I will talk about an easy way to enable GZIP compression on nginx servers.  Continue reading


Fighting Comment Spam: A Different Method

Dealing with spam comments is a very annoying task that almost everyone running a website has to face on a regular basis. While for most blogs and websites, solutions such as Akismet do the job of keeping spam away, in some cases, normal anti-spam solutions simply do not suffice.

As a result, I came up with a slightly different approach to combating comment spam. I have used it mostly on my WordPress websites, though it can work with anything that uses PHP and JavaScript. Continue reading


Using reptyr To Move Processes in Linux

If you are a frequent user of the Linux terminal, you must already be aware that switching running processes across terminals is a tedious task. If you launch 3 different processes from 3 terminals, all of them continue to run in parallel, until the process in the current terminal completes its task.

Quite obviously, it would be great if we could bring the other two processes to the current terminal without actually having to switch terminals. This post explains the same. Continue reading


4 Things The Linux Desktop Badly Needs

Over the course of the last few years, the Linux desktop has come a long way. It began as a modest set of basic computing tools, but today it boasts of features that are either entirely unavailable in MS Windows, or available only in the form of proprietary addons.

However, there is still a long way to go, in terms of features and solutions. In this article, I will enlist four features that, I believe, the Linux desktop badly needs. Continue reading


Hello World!

This is my first blog post, and WordPress wants me to edit it, so yeah, I’m doing that.

I’ve been thinking of starting a blog about web design and development for quite a while. I do write regularly for other blogs and magazines, so why not spare some time for a publication of my own? 

So here we go! Code Carbon it is! Continue reading