# Read data and convert it
file = File.open("18.txt", 'r')
data = []
...
Ruby On I'm having trouble thinking...
by darkleo.myopenid.com,
May 24, 2010 10:39
Ruby On Anagram Solver
by darkleo.myopenid.com,
February 19, 2010 22:01
and what wrong with reverse...
Ruby On Symplify few loops
by darkleo.myopenid.com,
February 07, 2010 21:44
@Ants : It is obviously muc...
def self.load_bmp name
fail unless FileTest.exist?('Media/'+name)
file = File.open('Media/'+name, 'rb')
...
Ruby On Symplify few loops
by darkleo.myopenid.com,
January 31, 2010 21:36
I read `data`, `width` and ...
for y in 0...height
for x in 0...width
# BGR => RGB & miror y
...
Ruby Symplify few loops
I need to reformat .bmp dat...
Range#map ?