How to setup Google reCAPTCHA in a ReactJS app?

Google’s reCAPTCHA is an industry standard when it comes to fighting bots. Integrating it in a regular web app has almost become a no-brainer, thanks to plugins available on almost every platform to do the job. With this expectation, I started…


How to install ColorThief in a NodeJS project?

ColorThief is an incredibly cool library that not only gives you dominant color of a given image but also generates a color palette out of it. However, trying to make it work in a NodeJS project can become devilishly hard because of its…


When not to use Q.denodeify?

Q is a promising promise library, and Q.denodeify is a savior from pyramid of doom in NodeJS apps, but:

Do not use Q.denodeify for those NodeJS functions which don’t follow error-first callback approach.

Legit use:


Mimicking JavaScript’s alert, confirm and prompt in iOS

While some people argue against these functions, I think they are pretty good tools for rapid prototyping. And I really missed them in iOS, so I created similar functions in my iOS projects. Here is how they can be used:

[sourcecode…