First  |  Prev |  Next  |  Last
Pages: 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
pass a password to ssh
Anybody know how to pass a password to ssh? with this: require 'open3' stdin, stdout, stderr, thread_on_doze = Open3.popen3 'ssh user(a)host' ssh somehow appears to bypass and still require the password from the terminal [?] Thanks. -rp -- Posted via http://www.ruby-forum.com/. ... 7 Apr 2010 16:52
[ANN] splib 1.4.3 released
Splib is a library of helper methods and classes. Nothing fancy or flashy, just some simple helpers that are tested and known to work on Ruby >= 1.8.6 as well as JRuby 1.4.0 Quick overview in the README: http://github.com/spox/splib # Changes in this version: * Added new Splib.sleep to return actual sleep ... 6 Apr 2010 19:50
Custom Exceptions
[Note: parts of this message were removed to make it a legal post.] Hi everyone I want to make a custom exception like so: class BillRowError < StandardError def initialize(field, index) @field = field @index = index end end I'll call this like so: raise(BillRowError.new(:roam... 6 Apr 2010 18:42
Find a set of common elements from a multi-dimensional array
I have a multi-dimensional array ; a=[[2,3,4],[1,3,4],[1,2],[1,2,3,4]] i've to compare all the 4 sub-arrays and get common elements.Next,take 3 subarrays at a time and get common elements.then take 2 sub arrays at a time and get common elements. -- Posted via http://www.ruby-forum.com/. ... 6 Apr 2010 09:39
[ANN] kramdown 0.6.0 released
## About kramdown kramdown (sic, not Kramdown or KramDown, just kramdown) is a *free* GPL-licensed [Ruby](http://www.ruby-lang.org) library for parsing a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made p... 6 Apr 2010 07:28
Defender v1.0.0beta1
Defender is a ruby wrapper for the Defensio spam filtering API. Version 1.0.0beta1 is a complete rewrite of defender, and I hope that it will make spam filtering an easy task in Ruby. Defensio uses the concept of "documents" instead of comments, and can therefore easily be used on more than just comments. It can fo... 5 Apr 2010 20:34
Long-standing bug in logger or monitor?
*facepalm* sorry. I thought I had enclosed my logging threads in a loop {}, i.e. trying to log forever, and a deadlock was what I was hoping to diagnose in a test case. I definitely see a long hang in my app when two threads try to log at the same time; will post more details later and try harder on my test case.... 5 Apr 2010 14:58
uninitialized constant SDL::TTF (NameError)
Hello I am getting the above error when I tried the SDL::TTF.init function. I have rubysdl gem installed. Synaptic shows that all the necessary libsdl libraries installed. Is the sdl_ttf distributed as a seperate gem. Any help is appreciated. Thanks Venkat -- Posted via http://www.ruby-forum.com/. ... 6 Apr 2010 06:22
ruby and networking crashes app on windows
Hi! It's been quite long since I last posted here, but now I feel I'm stuck. What I'm trying is to embed a ruby interpreter into a (multi-threaded) 3rd party app (using its scripting interface and its ability to load DLLs through it), and run my ruby code by it. After much trial and error, I've managed to have... 9 Apr 2010 13:22
Novice school teacher seeking help in programming
I will like to know how to use programming languages to create a computer software. I was advised to start with Ruby. Half-way through 'Beginning Ruby From Novice to Professional', it refers to C and/or C++ as fundamentals. HELP. What is a practical approach to learning how to create a computer software from scratc... 10 Apr 2010 08:00
First  |  Prev |  Next  |  Last
Pages: 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140