First  |  Prev |  Next  |  Last
Pages: 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
Active_Ldap Base Config Question
I haven't done much with polling AD in the past but I am now trying to write a basic script using active_ldap that pulls a list of users from AD. The following code I have here doesn't work but the thing that bothers me the most is that when I use a sniffer on the AD server, I don't see any attempt by the script to... 12 Nov 2009 10:35
File size vs. Directory size problem
Hi all, Got a bit of a problem I dont know how to go about. Basically my script takes 2 different directories, puts each file/sub directory into an array for each, sorts the array, compares them, and then spits out what is missing from each directory. Im really happy with this as it is my first real ruby script an... 11 Nov 2009 05:40
errors when using sqlite3's query and prepare methods
Hello all, I'm trying to prepare a sql statement to send to sqlite3 via ruby and am getting errors when using the query and prepare methods. Here's my code: #!/usr/bin/env ruby require 'sqlite3' db = SQLite3::Database.new( "test.db" ) # create the database sql = <<-eof CREATE TABLE foobar (foo text, b... 10 Nov 2009 08:03
Berkeley DB BDB Install on Windows
I've been scripting in Ruby (and Rails) for about two years now, but have never gotten into the internals of the module/gem side. I've created a Ruby script using SQLite3 which works well for small data sets but has a performance issue when dealing with a large amount of data. I'm hoping to try the Berkeley DB. ... 12 Nov 2009 09:28
Regexp: getting the first found
Hello, I'm having some problem comprehending the regexp for my current need. Example input (2 scenario): 1. << /Filter /FlateDecode /Length 4169 stream blablabla endstream << >> 2. <</Filter/FlateDecode/Length 4169>> stream blablabla endstream << >> I've trying to get the string ... 9 Nov 2009 14:23
bones 3.0.0
Tim Pease wrote: bones version 3.0.0 ... == 2.5.1 / 2009-05-12 A bit of a puzzle at first, but now I see that 3.0.0 is available on gemcutter, while the latest on rubyforge is still 2.5.1. Oh, thanks for the git extension. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 ... 8 Nov 2009 19:37
- My image the Treeview column
I think I have found the answer: user_renderer = Gtk::CellRendererPixbuf.new col = Gtk::TreeViewColumn.new col.title = "pic" col.pack_start(user_renderer, false) pixbuf = Gdk::Pixbuf.new('/home/demas/settings/awn_icons/emacs.png') user_renderer.set_pixbuf(pixbuf) -- Posted via http:... 8 Nov 2009 11:51
Unable to work on pop up in selenium-rc
I am using selenium-rc ruby to run my scripts. While recording through selenium, I am not able to save files. There is savelogs button on page when i click on that a new applet pop up named "Save" opens where i need to type the address and press the Save button, but selenium is not able to record in that pop up wi... 6 Nov 2009 05:56
Help with HTML parsing
Hi, I am using Sanitize.clean(), for freeing contents from html tags, but the difficulty is I want to preserve some of the tags from removing.. I have given like this. html = File.new(file).read soup = BeautifulSoup.new(html) soup.title.contents=[''] soup.find_all.each do |tag| ... 5 Nov 2009 00:07
ruby1.9.1 : Override string method
The following script doesn't work... Do you have any idea of what is wrong? Is it a ruby bug? (ruby version: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9]) require 'time' Time.parse("1999-10-31 16:46:50") # this works class String alias_method :old_sub!, :sub! def sub!(*args, &block) ... 2 Nov 2009 12:20
First  |  Prev |  Next  |  Last
Pages: 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192