|
irb not recognized in windows command line I'm reading Beginning Ruby and followed the installation process , using the one-click installer for Windows from Ruby Forge. I successfully loaded fxri. Received the following message after typing irb in the Windows command prompt: 'irb' is not recognized as an internal or external command, operable program o... 5 Jul 2008 17:37
rainbow tables hi, here is my script so far to make rainbow tables require 'digest/md5' string = "a" File.open("rainbow.txt", "a") do |f| while string != "zzzzzzzz" md5 = Digest::MD5.hexdigest(string) f.puts string + " : " + md5 string = string.next end end but string only goes into lowercase characters i.e ... 5 Jul 2008 16:36
Don't understand NoMethodError Here is the code so far: <code> require 'rubygems' require 'fastercsv' require 'highline/import' def ukquotes(the_string) #RTF specific: converting double to single quotes the_string.gsub! /\\'d2(.*)\\'d3/m, "\\'d4$1\\'d5" the_string.gsub! /(\W)'/, "$1\\'d4" the_string.gsub! /'(\W)/, "\\'d5$1" ... 5 Jul 2008 14:33
Slide Show (S9) Gem Now Includes S5 Support (Including Built-InGradient Themes) On Jul 4, 2008, at 12:03 PM, Gerald Bauer wrote: Thanks for the pointers. Adding formulas is definitely a next step. Any contributions welcome. Cheers. Inspiration found here ... <http://github.com/TwP/webby/tree/master/lib/webby/helpers/tex_img_helper.rb Tailor to suit your needs. Bless... 5 Jul 2008 12:31
Does Ruby have any advantage over Python to create semantic applications? If you're working with natural language, then Ruby, Python and Perl can all cope. Although I don't know Python -- after a brief investigatin I went for Ruby instead when looking for a successor to Perl -- I would say there's nothing that one language can do that the other can't, though you might do it in a diff... 5 Jul 2008 09:27
Open a remote file and edit it Guys i want to open a file on another machine lets say test.txt, read it find (grep) for example the text "localhost" and replace it with a machine name and then close the file. I can connect to the machine using ssh or sftp but as far editing a file I'm not sure how to. Any help much appreciated. -- Posted vi... 5 Jul 2008 07:25
amalgalite 0.2.0 Released Jeremy Hinegardner <jeremy(a)hinegardner.org> wrote: Amalgalite embeds the SQLite database engine in a ruby extension. There is no need to install SQLite separately. Look in the examples/ directory for examples on: * general usage * blob io * schema information i've tested your online exampl... 5 Jul 2008 15:35
sqlite3 Re: title avoiding spurious response Une B�vue <unbewusst.sein(a)weltanschauung.com.invalid> wrote: for each db.execute row, i get a spurious respense like : sql = SELECT DISTINCT * FROM moz_bookmarks WHERE title LIKE '%\U%'; block_given? = true bind_vars.empty? = true db = #<SQLite3::Database:0x4e5b9c>, db.type_translation() = false, stmt ... 5 Jul 2008 15:35
Regexp help please Hi All, I am trying to extract quoted text fromlines in a file. Assume I have read in a line as follows type "this piece of text" into field called "search field" I then want to extract the two pieces of quoted text from this line. I'm halfway there with this line =~ /(".*?")/ this will match the first pi... 5 Jul 2008 09:27
title avoiding spurious response for each db.execute row, i get a spurious respense like : sql = SELECT DISTINCT * FROM moz_bookmarks WHERE title LIKE '%\U%'; block_given? = true bind_vars.empty? = true db = #<SQLite3::Database:0x4e5b9c>, db.type_translation() = false, stmt = #<SQLite3::Statement:0x4db1c4> check( 101 ) -> message: /opt/local/li... 5 Jul 2008 06:24
[ANN] Autumn 3.0: Easy, fresh, powerful IRC bots Autumn 3.0 has been released and is now on GitHub. Autumn is still one the simplest and most powerful ways of writing IRC bots in Ruby. Autumn 3.0 makes it easier to distribute your bots, and, with ERb view templates, brings Autumn one step closer to being Ruby on Rails for IRC. Writing a bot is still as simple as... 5 Jul 2008 05:23
unsubscribe [Note: parts of this message were removed to make it a legal post.] -- Engr. Benedict B. Banquil, MEngg (AIT) Assistant Professor College of Engineering University of San Jose Recoletos Cebu City 6000 Philippines ... 5 Jul 2008 02:20 |