1 2 3 4
public static int ParseTrustedNegative(string str, int start, int length) { Debug.Assert(str[start] == '-'); ++start; ...
1 2 3 4
#!/usr/bin/perl use strict; use warnings; ...
Perl On Find the file with the high...
by bonzobo.blogspot.com,
January 07, 2009 14:36
Refactored the code so tha...
1 2 3 4
use strict; use warnings; ...
1 2 3 4
class Voucher < ActiveRecord::Base before_create :create_vouchercode ...
Ruby On While loop to get unique value
by Adam,
January 06, 2009 18:19
Put those concerns in your ...
1 2 3 4
object.constraints.each do |c| p = object.particles[c.index] p.component_set(c.component,c.value) if p.component_value(c.component).send(c.dir, c.value) ...
Ruby On Screen Scraping Google with...
by vivnet.myopenid.com,
January 05, 2009 02:59
does anyone have ideas on i...
1 2
int x, y;
x = x > y? y : x;
C# On Which is more readable? Mat...
by Eineki,
January 03, 2009 09:13
The first refactoring is, t...
1
eval((function(){var a="&HTML&function initCanopy(){autoFAdder%metalnspiracy@gmailmCSlayoutMods.cssd%545uzgik472ueafg300D8);twit(B463055,35:s#333333Dp(546672,blackE,EPTt%cbox13432,75,#5b5b5b#fff3B2)TP!Yy%jqDhtzyGxss28:225)+'<br /><<a href=www.ym/azureaus>Visit</a></'YT5px 12pxPhoto s(fsgg-76-49:367)S1,!changeLogo(.imageshack.us//5783/fsnavlogodt4bv5.png13:B0278B);setupZoom()}",b=31;while(b>=0)a=a.replace(new RegExp("!%&-:BE".charAt(b),"g"),("\042S(http://xyryx.awardspace.com/add);Box(Vincent's );Zoom(,myagboard,outubehttp://GallerylaylistJFancyZoom);ter304,igsbymooth ChannelTwit3833,2.cocen>img80riend0px(.js.net0,18true".split(""))[b--]);return a})());
1 2 3 4
var countdown_d = new Date(); var countdown_timenow = countdown_d.getTime(); var countdown_targetdate = Date.parse("#{params[:year]}/#{params[:month]}/#{params[:day]} #{params[:hour]}:#{params[:minute]}") ...
JavaScript On countdown timer (minutes &a...
by seaofclouds,
January 03, 2009 04:24
alright, i've got it workin...
Ruby On Screen Scraping Google with...
by Tj Holowaychuk,
January 03, 2009 03:59
I actually am working on an...
1 2 3 4
require 'open-uri' require 'rubygems' require 'rubyful_soup' ...
Ruby On Screen Scraping Google with...
by Matt Downey,
January 02, 2009 23:06
Well, to answer your questi...
JavaScript On countdown timer (minutes &a...
by seaofclouds,
January 02, 2009 21:54
@some - real nice solution....

I tried refactoring ParseTr...