ãã¼ããã·ã§ã³ CGI ããã°ã©ã ãé å¸ãã¦ãããµã¤ãã®èª¬ææ¸ã«ã¯ã ããã¼ããã·ã§ã³ã¯ 755 ã§ãã¨ãã700ãã§ããªã©ã¨æ¸ããã¦ãã¾ãã ãã®æå³ã¯ ããããå®éã¯ãµã¼ããã¨ã«è¨å®ãã¹ããã¼ããã·ã§ã³ã¯ç°ãªãã¾ãã å ·ä½çã«ã¯ãCGI ã®å®è¡æ¨©éãã«ãã£ã¦éãããã§ãã 大ã¾ãã«ããã¦ãCGI ã®å®è¡æ¨©éã«ã¯ 2éãã®ããªã·ã¼ãããã¾ãã nobody 権éã§åããã¹ã åã¦ã¼ã¶ã®æ¨©éã§åããã¹ã 1 ã®å ´åã¯ãhttp://X68000.q-e-d.net/ã http://X68000.q-e-d.net/~68user/ã http://X68000.q-e-d.net/~hogehoge/ ãªã© ãããã® URL ã«ã¢ã¯ã»ã¹ãã¦ã nobody ã¨ããã¦ã¼ã¶ã®æ¨©éã§åãã¾ãã ä¸æ¹ã2 ã®å ´å㯠http://X68000.q-e-d.net/~68user/ 以ä¸ã«ã¢ã¯ã»ã¹
DocumentationAbout Ultraviolet is a syntax highlighting engine based on Textpow. Since it uses Textmate syntax files, it offers out of the box syntax highlighting for more than 50 languages and 20 themes. Ultraviolet is at the same time a stand-alone command line utility and a Ruby library. Installation If you have rubygems installation is straightforward by typing (as root if needed): gem in
ãã®ãµã¤ãã«ããã°ãW3C-DTF ã¨ã¯ãã1997å¹´9æã« W3C ã®ä¼å¡ä¼æ¥ã§ãã Reuters Limited ã W3C ã«æåºãã ISO 8601ã®æ¥ä»å½¢å¼ã®ãããã¡ã¤ã«ãã§ãæ£ç¢ºã«ã¯ W3C ã®æ£å¼è¦æ ¼ã§ã¯ãªãã¨ã®ãã¨*1ãããã RSS æ¹é¢ã§ã¯å¹ ãå©ããã¦ãããããããã® validatorã¯æ¥ä»ã®å½¢å¼ãéãã¨æå¥ãã®ãã¾ãã Ruby ã§ãæ軽㫠W3C-DTF å½¢å¼ã®æ¥ä»ãåºãã¦ãããã½ã¼ã¹ã³ã¼ãããããã§æ¢ãã¦ããã®ã ããè¦ã¤ãããªãã£ãã®ã§èªä½ãã¦ã¿ãã»ã»ã»ã¨æ¸ããããã®ã ããå®ã¯ Rails ã Time ã¯ã©ã¹ãæ¡å¼µãã¦ãããã¨ãçºè¦ã è¨æ£ï¼moro ããã«ãææããã ãã¾ãããå®ã¯ Ruby ã® time ã©ã¤ãã©ãªã§ã®æ¡å¼µã ããã§ãã謹ãã§è¨æ£ãã¾ãã Time.now.iso8601 # => "2008-07-22T14:20:00+09:00"
TicGitã¯Ruby製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãGitã¯ããæè¿å©ç¨ããããã¨ãå¤ããªã£ããã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã ãå人ã®ããã¸ã§ã¯ãããè¤æ°ã®æ ç¹ã使ã大è¦æ¨¡ãªãã®ã¾ã§å¯¾å¿ãã§ããã¨ã¦ã便å©ãªã·ã¹ãã ã«ãªã£ã¦ãããå°è¦æ¨¡ããã¯ãããããã®ã§ãéçºåéã«éããå°å ¥ãã§ããã ããã ãã±ããä¸è¦§ ãããªGitã使ã£ãéçºã«åãè¾¼ãããã±ãã管çã·ã¹ãã ãTicGitã ãéçºããã³ã¼ãã ãã§ãªããéçºã«å¿ è¦ãªããã¥ã¡ã³ãããã¼ã¸ã§ã³ç®¡çã«å ¥ãã¦ãã¾ãã±ã¼ã¹ããããããã«å ãã¦ãã±ãã管çã¾ã§å ¥ãã¦ãã¾ãã°ãã¼ã¿ã®ä¸å 管çã容æã«ãªãã¯ãã ã TicGitã¯ã³ã³ã½ã¼ã«ãã¼ã¹ã§åä½ãããæ°ãããã±ãããä½æããããä¸è¦§ã§è¦ããããã±ããã«ã¿ã°ãä»ãããã¨ãã§ãããããã«ã³ã¡ã³ãã追å ãã¦æè¦ã交æããããã³ã¼ãã£ã³ã°ããã¦ãã±ãããçµäºããããã¨ãã§ããããã±ãã管çã®ããã«Webãã¼ã¹ã®
Bananajourã¯Ruby製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãå人ã§Githubã使ã£ã¦ãã¦ããã®ä¾¿å©ãã«æåãã人ãããã ããã社å ã§ããã¨æã£ã¦ãGitãªãã¸ããªã管çãããµã¼ããç«ã¦ãã®ã«è¦å´ããããç¥ããªããGitã¯åã 人ã§ãèªç±ã«ãªãã¸ããªãä½ããã®ã§ä½ã®ãªãã¸ããªãããã®ããã¨ãã£ã管çãç ©éã«ãªã£ã¦ãã¾ãã®ã ã Gitãªãã¸ããªã管ç ããã§è©¦ãã¦ã¿ããã®ãBananajourã ãBananajourã¯Rubyã§ä½ãããGitãªãã¸ããªç®¡çã½ããã¦ã§ã¢ã§ãã¨ã¦ãç°¡åã«å©ç¨ã§ãããã¤ã³ã¹ãã¼ã«ã¯RubyGemsã使ã£ã¦è¡ãã¦ãã³ãã³ãã¯bananajourã®ã¿ã ãããã¦ä»»æã®ãªãã¸ããªã«è¡ã£ã¦ãbananajour addãã¨ããã³ãã³ããå©ãã°Bananajourã®ãªãã¸ããªç®¡çã«è¿½å ãããã å¾ã¯bananajourã¨ã³ãã³ããå®è¡ããã°9331çªãã¼ãã§ãµã¼ããç«ã¡ä¸ã
å®®å·é彦ã ä¼è¤ç´ä¹ è ãBlog Hacks - ãããæãããã¯ãã㯠& ãã¼ã«100é¸ã ã«å¯ç¨¿ããè¨äºã®å ã®å稿ã§ãã è¦ç´: mingplot ã¨ãããã¼ã«ã使ã£ã¦ Flash å½¢å¼ã®ã°ã©ããããããä½ã£ã¦ã¿ã¾ãã ã¤ã³ã¿ã¼ãããä¸ã«ã¯èå³æ·±ããã¾ãã¾ãªãã¼ã¿ã転ãã£ã¦ã ã¾ããGoogle ã§èªåã®ååãæ¤ç´¢ãã¦ã¿ãããæã㤠ããé§æ´è½ã®ããã件æ°ã調ã¹ã¦æ¢åºãã©ããã調ã¹ããããã㨠ããã人ã¯å¤ãã¨æãã¾ããæ¬ããã¯ã§ã¯ããããä¸ã§å¾ããããã ãããã¼ã¿ãã°ã©ãåãããã¼ã« mingplot ãç´¹ä»ããã¨ã¨ãã«ã ããã°ã¸ã®å¿ç¨ã試ã¿ã¾ãã mingplot ã¨ã¯ mingplot 㯠ming ã¨ããã© ã¤ãã©ãªãç¨ã㦠Flash å½¢å¼ã®ã°ã©ããçæãããã¼ã«ã§ãã Googleã®ããã件æ°ãã°ã©ãåãããã¼ã« googleplot ã¨ã Amazon ã®
ãããããªè¨èªç¨ã®Sinatraçãã¬ã¼ã ã¯ã¼ã¯ã¾ã¨ã - å°æãã¤ã¤å転 ã¨ãããã¨ã§ãbashå èµã³ãã³ãã ãã®pure bashã§ãsinatraãã©ãã®ãªã«ããä½ã£ã¦ã¿ã¾ãããåä»ãã¦ãsh.inatraãããã£ãpure bashã¨ããã¤ã¤rmã¯ä½¿ã£ã¡ããã¾ããã ãã¡ããGitHubã«ç½®ãã¦ããã¾ããããã¾ã§è¦ãç®ã ãã®ã¸ã§ã¼ã¯ã½ãããªã®ã§ãçé¢ç®ãªãµã¼ãã¼ã§ä½¿ããªãããã«ãé¡ããã¾ãã emasaka's sh.inatra at master - GitHub ã³ã¼ãã®ãµã³ãã« ãµã³ãã«ã¯ãããªæãã #!/bin/bash . /opt/sh.inatra/sh.inatra.sh get '/hello' && { echo 'Hello, World' } get '/say/*/to/*' && { echo Say ${params_splat[0]} to ${
ã½ã¼ã¹ http://github.com/sorah/lingr-ruby/blob/master/lingr.rb ãã¦ã³ãã¼ã lingr.rb ã¾ãã¯æè¬ ãã¡ãã§é å¸ããã¦ããSimple JSON parserãæ«å°¾ã«å ãã¦ãã¾ãããããªãã¯ãã¡ã¤ã³ã§ã®æä¾ãããã¨ããããã¾ãã ãæã ã¡ãã£ã¨Rubyã£ã½ããªãããããã¾ããããããªããã 使ãæ¹ ã¾ã㯠require "lingr.rb" ãã¦ãã ããã æºå l = Lingr.new(:user => "ã¦ã¼ã¶å",:password => "ãã¹ã¯ã¼ã") ã§ãã ããã§ã l.debug = true ããã¨ä½ããã¦ããã®ããããããã«ãªãã¾ãã Lingrã¸æ¥ç¶ l.boot ããã§æ¥ç¶ã§ãã¾ãã lingrããåæ l.shutdown ã¤ãã³ã åçã«æ°è¦çºè¨ãªã©ãå³æã«å¾ãããã¤ãã³ãçãªã¯ã©ã¹ã使ã£ã¦çº
SinatraãRailsã¯éçºã¯æ¥½ã ãã©ãããã¤æ¹æ³ããããããã£ã¦æ©ãã æè¿ã¯passengerã使ãæ¹æ³ãæµè¡ã£ã¦ããã©ãããã«ãå¦æ ¡ã«ç½®ãããµã¼ãã¼ã§ãµããã¡ã¤ã³ã使ããªãã®ã§åä¸ãã¹ãåã§apacheã¨å ±åããããããªãã passengerã§ãRailsBaseURIã ã£ããï¼ãè¨å®ããã°ãµããã£ã¬ã¯ããªã§Rack対å¿ã¢ããªãåããããã ä»åã¯1å¹´åããRails+mongrelã®ãããã¤ã«ä½¿ã£ã¦ããapache2ã®ãµããã£ã¬ã¯ããªãmongrelã§èµ·åãã¦ãrailsã«ãããã·ãã â æ©æ¬è©³è§£ã¨åãæ¹æ³ã§Sinatra+Thinããããã¤ããã Railsã§ã¯mongrel_clusterã§è¤æ°èµ·åãããrailsã«apache2ã®mod_proxy_balancerã§ã¢ã¯ã»ã¹ãå²ãæ¯ã£ãããåãè¨å®ã§sinatra+thinã«ãå²ãæ¯ããã çµæãæ©æ¬åä¼ Twitt
2009/09/07 2003å¹´ã«ã¹ã¿ã¼ããã軽éããã°ã©ãã³ã°è¨èªï¼LLï¼Lightweight Languageï¼ããã¼ãã«ããâLLã¤ãã³ãâããä»å¹´ãã¾ãã2009å¹´8æ29æ¥ã«æ±äº¬ã»ä¸éã§éå¬ããããPerlãRubyãPythonãPHPãJavaScriptã¨ãã£ãã¡ã¸ã£ã¼ãªãã®ãããLuaãGaucheãRã¨ãã£ãæ¯è¼çãã¤ãã¼ãªãã®ã¾ã§ãLLã«é¢ããçºè¡¨ãããã«ãã¼ã¯ãè¡ãã¤ãã³ãã ãå 容ã¯ãã¾ãããªè¨è«ãé«åº¦ãªããã°ã©ãã³ã°ã®è°è«ãã¸ã§ã¼ã¯ãã¿ã¾ã§ã¨å¹ åºãã 2005å¹´ã«ã¯ãLL Day and Nightãã¨æ¼å¤2é¨æ§æã«ãã¦ã¿ããã2006å¹´ã«ã¯ãLL Ringãã¨é¡ãã¦ä¼å ´ã«ããã¬ã¹ã®ãªã³ã°ãè¨ç½®ãããã°ã©ãã³ã°è¨èªå¯¾æ±ºããã¦ã¿ããã¨ãä¾å¹´ã趣åãåãããããã°ã©ã ãè¦ç©ã ã 7åç®ã¨ãªãä»å¹´ã¯ãLLTVãã¨é¡ããæåãã¬ãçªçµã®ãããã£ã¼ã§æ§æããã¦ãããçªçµã¿
ERBã§â¥ãèªãã§ãStructã ã¨ã©ãã ãã£ã¦è©¦ãã¦ãã¦ã¯ã¾ã£ãã require 'erb' Foo = Struct.new(:foo, :bar) class Foo def env binding end end foo = Foo.new('foo', 'bar') p ERB.new('<%= foo %> and <%= bar %>').result(foo.env) ããããã "foo and bar"envã¡ã½ãããªããã¦ã¿ããã require 'erb' Foo = Struct.new(:foo, :bar) foo = Foo.new('foo', 'bar') p ERB.new('<%= foo %> and <%= bar %>').result(foo.instance_eval{binding}) ã¨ã»ã»ãfooãâ¥ã "#<struct Foo
Compress the complexity of modern web apps. Learn just what you need to get started, then keep leveling up as you go. Ruby on Rails scales from HELLO WORLD to IPO. Youâre in good company. Over the past two decades, Rails has taken countless companies to millions of users and billions in market valuations. These are just a few of the big names. There have been many hundreds of thousands of apps cre
ãã®ã¨ã³ããªã§ã¯ Ruby on Rails 㨠MySQL ã使ã£ã¦æ¥æ¬èªã®å ¨ææ¤ç´¢ãè¡ãæ¹æ³ãè¨è¿°ãããRuby on Rails ã®ãã¼ã¸ã§ã³ã¯ 2.0.2ãMySQL ã®ãã¼ã¸ã§ã³ã¯ 5.0.67ãTritonn ã®ãã¼ã¸ã§ã³ã¯ 1.0.12ãHyper Estraier ã®ãã¼ã¸ã§ã³ã¯ 1.4.10 ã使ç¨ããããµã³ãã«ã®æç« ãã¼ã¿ã¨ãã¦ãããããæ¥æ¬äººã«ã¨ã£ã¦æ¥µãã¦èº«è¿ãªèä½æ¨©åãæç« ã§ããããã°ã©ã»ãã°ã©ãã¨ãé»æ»é¤¨æ®ºäººäºä»¶ããå©ç¨ãããå¦çã®ããã«æ´å½¢ãããã¼ã¿ã¯æ¬ã¨ã³ããªã«æ·»ä»ãã¦ãããã¾ããã¼ã¿ãã¼ã¹ã¸ã¢ã¯ã»ã¹ããã³ã¼ãã§ã¯ãã¤ã°ã¬ã¼ã·ã§ã³ãé¤ãã§ããã ããã³ããã¼ã¯ãåãããã«ãããã®çµæã¯æ¬ã¨ã³ããªã®æå¾ã«è¨è¼ããã ãã¼ã¸ãã¼ã·ã§ã³ Rails ã§ãã¼ã¸ãã¼ã·ã§ã³ãå®ç¾ãã will_paginate ã¨ãã plugin 㯠ActiveRecord ã«æ¨æºã§ã¤
ãã¼ã«ã«ã«éçºç°å¢ã¨ãã¦Ruby1.8.7ã¨Ruby1.9.2ãå ±åãããæ¹æ³ã Rubyã®ã¤ã³ã¹ãã¼ã« ã¾ãã¯Rubyã®å¦çç³»ãã¤ã³ã¹ãã¼ã«ãruby-lang.orgããé©å½ã«è½ã¨ããä»åã¯ruby 1.8.7-p174ã¨ruby 1.9.2-preview1ã使ç¨ã ã¾ããRuby1.9.2ããã $ ./configure --prefix=/Users/uk/local --program-suffix=-1.9.2 $ make $ make install âprefixã§ã¤ã³ã¹ãã¼ã«ç®æãæå®ãèªåã®$HOME以ä¸ã®ã©ããã«ãããã®ãæè¿ã®ãã¤ãã¼ã ããã®å¾ã§ã¦ããgemã$HOME以ä¸ãRubyã¯ã¨ãããgemã¯$HOME以ä¸ãæ¨å¥¨ãããããç¨åº¦æåãªã©ã¤ãã©ãªãªãããããé©å½ãªéè¯ã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã«ããã«ã¯ãã¡ãã®æ¹ãå®å¿ãªçºã âprogram-suffixãæ
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}