July 1, 2014 6:28 pm
It’s probably just me, but one of the best way to start a day is by being greeted with an inspirational quote from great people. In fact not just at the beginning of the day but perhaps any time when you are feeling a bit tired or stressed. Opening a... View Article
July 24, 2013 7:33 am
There had been a couple occasions where I had to create a sidebar on a website that will stay visible no matter how much the user scrolled. This is pretty easy of course if you just want to stick the sidebar to the absolute top using fixed positioning, but of... View Article
May 19, 2013 9:21 pm
Have you ever had to present a list then filter based on the keywords that the user entered? I have and it was pretty simple to do, however it did require a bit of research. Since I’ve done it I might as well share it with you all. The technique... View Article
April 22, 2013 7:37 am
Last weekend I did some modifications to this website, if you are reading this from a mobile phone you’ll notice that this website is now using responsive web design to some extend. The original site would never adapt to mobile devices and was a bit hard to read when read... View Article
April 13, 2013 12:39 pm
Visitor pattern is one of my favourite software engineering design pattern. This technique enables us to extend the functionality of an object without having to modify its class codes. In a nutshell, this patten involves one main object and many visitors objects. The main object will have the ability to... View Article
March 6, 2013 8:52 pm
Most people, beginners and professionals alike find regular expressions sometimes confusing, perhaps because developers do not really use this in their everyday development. As of the time this post was written, there were about 53000 questions in stackoverflow concerning regular expressions in some repect; surely this points out how many... View Article
February 26, 2013 1:47 pm
Before we look at the code snippets, yes there is no such thing as associative array in JavaScript, they are all objects. But really, a lot of people search for “how do we get JavaScript associative array length?” so I might as well publish this short post. So say we have an... View Article
February 11, 2013 11:34 am
One of the more common mistakes that web developers made is the scoping of “this”. This would be one of the criteria of understanding that most testers would look at when hiring new developers. This short post will show a simple code snippet showing how to keep the scoping of... View Article