Welcome To Snipplr


Everyone's Recent Ruby Snippets Tagged c



Beware of requiring 'CGI'. There's trouble in them thar hills/
1 941 posted 18 years ago by cczona
1 1437 posted 18 years ago by wastepixel
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1 1469 posted 18 years ago by jhenry
2 1195 posted 18 years ago by sou
Very quick and dirty Pythagorean triples generator
1 1236 posted 18 years ago by lukaszkorecki
1 1103 posted 18 years ago by ctran
Creates a SSL connection with delicious API using the HTTP basic authentication.
4 1627 posted 18 years ago by pmd
Returns the cartesian product of the receiver and the arrays given as arguments.
1 1655 posted 18 years ago by ishikawa
Originally written by Erik Kastner (@kastner).
1 1439 posted 18 years ago by jrphelps
snippet from project.ioni.st - Marcel Molina (?)
3 2420 posted 18 years ago by tcol
Difficult to find in documentation but so easy
3 2796 posted 18 years ago by arnoldu
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 1361 posted 18 years ago by narkisr
1 1505 posted 18 years ago by vanne
1 1255 posted 18 years ago by vanne
1 1342 posted 18 years ago by jhenry
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3 3211 posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3 3062 posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1 2936 posted 18 years ago by chrisaiv
There are many functions available for Time, Month, Day, and Year. Below are a few examples I use frequently
1 1741 posted 18 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson user$ sudo gem install creditcard
6 2835 posted 18 years ago by chrisaiv