åå¿é²
ããããCentOSã®ã¤ã³ã¹ãã¼ã«æã«å ¥ããGitã«ã¯git-svnãå ¥ã£ã¦ããªã(ï¼)ã®ã§ãä¸ããå ¥ãããã¨ãããããããã«ç¹ãã£ã¦ããªãç°å¢ã ã¨çµæ§ä¾åã¨ããããã©ãããã£ãã®ã§ã¡ã¢ãç°å¢ CentOS 6.2 Git 1.7.1 git ã¯å ¥ã£ã¦ããããgit svnã¯å®è¡ã§ããªã $â¦
Fluentdã®èªä½ãã©ã°ã¤ã³ããã¼ãã§ããªãã®ã§ã½ã¼ã¹ã®ä¸èº«ã追ã£ã¦ã¿ãâ¦
ãããã ååã¾ã§ã«ç°¡åãªãã©ã°ã¤ã³ãä½æããäºã¯ã§ããã 次ã¯ãã©ã°ã¤ã³ãGemåãããããªã¨æã£ã¦è²ã ããã£ã¦ãããå®è¡æã«ãªãããã¾ããã©ã°ã¤ã³ãèªããªãâ¦â¦ããªãã§ï¼ åèãµã¤ã fluent/fluentd · GitHub Fluentdã§parserç¨ã®æ£è¦è¡¨ç¾ãæ¸ãã»â¦
ãããã ãã¾ã ã«ãã¡ã¤ã«ãã©ãããã¿ã¤ãã³ã°ã§ãªãã¸ããªãã¤ã³ããã¯ã¹ãã¯ã¼ãã³ã°ã¨ãªã¢éãè¡ãæ¥ãã¦ããã®ãããããã®ã§è²ã 調ã¹ã¦ã¿ããã¨ã«ã åèè³æããµã¤ã å®ç¨Git è¦ããªããã«ã©: ã翻訳ãGitãããã ã¢ããããç解ãã Git - Gitãªãâ¦
ååã¾ã§ã®ãããã Fluentdã¨ãããã°åéãã¼ã«ã使ã£ã¦Apacheã®ãã°ãåå¾ããã¾ã§ - kk_Atakaã®æ¥è¨ ã§ãconfãã¡ã¤ã«ã®ã³ã¡ã³ãã¢ã¦ããå¤ãã¦ã¨ããããåãã£ã¦ããã¨ããã¾ã§ã¯ããããä»åº¦ã¯ç°¡åãªãã©ã°ã¤ã³ãä½ã£ã¦ã¿ãã åèãµã¤ã fluentdã®ãâ¦
ååã¾ã§ã®ãããã Sphinxã§ããã¥ã¡ã³ããæ¸ãããreSTè¨æ³ã«å ¥éãã - kk_Atakaã®æ¥è¨ã§è¦åºãã®ç解ãééã£ã¦ããäºãSphinx åå¿è ããã«æãã¦ããã£ã ããä¸åº¦ããã¥ã¡ã³ããè¦ãªããã¦ã¿ãäºã« åèãµã¤ã reStructuredTextå ¥é â Sphinx v1.0 (â¦
ãããã ã¿ã¤ãã«éãããµã¼ãã¹ã«ç»é²ãã¦ããããèµ·åãã¦ã»ãããmongrelã使ãã°ãµã¼ãã¹ããèµ·åã§ããâ¦â¦ãããããååã¯èãããã¨ãããã©ãmongrelãä½ãã¯ç¥ããªãâ¦â¦ã Ruby + C(æ¡å¼µã©ã¤ãã©ãª) ã§æ¸ããã httpdã http://d.hatena.ne.jp/keywoâ¦
ãããã Twitterã§@tosikawaããã«ãããªãã¼ã«ããããã¨æãã¦ããã£ã â¦ããæªè¦ã ã£ãããããã°ã°ã ã¨ããããã©ããªãã®ãåããã¦ã¿ãäºã« Fluentdã¨ã¯ Log everything in JSON http://fluentd.org/ Oh...ã·ã³ãã«ã¤ãºãã¹ãâ¦ã Fluentd is a log câ¦
ãããã ãã¼ã«ã«ã§åããã¦ããJenkinsã§Administrator権éãæã£ã¦ããã¦ã¼ã¶ãããã³ãã®ãã¹ã¯ã¼ããå¿ããã®ã§ãè²ã ãªäºãã§ããªããªã£ã ã¾ããAdministrator権éãæã¤ã¦ã¼ã¶ãããªã = Jenkinsã®ç®¡çç»é¢ãéããªããªã£ãäºã§æ¨©é復æ§ãã§ããªããªâ¦
ååã¾ã§ã®ãããã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ åºæ¬æä½ç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã©ã³ãç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã¼ã¸ç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥éGitã¨å ¥égitã§Gitã®å¾©ç¿ HEADã®ãã£ã¬ããâ¦
ååã¾ã§ã®ãããã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ åºæ¬æä½ç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã©ã³ãç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã¼ã¸ç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥éGitã¨å ¥égitã§Gitã®å¾©ç¿ HEADã®ãã£ã¬ããâ¦
ååã¾ã§ã®ãããã ZenTestã§RSpecãèªåå®è¡ã§ããããã«ãã - kk_Atakaã®æ¥è¨ ååã¯ããã¡ã¤ã«ç·¨éãã -> alt+tabã§ã¦ã£ã³ãã¦åãæ¿ãã -> ããã³ããã§rspecã³ãã³ããã¤â¦ã®ç¹°ãè¿ããæ¹åãããã¨ãã§ããã ä»åã¯ãã³ã¼ãä¿®æ£ãä¿å -> éãã¿ã¼â¦
ååã®ãããã Subversionã®ãªãã¸ããªããµã¼ãéã§ã¾ããã¨ç§»åãã - kk_Atakaã®æ¥è¨ åèãµã¤ã Subversionãªãã¸ããªã®ããã¯ã¢ãã [æ¦ç¥] Subversionã®å±¥æ´ãä¿æããã¾ã¾ãªãã¸ããªã移åããã«ã¯ - ã·ã¹ãã éçºããã° ï¼ã·ã¹ãã éçºã®ã¢ã¤ãããâ¦
ååã¾ã§ã®ãããã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ åºæ¬æä½ç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã©ã³ãç·¨ - kk_Atakaã®æ¥è¨ Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã¼ã¸ç·¨ - kk_Atakaã®æ¥è¨ GitHubã§ä»ã®äººã®.gitconfigã¨ããè¦ããããã¨ãHEAD^ã¨â¦
ååã¾ã§ã®ãããã Vimã使ãå§ããããã«ã¤ã³ã¹ãã¼ã«ããè¨å®ã¾ã§è¡ã£ã - kk_Atakaã®æ¥è¨ æ®éã«ä½¿ã£ã¦ããã ãã ã£ãããã©ã°ã¤ã³ã¨ãã使ã£ã¦ã¿ãããå ¥ãæ¹ã¡ã¢ãã åèãµã¤ã Vim-users.jp - Hack #215: Vundle 㧠plugin ãã¢ãã³ã«ç®¡çãã vim-jâ¦
ãããã ã³ãã³ãã©ã¤ã³ãããã¡ã¤ã«ãããããã³ãããããããã ãã©ãã³ããããã°ãåãããã®ã§åå²ãã¦ã³ããããããã åèãµã¤ã svn changelist SVNã§changelistã«æå±ãã¦ããªããã¡ã¤ã«ãæ±ãæ¹æ³ - namutakaã®æ¥è¨ 404 Not Found svnã§ééã£â¦
ãããã rcovã¤ã³ã¹ãã¼ã«ã«æãã®ä»ã¦ããã£ãã®ã§ä»ã®ãã¼ã«ãæ¤è¨ãã¦ã¿ãã調ã¹ãã¨simplecov,simplecov-rcovã¨ãããã¼ã«ã§ããããæ§åãRuby1.9ç³»ã®ã«ãã¬ãã¸ãã¼ã«ãããã1.8ã§ã使ããã ãããããã¨Railsãããªãã¦ã使ããã®ããªã åèãµã¤ãâ¦
ãããã Jenkinsã§ãã«ããã¦ããã¨ã¨ãã«ã«ãã¬ãã¸ã®èª¿æ»ãããããrcovã¨ãããã¼ã«ã§ã«ãã¬ãã¸ãåºãäºãã§ãããããã åèãµã¤ã relevance/rcov · GitHub rcov | RubyGems.org | your community gem host 2011/09/06 Rubyã®rcov-0.9.8 for Windowsâ¦
ååã¾ã§ã®ãããã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ åºæ¬æä½ç·¨ - kk_Atakaã®æ¥è¨ kk_Atakaã®æ¥è¨ ä»åã¯ãã¼ã¸ããã åè Git - Book å ¥égit ãã¼ã¸ åæºå ããã§ãã©ã³ãç¨ã«ãªãã¸ããªãä½ããªãããã $ cat field.html <h1>åã«ãã®æãæ±ãã¨ããã®ã</h1>ã¨ãâ¦
ååã¾ã§ã®ãããã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ åºæ¬æä½ç·¨ - kk_Atakaã®æ¥è¨ ä»åã¯ãã¼ã«ã«ãã©ã³ãããã åè Git - Book å ¥égit ä»ã®VCSã¨ã®éã Subversionãªã©ã¯åãã¡ã¤ã«ã«å¯¾ãã¦ã®å·®åãæé軸ã§æã£ã¦ãã Gitã§ã¯ã³ãããã®ãã³ã«ãã®æã®ãªâ¦
ãããã ãã£ããadd, commitããããã使ã£ã¦ããªãGitãããä¸åããã£ã¦ã¿ã¦å¦ã³ãªãããPro Gitã®ãã¼ã¸ããã¯ãããã ãã§çå£ã«èªãã§ããªãã£ãã®ã§èªã¿é²ããã ç¶ãã Pro Gitã¨å ¥égitã§Gitã®å¾©ç¿ ãã©ã³ãç·¨ - kk_Atakaã®æ¥è¨ åè Git - Book â¦
ååã¾ã§ã®ãããã Rails3ã¬ã·ãããã¯ãèªã¿ãªããRailsãå¦ã¶ - kk_Atakaã®æ¥è¨ Railsãã¤ã³ã¹ãã¼ã«ãã¦èµ·åããæã¾ã§ã¯ã§ããã åè Rail3ã¬ã·ããã㯠190ã®æ ç°å¢ WindowsXP Ruby1.8.7 Rails3.2.1 MVCãèªåçæãã ã¢ããªã±ã¼ã·ã§ã³ã®scaffold(â¦
ãããã Redmineãã©ã°ã¤ã³ã®ä½ãæ¹ãå¦ã¶åã«Railsã®åºæ¬çãªäºãå¦ã°ãã°ãªãã¾ãã¾ãããããããã åè Rail3ã¬ã·ããã㯠190ã®æ ç°å¢ WindowsXP Ruby 1.8.7 Rails 3.2.1 æºå ã¯ããã«bundleã§railsãã¤ã³ã¹ãã¼ã«ããâ¦â¦ãããªããã¨ã©ã¼ãã Gem::â¦
ãããã å ¨ç¶CIã£ã½ãJenkinsã使ã£ã¦ããªãã£ãã®ã§æ¬æ ¼çã«ä½¿ã£ã¦ã¿ããã Gitãé£æºãããã Gitãªãã¸ããªã«ã³ãããããã¿ã¤ãã³ã°ã§Jenkinsã«ãã«ãããã¦ã¿ãã â¦ã®ã ãããããªããã«ãæã«cloneã§ããªãã¨ããç¾è±¡ã§ããã£ã¦ããã ERROR: Error câ¦
ãããã Rubyãå ¥ã£ã¦ããªãWindowsç°å¢ã§ã(è¦ã¯èªå以å¤)Rubyã¹ã¯ãªãããå®è¡ãããã®ã§exeåããæ¹æ³ã模索ãããã¨ããããæ模索ããå¾ã®çµæãä»æ´ã¾ã¨ããã 対象ããã¸ã§ã¯ã win32oleã使ã£ã¦Excelãã¡ã¤ã«ãèªã¿è¾¼ã¿ã·ã¼ããåå¾ãé£çªã§åãã¨â¦
ãããã BASE64ã¨ã³ã³ã¼ãã£ã³ã°ããã¾ããªãã®ããã«ä½¿ã£ã¦ããã®ã§è»è¼ªã®åçºæã§åçãå¦ã¶ã åèãµã¤ã RFC3548 ãã¼ã¹ï¼ï¼ã¨ãã¼ã¹ï¼ï¼ã¨ãã¼ã¹ï¼ï¼ã³ã¼ãå EZ-NET ï¼ Base64 ã®ä»çµã¿ ã¢ã«ãã¡ãããã¨Asciiã³ã¼ãã®ç¸äºå¤æ:ãé¡ç®ããã£ã¡ 10é²æ°â¦
ãããã Rubyã§åºå®é·ã®å¤ãæ±ãã¨ãã¯ã©ãããããããã ãã å¿ ã5ã±ã¿ã«ãããï¼ 255ã®å ´åã¯00255ã«ãªã£ã¦ã»ãã åèãµã¤ã sprintfãã©ã¼ããã - Rubyãªãã¡ã¬ã³ã¹ããã¥ã¢ã« Ruby ãã¥ã¼ããªã¢ã« - 4. 主ãªã¯ã©ã¹ ã®4.2 æ¹æ³ 調ã¹ã¦ã¿ãã¨sprintfã¡â¦
ãããã Aãµã¼ãããBãµã¼ãã«ãªãã¸ããªãå¼ã£è¶ãããã åèãµã¤ã SVN(Subversion)ãµã¼ãã移転ããæ¹æ³ - ããã ã£ããã æé å¼ã£è¶ãå ã®ãµã¼ã ã¾ãã¯ãªãã¸ããªã®ãã³ããã¡ã¤ã«ãä½æã $ svnadmin dump ãªãã¸ããªãã¹(/home/xxx/yyyãªã©) > reâ¦
ã¯ããã« ãã®è¨äºã¯Ruby Advent Calendar jp: 2011 : ATNDã®27æ¥ç®ã®è¨äºã§ãã 26æ¥ç®ã¯id:tackunããã®Sinatraã使ã£ã¦ãRESTFulãªWeb-APIãä½ã£ã¦ã¿ãã - tackun noteã§ããã 28æ¥ç®ã¯r7kamuraããã®Rubyã§GPUã使ãã - ââ¹â¡â¹âã§ãã ä»æ¥ã¯ã¿ã¼ããã«â¦
ãããã Sinatraã¨ã使ã£ã¦ãã¦ãHtmlã¹ãæ¸ãã°ãããªã®ã§Hamlã«å ¥éãã¦ã¿ãã åèãµã¤ã Getting Started - æ¥æ¬Hamlã®ä¼ æ¥æ¬ãã ï¼ Hamlã¨ã¯ Hamlã¯HTML/XHTMLãçæããããã®ãã¼ã¯ã¢ããè¨èªã§ããã¤ã³ãã³ããç°¡ç¥æ§æã«ãã£ã¦ç°¡æ½ãªè¨è¿°ãè¡ãã¾â¦
ãããã VB6ã®æãIf (value = 1)ã®ãããªæ¡ä»¶å¼ã§valueã«æ°å¤ã»æåã©ã¡ããå ¥ã£ã¦ãã¦ãã¨ã©ã¼ã«ãªã£ã¦ããªãã£ãã*1ããããVB.NETã«ãªãvalueã«æåãå ¥ã£ã¦ããå ´åãInvalidCastExceptionãçºçããããã«ãªã£ããã©ãããVB6ã®ã¨ãã¨è©ä¾¡ã®æ¹æ³ãå¤â¦