2007-02-01ãã1ã¶æéã®è¨äºä¸è¦§
LGPLã©ã¤ã»ã³ã¹ã§é å¸ãããããã°ã©ã Aã«ã¤ãã¦ã Aã«éçãªã³ã¯ãããããã°ã©ã Bãåé å¸ããå ´åãBã®ã½ã¼ã¹ã³ã¼ãã¾ãã¯ãªãã¸ã§ã¯ãã³ã¼ãã®é å¸ãæå¦ãã¦ã¯ãªããªãã Aã«åçãªã³ã¯ãããããã°ã©ã Bãé å¸ããå ´åãBã®ã©ã¤ã»ã³ã¹ã«ãªãã¼ã¹ã¨ã³ã¸â¦
Railsåå¼·ä¼ã§takaiããã®ã»ãã·ã§ã³èãããAMDDã®æ¦è¦ã¯ã ããã- ãã¼ã¿ãã¼ã¹ã®é²åçè¨è¨ã®ãããã§ãã¹ãã¼ãããã¼ã¸ã§ã³ç®¡çãã¦ç§»è¡ãã¹ã¯ãªããï¼èªåï¼åããããéçºç¨ã¨æ¬çªç¨ã¨ãç°å¢æ¯ã«éããã¼ã¸ã§ã³ã®ãã¼ã¿ãã¼ã¹ã§åããããããããã°â¦
ãã¼ã¿ãã¼ã¹ã«viewã¨ãtriggerã¨ãã¤ã³ããã¯ã¹ã®æåæ°å¶ã¨ããRailsã®ruby-dslå½¢å¼ã® schema ã対å¿ãã¦ãããªãè¨å®ããã¦ãã¦ããã¹ãã«å¤±æããã¨ãã¯ï¼ # config/enviroment.rb # Use SQL instead of Active Record's schema dumper when creating thâ¦
ãªããå«ããè ã£ã½ã injectã§ãã module Enumerable def inject2(r) self.each{|v| yield r,v} r end endãããªå®ç¾©ããã¦ããã¨ã [1,2,3,4,5].inject2({}){|result, item| result[item]= item } => {5=>"5", 1=>"1", 2=>"2", 3=>"3", 4=>"4"}ãããªé¢¨ã«â¦
ãããªã®ãRailsã®èµ·åæã«èªã¿è¾¼ãããã«ãã¦ããå¤ãã®HTMLã¨ã³ãã£ãã£ã¼ã¸ã®å¯¾å¿ã®ä»ã& &ãªã©ããã³ã¼ãã§ããããã«ãããã®ã require 'cgi' class CGI # HTMLã¨ã³ãã£ãã£ã¼ã®å®ç¾© HtmlEntity = Hash[ *%w(nbsp 160 iexcl 161 cent 162 pound 16â¦
http://d.hatena.ne.jp/amachang/20070206/1170715555 http://labs.unoh.net/2007/02/ie6_png_fix.html http://web.kankodo.net/2007/02/01-233315.html http://phpspot.org/blog/archives/2007/02/iepngjavascript.html ãªããã¯ãã£ã¦ãã¿ãããªãã§ä½ã£ã¦â¦
Warning! 2008/5/22追è¨ï¼ãã®ã¨ã³ããªã¯æ å ±ãä¸ååã ã£ããééããå«ã¾ãã¦ããããã®ã§ãä¸è¨URLã®ãã¼ã¸ãåèã«ããããã«ãã¦ãã ããâ http://piro.sakura.ne.jp/latest/blosxom/mozilla/xul/2007-09-13_selector-to-xpath.htm CSS3ããããXPath1.â¦
scrAPIããã使ããããæãã®Hpricotã§ããããinnerTextããä¸æãHTMLã¨ã³ãã£ãã£ã¼ãæ»ãã¦ãããªãã®ã§ãéãã¡ã½ãããã¤ãã¦ã¿ã¾ããã require "rubygems" require 'hpricot' class Hpricot::Elem def [](a) CGI.unescapeHTML(get_attribute(a)) enâ¦