You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ãç¡æ²æ±°ãã¦ãã¾ããKBMJã®ããã°ã©ãã®x5rã§ãã æè¿ãç§ãæºããããã¸ã§ã¯ãã§ã¯ãå¤é¨APIãå©ç¨ããããä¸é¨ã®æ©è½ãå¤åºãã«ãã¦ãµã¼ãã¹éã§é£æºãããã¨ããè¦æãå¾ã ã«å¢ãã¤ã¤ããã¾ãã ãã ãããã®å¤é¨ã·ã¹ãã ï¼ãµã¼ãã¹ãAPIï¼ã¨é£æºããæ©è½ãå®è£ ã¯ãããã®ã®ããã®æ©è½ããã¹ãããå ´åããã¹ãã±ã¼ã¹æ¯ã«æ¯åå¤é¨é£æºãã訳ã«ã¯ãããªãã®ã§ãã©ãããã°ããã®ããããã¾ããã§ããã ä»®ã«ãæ¯åãã®ã·ã¹ãã ã«ãªã¯ã¨ã¹ããæãã¦ãã¹ãããã¨ãã¦ãããã®å¤é¨ã·ã¹ãã ã並è¡ãã¦ããéçºããå ´åããã®ã·ã¹ãã ãåºæ¥ä¸ããã¾ã§å¾ ã£ã¦ããªããã°ãªãã¾ããã ã¿ãªãããããã£ãå¤é¨é£æºã®ãã¹ããã©ããã£ã¦è¡ã£ã¦ããã®ã調ã¹ã¦ããã¨ãããFakeWebã¨ããWebãªã¯ã¨ã¹ããå½è£ ããgemã©ã¤ãã©ãªããããã¨ãç¥ãã¾ããã ããã§ãä»åã¯ãã®FakeWebã¨ããgemã©ã¤ãã©ãªã«ã¤ãã¦ç´¹ä»
http://d.hatena.ne.jp/willnet/20080626/1214487378 httpclientã¯open-uriã®æ軽ãã¨ãNet::HTTPã®æ©è½ã両ç«ããã¦ã使ãåæã®ããã©ã¤ãã©ãªã ãã¯ããã¼ãkeep-aliveããµãã¼ããã¦ããããã ããRuby 1.9æªå¯¾å¿ãRuby 1.9ã ã¨ParseDateãªãã¦ãªããã¼ã£ã¦ã¨ã©ã¼ãã§ã¦ãã¾ããâææ°çã§Ruby 1.9å¯¾å¿ POSTã®å ´åã¯post_contentã使ãã串ãUser-AgentãFromãããã¯HTTPClient.newã®å¼æ°ã§ã require 'rubygems' require 'httpclient' require 'kconv' hc = HTTPClient.new query = "ruby" html = hc.get_content("http://www.google.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}