Welcome To Snipplr


Everyone's Recent Snippets Tagged ruby



1 ... 9 10 11 12 13 Next »
0 601 posted 17 years ago by whitetiger
0 598 posted 17 years ago by whitetiger
1 734 posted 17 years ago by whitetiger
1 717 posted 17 years ago by whitetiger
1 789 posted 17 years ago by whitetiger
This snippet is Polish-language specific. This class expands a number (Fixnum or Bignum) into a string with a textual representation of that number in Polish language. Currency suffix supported. Example: 456 -> "four hundred fifty six" (but in Polis...
0 446 posted 17 years ago by komor
0 540 posted 17 years ago by ttscoff
1 548 posted 17 years ago by andyh
by xurde
2 643 posted 17 years ago by xurde
1 545 posted 17 years ago by andyh
1 494 posted 17 years ago by andyh
0 785 posted 17 years ago by jnunemaker
0 686 posted 17 years ago by jnunemaker
2 813 posted 17 years ago by jnunemaker
1 535 posted 17 years ago by bbuckley
Simple HTTP server daemon (webrick).
1 635 posted 17 years ago by ishikawa
The key here is display:none being in the style attribute of the affected div. It will not work if it's in a separate CSS file.
6 817 posted 17 years ago by tjstankus
2 710 posted 17 years ago by Catfish
3 792 posted 17 years ago by nolith
2 637 posted 17 years ago by darthapo
This method generates random (and printable) ascii characters.
1 771 posted 17 years ago by ishikawa
2 565 posted 17 years ago by yaguta
3 1087 posted 17 years ago by Catfish
reference: \n http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
7 938 posted 2024 years ago by aravet
1 ... 9 10 11 12 13 Next »