Neat Little Tricks by Anup Bishnoi

Simple jQuery Mobile Page Templating Pattern

jQuery Mobile has a concept of pages at its core. Top-level divs can be specified as pages and you each page becomes a mobile screen with transitions between them. The pattern shown here can be used to integrate templating into your jQuery Mobile app easily, using Underscore templates (or jQuery tmpl if you prefer).

Exposing Firebase data as REST-like ORM store in Node.js

A quick and dirty solution for the times when you want to connect to Firebase from the server, and not directly from the client browser, exposing Firebase data as simple asynchronous calls in Node.js.

What's slowing your website down?

Get a quick list of resources in your website that loaded slowly during page load, using Chrome DevTools.

Exporting Amazon RDS database using mysqldump

Getting MySQL data out from Amazon RDS databases is frustratingly hard and makes you want to kill yourself when it finally works without the port number.

Synchronous Callback Sequence in JS

Sometimes you need a sequence of callbacks to run synchronously and break out of the whole sequence as soon as one of them fails.

Colorful Console Logger in JavaScript

Logging that looks good and helps you debug faster.

Simple JavaScript assert

It's better to fail with your own error than undefined is not a function.