Ruby On ActiveRecord find_by_sql
by Tj Holowaychuk,
January 18, 2010 15:03
well there is a huge securi...
JavaScript On Money formatting
by Tj Holowaychuk,
November 26, 2009 06:59
damn, mine is twice as slow...
JavaScript On Money formatting
by Tj Holowaychuk,
November 26, 2009 05:42
It can be done pretty easil...
1 2 3 4
function format_money(n) { var buf = [], ...
JavaScript Money formatting
Just needed to whip up a re...
1 2 3
function GET($key, $default = null) {
return $_GET[$key] || $default;
}
PHP On An easy one: traversing thr...
by Tj Holowaychuk,
November 16, 2009 16:54
If only PHP did not suck so...
1 2 3 4
def get_token self.class.precedence.each do |token| if val = send(token) ...
Ruby lexer
by Tj Holowaychuk,
November 13, 2009 16:41,
5 refactorings
Everything else in my lib i...
JavaScript On Need help with creating a loop
by Tj Holowaychuk,
November 01, 2009 20:56
dont use for / in with an a...
C On C Array Implementation
by Tj Holowaychuk,
October 19, 2009 21:17
ah lame. as far as i know t...
1 2 3 4
Dice = Class({ init: function(){ ...
JavaScript On My1stJavascript: Dice roller
by Tj Holowaychuk,
October 19, 2009 17:30
Check out my tiny js-oo lib...
1 2 3 4
;(function(){ Dice = function() { ...
JavaScript On My1stJavascript: Dice roller
by Tj Holowaychuk,
October 19, 2009 17:29
Your not utilizing the OO a...
C On C Array Implementation
by Tj Holowaychuk,
October 19, 2009 15:16
I dont know any C++ (well a...
Ruby On Roman numeral parser
by Tj Holowaychuk,
October 16, 2009 22:05
oh.. fuck.. haha I should h...
1 2 3 4
module RomanNumeral ...
Ruby Roman numeral parser
by Tj Holowaychuk,
October 16, 2009 18:43,
3 refactorings
little parser. I am working...
still there lol.. google sq...