Welcome To Snipplr
Everyone's Recent Ruby Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1
785
posted 16 years ago by jhenry
Creates a SSL connection with delicious API using the HTTP basic authentication.
4
917
posted 16 years ago by pmd
Returns the cartesian product of the receiver and the arrays given as arguments.
1
938
posted 16 years ago by ishikawa
This script will setup JBoss 4.2.2 to use null persistence (no DB, see http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence) when handling JMS messages.
1
702
posted 16 years ago by narkisr
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3
1408
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3
1250
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1
1233
posted 17 years ago by chrisaiv
There are many functions available for Time, Month, Day, and Year. Below are a few examples I use frequently
1
981
posted 17 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson
user$ sudo gem install creditcard
6
1100
posted 17 years ago by chrisaiv