puts '1' puts '2' puts 'buzz' ...
Ruby On Challenge: Ugliest Ruby Fiz...
by Gary Haran,
December 20, 2007 22:23
JavaScript On I care about older browsers...
by Gary Haran,
October 31, 2007 14:59
No sir. This was client si...
document.write ('<noscript>\n');
document.write (imageClick);
document.write ("</noscript>");
JavaScript I care about older browsers...
by Gary Haran,
October 30, 2007 22:30,
3 refactorings
I found this great piece of...
class String
def postal?
self.match(/[a-zA-Z]{1}\d{1}[a-zA-Z]{1}([\x20-])*\d{1}[a-zA-Z]{1}\d{1}/) ? true : false
...
Ruby Is This String Postal?
We've had the debate over w...
Object.extend(Date.prototype, {
isLeap: function(){
var year = this.getFullYear();
...
JavaScript On Is this year a leap year?
by Gary Haran,
September 21, 2007 08:05
Indeed we could remove one ...
Object.extend(Date.prototype, {
isLeap: function(){
var year = this.getFullYear();
...
JavaScript Is this year a leap year?
by Gary Haran,
September 21, 2007 07:16,
13 refactorings
I'm pretty sure we can figu...
String.prototype.hello = function(){
alert('hello world!');
}
...
JavaScript Hello World
by Gary Haran,
September 17, 2007 13:09,
1 refactoring
This is simply to test out ...

Mine runs faster than yours