First  |  Prev |  Next  |  Last
Pages: 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
[MacRuby] UTF-8 to MacRoman conversion
I need to convert a String from UTF-8 to MacRoman, MacRuby makes use of a "special" iconv.rb. When doing a Mac Roman to UTF-8 converions no prob however when doing reversal from UTF-8 to MacRoman the String is still in UTF-8. Here is my code : puts "UTF-8 back to MacRoman :" mcr = Iconv.iconv('macintosh', 'ut... 23 Apr 2010 20:49
ruby
I'm Matthew Win Tibbals, pedophile. http://www.matthewtibbals.com ... 23 Apr 2010 17:31
Using metaprogramming to refactor many similar Rake tasks?
On 4/22/10, James Wenton <kkaitan(a)gmail.com> wrote: Specifically, that pattern is the following: namespace :foobar do desc "Frozz the foobar." task :frozzify do unless Rake.application.lookup('_frozzify') require 'tasks/foobar' Foobar.new.frozzify ... 23 Apr 2010 17:31
ruby scripting on waitr
Abhishek Pandey wrote: Hi All, I am starting this subject to discuss things related to ruby scripts on watir please add to the discussion -- Posted via http://www.ruby-forum.com/. ... 23 Apr 2010 17:31
HOW TO Track How Many Recipients Open Your Mail IN RAILS
HOW TO Track How Many Recipients Open Your Mail IN RAILS? please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN -- Posted via http://www.ruby-forum.com/. ... 23 Apr 2010 20:50
Voronoi diagrams
Anyone know how to generate Voronoi diagrams with rubyvor library? .. It would be helpful .. -- Posted via http://www.ruby-forum.com/. ... 23 Apr 2010 17:31
LDAP Authentication with Username
I'm trying to authenticate a username/password with Active Directory on our Windows SBS 2003 server. I have no problems if I auth with the CN set as the users full name, but I want to auth against the username instead. Here's the code that works: pass = "mypass" ldap = Net::LDAP.new ldap.host = "192.168.x.x" ... 23 Apr 2010 17:32
qtruby and pointers
Hi, I'm newish to the whole qtruby thing, and I've run into an interesting problem. I'm in a situation where I would like to use http://doc.qt.nokia.com/4.6/qgridlayout.html#getItemPosition , however as you can see rather than the method returning anything, it's referencing pointers with the return values. Does ... 23 Apr 2010 17:31
What is wrong with this few lines of code
ar = Array.new( 2,[]) %w(a b).each do |e| ar[0] << e ar[1] << e end ar.each do |e| e.each {|line| p line} end Returns "a" "a" "b" "b" "a" "a" "b" "b" I would expect: "a" "b" "a" "b" by TheR -- Posted via http://www.ruby-forum.com/. ... 23 Apr 2010 17:31
Alarm Clock( )
Hi Everyone, I am creating an musical alarm clock e.g. play a youtube video at 5:30 am . What I want is a Ruby Library\Gem where I can specify the time and I will have a call back at that particular time or a synchronous method which will wait until the set time is reached. Any other ideas then above are also w... 23 Apr 2010 17:31
First  |  Prev |  Next  |  Last
Pages: 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122