Welcome To Snipplr


Everyone's Recent Snippets Tagged ruby



1 ... 9 10 11 12 13 Next »
0 1424 posted 19 years ago by whitetiger
1 1620 posted 19 years ago by whitetiger
1 1665 posted 19 years ago by whitetiger
1 2032 posted 19 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 1051 posted 19 years ago by komor
0 1350 posted 19 years ago by ttscoff
1 1356 posted 19 years ago by andyh
by xurde
2 1607 posted 19 years ago by xurde
1 1416 posted 19 years ago by andyh
1 1312 posted 19 years ago by andyh
0 1767 posted 19 years ago by jnunemaker
0 1572 posted 19 years ago by jnunemaker
2 1932 posted 19 years ago by jnunemaker
1 1331 posted 19 years ago by bbuckley
Simple HTTP server daemon (webrick).
1 1511 posted 19 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 2734 posted 19 years ago by tjstankus
2 1773 posted 19 years ago by Catfish
3 2719 posted 19 years ago by nolith
2 1760 posted 19 years ago by darthapo
This method generates random (and printable) ascii characters.
1 1931 posted 19 years ago by ishikawa
2 1344 posted 19 years ago by yaguta
3 2428 posted 19 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 3179 posted 2026 years ago by aravet
1 ... 9 10 11 12 13 Next »