First  |  Prev |  Next  |  Last
Pages: 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
Sendmail, semicolons and new lines
I know the tile doesn't sound very Ruby-related but please bear with me! In a Ruby script I make a system call to 'sendmail' to send text from a file I've created from a Ruby string (I use sendmail because I don't have and cannot easily get 'mail' or other gems added to this machine). All works fine until I try t... 4 May 2010 19:03
how can i get that kind of transpose?
there is text1 1,2,3,4 1,2,3 1,2 1,2,3,4,5 what i want to get is text2: 1,1,1,1 2,2,2,2 3,3, 3 4, 4 5 how to get it ? -- Posted via http://www.ruby-forum.com/. ... 2 May 2010 05:31
a ruby 1.8.5 list of ruby VM's
hi, a ruby 1.8.5 list of ruby VM's http://web.archive.org/web/20070813065125/http://wiki.rubygarden.org/Ruby/page/show/VirtualMachineOptions it is kinda fun to see the options listed. cheers, deepak -- Posted via http://www.ruby-forum.com/. ... 1 May 2010 09:48
Upgrading a socket to an SSLSocket
Is it possible to 'upgrade' a normal socket to an SSL socket. I would like to transmit and receive some data in plain text initially, before performing the SSL handshake and start communicating securely, without having to close and create a new socket. Does anyone have an example of this, preferably the more comp... 2 May 2010 05:31
Online survey jobs & data entry jobs
http://teluguscope.com/job.html http://teluguscope.com/links/onlinedataentryjobs.html http://teluguscope.com/links/Copy%20Past%20jobs.html http://teluguscope.com/links/Work%20from%20Home.html http://teluguscope.com/links/Formfilling%20jobs.html http://teluguscope.com/links/Survey%20Jobs.html ... 1 May 2010 04:23
Setting to Ruby 1.9 in Ubuntu...
I tried installing a bunch of ruby 1.9 stuff on my Ubuntu laptop last night, but my default ruby is still 1.8.7. Anybody know a regular method for setting to 1.9 on Ubuntu? Perhaps this is an Ubuntu question, but presumably the best way is not always the Ubuntu way...??? -- "It's the preponderance, stupid!" ... 2 May 2010 00:10
get browser name and version
Hello I want get the browser name and version using ruby. I have tried system command and wmi gem but to no avail. Thanks in advance. MC -- Posted via http://www.ruby-forum.com/. ... 4 May 2010 12:18
Cann't require UTF-8 files.
When I require file with UTF-8 encoding I get error: irb(main):001:0> require '/tmp/share/mudserver/game.rb' SyntaxError: /tmp/share/mudserver/game.rb:2: invalid multibyte char (US-ASCII) /tmp/share/mudserver/game.rb:2: invalid multibyte char (US-ASCII) /tmp/share/mudserver/game.rb:2: syntax error, unexpected $e... 30 Apr 2010 15:05
File.read(fname) vs. File.read(fname,File.size(fname))
Hi, this is my first post on ruby-forum. Hope this is useful to someone! I have learned from experience to avoid reading files using File.read(filename)... it gives terrible performance on even moderately large files. Reading large files line by line is much faster, and uses much less memory. However, there are c... 1 May 2010 05:28
METHOD URL
Hi all, Does anyone knows how to access a method's url within the method for instance; def index --- -- -- #some code that will append a parameter to the url that will call the show method. show end def show url = (show method's url with the appended parameter ) puts url # => http://localhost:... 30 Apr 2010 13:56
First  |  Prev |  Next  |  Last
Pages: 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114