Category Archives: Uncategorized

Using Google Chrome for Behat and Selenium2 Testing

This is rather quick. First of all, you need a fully working Behat and Selenium2 setup working, using Firefox as default. Once you achieved this, we can change it to use Google Chrome. First, download chromedriver at https://code.google.com/p/selenium/wiki/ChromeDriver and put … Continue reading

Posted in Uncategorized | 1 Comment

Rooting Cherry Mobile Cosmos X

My wife got a Cherry Mobile Cosmos X phone last month. It is a mid-range phone with good specs and is powered by Android Jelly Bean 4.2.x. I’m hesitant to root it but since I have successfully rooted my other … Continue reading

Posted in Uncategorized | 3 Comments

Managing passwords the secure but easy way

You may have read several news about companies whose customer’s passwords are being stolen and exposed to public – be it hashed or worst, plain text. Although it is impossible to totally protect your account from being compromised by having … Continue reading

Posted in Uncategorized | Leave a comment

Custom US Phone Validator with jQuery Validate Plugin

Just in case you haven’t tried this yet, it is fairly easy to create custom validator method for jQuery Validate plugin. In their example is the US phone validator and here is how it was implemented. Common setup For common … Continue reading

Posted in Uncategorized | 1 Comment

Custom sorting with jQuery DataTable plugin

Okay, this is rather quick. I’m working on a project where I need to customize the DataTable UI to sort a column having some euro date formats. I know there are proper ways to do it but sometimes, proper method … Continue reading

Posted in Uncategorized | 2 Comments

IE9 and the old bgiframe bug

Does your awesome script don’t work on IE9? Is it producing this error SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) on Google Chrome? It is most probably caused by the old jQuery bgiframe plugin which incorrectly identifies IE9 as IE6, thus wrecking … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

jQuery Gallerific Again – Adding a Callback Property

If you’re not aware, jQuery Gallerific plugin supports keyboard navigation for navigating through the images by using the arrow keys, space bar, end and home keys. I have added feature on my page so that captions can be edited in … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

jQuery Lightbox By Group

I have worked on a project that requires image zooming ala Lightbox. Since I’m comfortable with jQuery, I used the jQuery Lightbox plugin instead of the original. Everything was so easy until I encountered a page whose images are grouped. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Posted in Uncategorized | 1 Comment