New to RedHanded? About our sections.
Archive
- December 2004
- January 2005
- February 2005
- March 2005
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- February 2006
- March 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- October 2006
- November 2006
- December 2006
- January 2007
- February 2007
- March 2007
- April 2007
- May 2007
Get your copy of Programming Ruby!
Links
@technorati@del.icio.us
@flickr
@artima
@caboo
@oreilly
ruby
-> docs
-> wares
-> wiki
-> forum
-> quizzes
-> planet
-> irc
rubyweeklynews
rails
-> wiki
-> planet
-> irc
%anarchaia
%projectionist
~audreyt
~black
~britt
~buck
~copeland
~fernandez
~fowler
~hansson
~hodel
~hoy/7
~hwang
~luetke
~matz
~mental
~olson
~pragdave
~premshree
~neukirchen
~robby
~rousette
~topfunky
~voorhis
~weirich
~zenspider
Syndicate
Built upon Hobix
Got a story for us? E-mail it!
eric
The (ele/”font” never for-GETs!
DouglasFShearer
A sneaky way to use google to search your site without acknowledging them!
F. T. Marinetti
chickenkiller
It’s alive! It’s alive!
your poor mom
Congrats on making your code even harder to read!
foomanchu
hi
beppu
whoa… I didn’t know you could do:
The .. in that context looks way useful.
frubar
ok we get it
Douglas F Shearer
(ele/("font" .. "font/br")).to_html
Looks useful but errors for me.
Morgan
...although it’d be cool if ’...’ worked, and excluded the br tag match at the end.
no comments kill kittens
teh only thing preventing you from ascension to godliness is a # at the start of a line with some meaningful text after it.
beppu
Thanks, Morgan.
gnufied
Its like Thom Yorke has started programming. :)
Mike
If we’re talking nostrils, it ought to be posted by why the lucky sniff, no?
I’ll get my coat…
Morgan
Probably not the cleanest solution, but it works for me:
Support ’...’
why
Okay, great! Thankyou, Morgan.
don-o
i get NoMethodError: undefined method `filter[..]’ for #
Douglas F Shearer
don-o – See Morgan’s first comment for the solution.
I threw together a very rough controller and view to use this as a site search. Works well. I did get blocked by Google for a while after multiple identical requests though.
alternative text
So … how about that alt attribute? Would sure be neat for that grafic up there.
Ratchetcat
That is a thing of beauty. My soul is weeping tears of joy.
Kenny
claps
delmore
dont ever stop displaying your code creatively! The nay-sayers wish they could just copy/paste their entire LIVES and be done with it!
Pimpup
require 'Rmagick' <br/> include Magick <br/> code = ImageList.new('aside-from-that-there-is-a-range.gif') <br/> code.write('deranged.pgm') <br/>
elsewhere:
gocr -i deranged.pgm <br/> u_' = '' h_p_./,_vv :h__.v_ suL;_n_ ;.._ L , , : ; : , .,,. ,: : L: . _LI -1 t ( . e s c a 0 e ( s e a c c h ( p r ' (0_een(uri))/'' (li _1. ,'' ).ma p _ Iele 1 (_l_le _> ele. a ( ''_'').;nner_1ex1, _.I:n_ => e Ic. a t ( '' a''t['href'], _.d.e_{_:_: ?r:u :: _ _J r,ele/('' fo nt''..''font(br'' )).1o_html)
darn, I wished that worked