Welcome To Snipplr


Everyone's Recent Snippets Tagged ruby



1 ... 9 10 11 12 13 Next »
0 589 posted 17 years ago by whitetiger
0 574 posted 17 years ago by whitetiger
1 716 posted 17 years ago by whitetiger
1 699 posted 17 years ago by whitetiger
1 772 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 440 posted 17 years ago by komor
0 524 posted 17 years ago by ttscoff
1 534 posted 17 years ago by andyh
by xurde
2 629 posted 17 years ago by xurde
1 531 posted 17 years ago by andyh
1 479 posted 17 years ago by andyh
0 766 posted 17 years ago by jnunemaker
0 661 posted 17 years ago by jnunemaker
2 792 posted 17 years ago by jnunemaker
1 522 posted 17 years ago by bbuckley
Simple HTTP server daemon (webrick).
1 615 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 784 posted 17 years ago by tjstankus
2 687 posted 17 years ago by Catfish
3 773 posted 17 years ago by nolith
2 622 posted 17 years ago by darthapo
This method generates random (and printable) ascii characters.
1 751 posted 17 years ago by ishikawa
2 552 posted 17 years ago by yaguta
3 1060 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 905 posted 2024 years ago by aravet
1 ... 9 10 11 12 13 Next »