Blog

Some of my recent posts and ramblings.

CCValidator – A simple client side credit card validator

A jQuery plugin which highlights the credit card issuer and performs Luhn algorithm validation for credit cards. Try it out below (Nothing is posted or saved, it is all client side).


After reading the Steve Jobs biography


Troxler’s fading in CSS

Found this on Reddit couple of days back and thought of getting some CSS practice. Webkit only though. Firefox works too without the animation, but you can still see the effect.

Troxler’s fading or Troxler’s effect is a phenomenon … more


Browseup

After going through another round of frustrations with cross browser compatibility, I created this ‘upgrade your browser’ page. Come on people, browse up.

The design is inspired by the new Blue Screen of Death in Windows 8. Download the code from Github, you can also see a demo of the page here. Switch the theme for a dark version.


Prevent multiple registrations by same email in mura

This was a request from one of the site visitors (my first request :)).

It was easy enough, the code is in the validate() method in userBean.cfc. You just need to add the highlighted lines in. Instead of modifying the … more


Building and hosting a free website

This is about a fun and very enlightening experience I had building the website for DC Diaper Bank, a non-profit organization that collects baby diapers for needy families in the Washington DC metro area.  The existing site was built … more


Deer sighting


This is how horror games should be done

 … more


Add user to a mailing list in the sign up form in Mura

I’m not sure if this functionality is already in mura, but I couldn’t find anything after browsing the forums. All I found was ability to add to mailing list from a custom form with 2 hidden fields, mlid = {mailing … more


Send account activation emails to users on sign up in Mura

This is a very simple way to send account activation emails and activate the user account once they click the link in their emails in mura. It uses encrypted usernames as the passphrase in the activation emails. You can set … more