Welcome To Snipplr
Everyone's Recent Snippets Tagged ruby
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
559
posted 18 years ago by komor
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
1027
posted 18 years ago by tjstankus
This method generates random (and printable) ascii characters.
1
965
posted 18 years ago by ishikawa
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
1162
posted 2024 years ago by aravet