ruby
iteye_12646
这个作者很懒,什么都没留下…
展开
-
三場關於Ruby在Google的演講
錄影放在Google Video議題分別是:How to Design A Domain Specific Language -- David PollakCode Generation With Ruby -- Jack HerringtonRuby and Google Maps -- Andre Lewis正在看Ruby and Google Maps:P...2007-02-23 20:48:56 · 60 阅读 · 0 评论 -
Ruby library -- SMS
這個Library搭配http://www.twsms.com才可以使用喔!有任何問題可以直接回這篇文章,或者寫信問我,我信箱是Gmail的,帳號跟我的這個部落格帳號一樣我先說用法好了:require 'twsms'sms = TWSMS.new(username, password) # 帳號密碼sms.sendSMS(mobile, message) # mobile: 目標手機號碼 mes...2007-06-15 16:12:41 · 129 阅读 · 0 评论 -
php+ruby(with ActiveRecord)又一新範例 -- RSS聯撥器
本文同步發佈至: [url]http://blog.pixnet.net/zusocfc/post/4563945[/url] [url]http://zusocfc.blogspot.com/2007/05/phprubywith-activerecord-rss.html[/url] 上個例子,我們用PHP + Ruby 搭配ActiveRecord的方式來寫資料新增的程式 今天我...2007-05-13 02:31:17 · 95 阅读 · 0 评论 -
Balloon -- Ruby百寶箱
http://balloon.hobix.com/Here, Try a BalloonBalloon is a site for Rubyists to create demos of their code. Have Balloon download Gems, fetch code from Subversion, run scripts and then close up without...2007-03-01 15:42:37 · 41 阅读 · 0 评论 -
Balloon -- Ruby百寶箱
http://balloon.hobix.com/Here, Try a BalloonBalloon is a site for Rubyists to create demos of their code. Have Balloon download Gems, fetch code from Subversion, run scripts and then close up without...2007-03-01 15:42:37 · 77 阅读 · 0 评论 -
File讀取方式:readlines好還是while迴圈好?
在Ruby中,File可以用readlines跟跑while迴圈來讀在這個例子中,程式p1用的是while迴圈,p2用的是readlines執行後,秒數分別是P1:121.468秒P2:122.172秒範例文字檔大小是:4.07 MB (4,272,336 位元組)範例程式碼是:puts "P1 start"p1_start = Time.nowopen("C:/words.txt"){ |f|w...2007-02-26 16:05:32 · 88 阅读 · 0 评论 -
File讀取方式:readlines好還是while迴圈好?
在Ruby中,File可以用readlines跟跑while迴圈來讀在這個例子中,程式p1用的是while迴圈,p2用的是readlines執行後,秒數分別是P1:121.468秒P2:122.172秒範例文字檔大小是:4.07 MB (4,272,336 位元組)範例程式碼是:puts "P1 start"p1_start = Time.nowopen("C:/words.txt"){ |f|w...2007-02-26 16:05:32 · 87 阅读 · 0 评论 -
HEMiDEMi文章產生器 -- Ver. 0.2
此版本尚未支援 影片代碼 功能原始碼如下:require 'rubygems'require 'mechanize'class HEMiDEMidef initialize(username="", password="") agent = WWW::Mechanize.new{} f = agent.get("http://www.hemidemi.com/member/signin_form"...2007-02-25 00:47:44 · 125 阅读 · 0 评论 -
HEMiDEMi文章產生器 -- Ver. 0.2
此版本尚未支援 影片代碼 功能原始碼如下:require 'rubygems'require 'mechanize'class HEMiDEMidef initialize(username="", password="") agent = WWW::Mechanize.new{} f = agent.get("http://www.hemidemi.com/member/signin_form"...2007-02-25 00:47:44 · 50 阅读 · 0 评论 -
HEMiDEMi文章產生器 -- Ver. 0.1
原始碼在這邊:require 'rubygems'require 'mechanize'class HEMiDEMi def initialize(username="", password="") agent = WWW::Mechanize.new f = agent.get("http://www.hemidemi.com/member/signin_form").forms[...2007-02-25 00:36:36 · 67 阅读 · 0 评论 -
HEMiDEMi文章產生器 -- Ver. 0.1
原始碼在這邊:require 'rubygems'require 'mechanize'class HEMiDEMi def initialize(username="", password="") agent = WWW::Mechanize.new f = agent.get("http://www.hemidemi.com/member/signin_form").forms[...2007-02-25 00:36:36 · 68 阅读 · 0 评论 -
HEMiDEMi文章產生器.. Memo
原始碼在這邊:require 'rubygems'require 'mechanize'class HEMiDEMi def initialize(username="", password="") agent = WWW::Mechanize.new f = agent.get("http://www.hemidemi.com/member/signin_form").forms[...2007-02-25 00:33:33 · 47 阅读 · 0 评论 -
HEMiDEMi文章產生器.. Memo
原始碼在這邊:require 'rubygems'require 'mechanize'class HEMiDEMi def initialize(username="", password="") agent = WWW::Mechanize.new f = agent.get("http://www.hemidemi.com/member/signin_form").forms[...2007-02-25 00:33:33 · 71 阅读 · 0 评论 -
三場關於Ruby在Google的演講
錄影放在Google Video議題分別是:How to Design A Domain Specific Language -- David PollakCode Generation With Ruby -- Jack HerringtonRuby and Google Maps -- Andre Lewis正在看Ruby and Google Maps:P ...2007-02-23 20:48:56 · 40 阅读 · 0 评论 -
WxWidgets初體驗
最近無聊想寫點小程式.. 可是不想用Visual Basic寫,用Ruby + GUI Toolkit寫可是該選哪套GUI Toolkit? 說真的.. GTK+好難用喔ˊˋ.. Qt完完全全不想用WindowsAPI? 那我乾脆用VB就好了=..=選來選去看來看去.. 乾脆就看了godfat的建議,去玩wxWidgetswxWidgets在Ruby上的binding叫做WxRuby,我們先來做準...2007-07-30 05:58:35 · 149 阅读 · 0 评论