Genetic Algorithm
5
Random String
3
create a random string of 16 chars
2
Well, ruby is actually so flexible that there is no real need to implement the goode olde signals & slots metaphor. But it serves nicely as demonstration of ruby properties, so here we go.
1
This little function does great for passwords, usernames, files, and anything else you need a random string for.
1
From time to time you may have reasons to override the default find method that ActiveRecord provides. In this example, we'll store a side-copy of the record attributes so that we have some basis for discovering changes to the data.
note: this will not override dynamic finders such as find_by_id
note: this will not override dynamic finders such as find_by_id
1
A quick implementation of an encrypter which can't be cracked by frequency analysis.
1
The decrypter for the simple encrypter I posted earlier - Takes the encrypted text from a text file - "encrypt.txt" which the encrypter automatically writes to.
1
A simple algorithm to convert decimal numbers to binary; pointless since most languages have an inbuilt function but was used for learning about algorithm design.
1
This php script provides a unique random key with 32 characters and can be used to avoid the system to pass some primary keys across the url, by example.
1
Directory Utility for Ruby









