First  |  Prev |  Next  |  Last
Pages: 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
Camping 2.0 - minature rails for stay-at-home moms
Magnus Holm wrote: require "uri";require "rack";class Object;def meta_def m,&b;(class<<self;self With this post, you have single-handedly restored the ruby-talk signal-to-noise ratio to 2002 levels. ... 9 Apr 2010 16:44
The Ruid Concept, with question
The Ruid Concept Not Spam (no link, no website, no book, no speech, no nothing like that) Is Ruby (written 100% in ruby, uses Ruby goodness, uses Ruby dynamic OO to the max) Is also CONCEPT – (but is also 100% implemented) Is this an appropriate Bored for such a thing? If not please explain ... 13 Apr 2010 18:27
ruby CGI sessions - mod ruby
Long time no type. I have a question about CGI sessions in Ruby. I'm adding a web front end to the (crazy) Ruby BBS. I want to be able to track and display the active sessions. In .asp (evil evil) this would be trivial. I can't figure out how to do it in Ruby. ... 9 Apr 2010 08:52
How to capture output of linux command
You can run linux command: a = `ls /home` and receive output in variable a. But I would like /home to be variable. So I would invoke command like this: a = `"ls #{dir}"` This of course doesn't work, but I hope you get the point. a = system("ls #{dir}") works, but returns only true or false not the ... 11 Apr 2010 21:13
zero-width positive "look-behind"?
> "tttttattttt".match(/ttt(?=a)/) # http://rubular.com/r/21Zo6JP09f => ["ttt"] "tttttattttt".match(/(?=a)ttt/) # http://rubular.com/r/d1VSUwwZUu => nil Why? And how can I get this effect? ... 9 Apr 2010 08:52
Closing and reloading compiled extensions
I would like to be able to do the following: 1. Write and compile a C extension containing nothing but singleton methods defined on "self". 2. Load the extension multiple times, attaching these methods to different objects. 3. Make changes to the extension, rebuild it, and replace the defined methods on select ... 8 Apr 2010 21:55
read and write stock prices to file using arrays
I'm trying to write a script that will take stock ticker symbols from a file, pull the company name and current price and write it back to the file while ignoring comments and blank lines so as to leave the rest of the file intact. I can get the stock prices etc. i'm after using the yahoofinance module http://ww... 9 Apr 2010 18:58
importing config files
Hi everyone, I am writing a program for my research that uses configuration files. I was curious how to import these files into my ruby program. Any help would be appreciated. If it helps, I am running ruby 1.9. Cheers, dlucci -- Posted via http://www.ruby-forum.com/. ... 9 Apr 2010 06:41
[QUIZ][SUMMARY] Distinct Sets (#225)
[Note: parts of this message were removed to make it a legal post.] Many members of the Ruby Community contributed solutions to this quiz. Some long time veterans as well as first time contributors. Thanks everyone for the great turnout! `Set#divide` is an interesting method that came up during the discussion.... 8 Apr 2010 17:25
any way to use RSA1 for ssh in ruby?
I saw a number of places say that Net::SSH does not support rsa1. Is there any other gems or ways I can get the functionality of driving an ssh session using an rsa1 key? -- Posted via http://www.ruby-forum.com/. ... 8 Apr 2010 12:33
First  |  Prev |  Next  |  Last
Pages: 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137