2009-06-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã使ãæ¹ã«è©³ããããã¼ã¸æ¶ãã¦ããã©webarchiveã«ãã£ãã http://web.archive.org/web/20001208173200/http://web.kyoto-inet.or.jp/people/okubo/chicago_sty.htmlã§ãèè åããã«ããã¤ãã®æãååãã表示ãããªããè±èªã®äººã¯ã¡ããã¨åºãã®ã«â¦
mediabb.styã使ããç»åã®ãµã¤ãºåå¾ãèªååããã¦ãã åè http://www.hinet.mydns.jp/tdiary/?date=20060717 http://www.ma.ns.musashi-tech.ac.jp/Pages/TeX/mediabb.sty.html macportsã§platex-utf8ã¨dvipdfmxãã¤ã³ã¹ãã¼ã«ãã¦ããç°å¢ã mediabb.sâ¦
export RB_USER_INSTALL=true gem install mongrel
ãããã¬ã³ã¿ã«ãµã¼ãã¼ã¹ã¿ã³ãã¼ããã©ã³ã«ã¤ã³ã¹ãã¼ã« http://d.hatena.ne.jp/keisukefukuda/20080520/p1 wget http://kernel.org/pub/software/scm/git/git-1.6.3.tar.gz tar -zxvf git-1.6.3.tar.gz cd git-1.6.3/ ./configure --prefix=$HOME/local/gâ¦
ãã http://github.com/lenary/ginatra/tree/master sinatraã使ã£ãgitãªãã¸ããªãã©ã¦ã¶ããã sudo gem sources -a http://gems.github.com sudo gem install grit kematzy-sinatra-cache sudo gem install rspec webrat rack-test cucumbergit clone gâ¦
ãã³ã·ã§ã³é«ãé»è©±ãããæ°ãããããã¾ãè¦ãã¦ãªãã
portsudo port install epstool espgs ghostscript ghostscript-fonts-hiragino
macportsã§ã¤ã³ã¹ãã¼ã«ããplatex-utf8ã®.clsãªã©ã®ã¹ã¿ã¤ã«ãã¡ã¤ã«ã使ããããã«ãã ã¤ã³ã¹ãã¼ã«ããã ãã§ã¯pathãéã£ã¦ãªãããã sudo mkdir /opt/local/share/texmf-local/tex/ sudo mkdir /opt/local/share/texmf-local/tex/latex/ sudo cp -R /â¦
DirectSoundã®SecondaryBufferã«waveã®byteé åãæ¸ãè¾¼ãã§é³ãåºãã¦ãããã ãã© ãã¤ã¯ã§åã£ãé³ãUDPã§éã£ã¦å¥ã®ãã·ã³ã®ã¹ãã¼ã«ããåçããã - æ©æ¬è©³è§£ DirectSoundã®Deviceã®æã¡ä¸»ã¨ãã¦é¢é£ã¥ãããã¦ããControlï¼ãã®å ´åã¯System.Windows.â¦
ManagedDirectXã®DirectSoundã§ãã¤ã¯ãæ¾ã£ã¦UDPã«è©°ãè¾¼ãã§ãããã¯ã¼ã¯ã«æµããåãåã£ãå´ã§åçãããä¾ã ãã¦ãªã³ã°ã®é²æ¢ã¨ããèªè¨¼ã¨ãä½ããã¦ãªããå§ç¸®ããã44.1KHzã®waveãã ã æµããã¦ãã ãã éä¿¡å´ using Org.Shokai.Net; VoiceChat chaâ¦
http://d.hatena.ne.jp/shokai/20090617/1245213253 ã® device.SetCooperativeLevel(owner, CooperativeLevel.Normal); ã®é¨åã device.SetCooperativeLevel(owner, CooperativeLevel.Priority); ã«ããªãã¨ä»ã®ããã¤ã¹ãå ã«é³å£°åºå使ã£ã¦ãæã«é³ãåºãâ¦
p.11ã16ã¾ã§ããã®åããscaffoldã§modelãä½ã£ã¦ãDBã«ãã¼ã¿ã貯ããã¢ããªãä½ããã¨ã«ãªã ããã¾ã§ã®ä½æ¥å 容ã http://bitbucket.org/shokai/web-innovative/changeset/ecbe2a4194f3/ rails _2.0.2_ todo cd todo config/database.yml ãä¸å¿ç¢ºèªãDBâ¦
p.8ã10ã¾ã§ãgenerateã§controllerã¨viewãä½ã£ã¦ãããã®é£æºã確ããããã¾ã modelã¯ä½¿ããªãã ããã¾ã§ãbitbucketã«pushããã http://bitbucket.org/shokai/web-innovative/changeset/00311880fc28/ rails _2.0.2_ omikuji cd omikuji ruby script/geâ¦
p.2ãã7ã¾ã§ã ããã¾ã§ã®ä½æ¥ã¯bitbucketã«pushããã http://bitbucket.org/shokai/web-innovative/changeset/4fbcc1acc524/ ææ¥ã§ä½¿ãrailsã2.0.2ãªã®ã§ãã¼ã¸ã§ã³æå®ãã¦ä½¿ã rails _2.0.2_ helloã¨ããã¨2.0.2ã使ããã ããã¸ã§ã¯ãæ°ããä½ã£ã¦wâ¦
git hoge ã£ã¦æã¤ã®ãããã©ã - æ¥è¨ãæ¸ã [ã»wã»] ã¯ãã¿ããã mercurialç alias status='tryhgcmd status' alias push='tryhgcmd push' alias pull='tryhgcmd pull' alias commit='tryhgcmd commit' alias branch='tryhgcmd branch' alias log='tryhgâ¦
æ¥ã«7.10ã®ãµãã¼ããåãã¦apt-getãã¦ã404ã«ãªã£ã¦ãã¾ã£ã¦ããã do-release-upgradeã§ã¢ããã°ã¬ã¼ãã§ãããã ãã© http://d.hatena.ne.jp/shokai/20090529/1243601051 ãã®ãµã¼ãã¼ã¯pythonã®GnuPGInterfaceãç¡ãã¦upgradeã§ããªã do-release-upgraâ¦
apache2ã®mod_proxy_balanceræå¹å sudo a2enmod proxy_balancer sudo a2enmod proxy sudo a2enmod proxy_http /etc/apache2/mods-available/proxy.conf <IfModule mod_proxy.c> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> </IfModule>
ããããã³ã³ããã¼ã©ã« before_filter :auth def auth authenticate_or_request_with_http_basic do |user, pass| user == 'username' && pass == 'password' end end filterã¨ãã®é¢æ°ãæ¸ããRails2.0ãã使ãããããã developmentã®webrickã¨ã producâ¦
ãã¬ã¹ã3ã®ã«ã¡ã©ãWindowsã®C++/OpenCVç°å¢ã§ä½¿ããMacã¯macamã§åãããlinuxãæ®éã«ã«ã¡ã©ã¨ãã¦ä½¿ãäºã¯ã§ããããããã© windowsã¯Alexããã®ä½ã£ããã©ã¤ããå ¥ããã¨DirectShowã®ã½ã¼ã¹ã¨ãã¦ä½¿ããããã«ãªããã©ãããFlashããwebcamã¨ãã¦ã¯ä½¿â¦
config/environment.rb config.time_zone = 'UTC'ã config.time_zone = 'Tokyo'ã«å¤æ´ã environmentã¯èµ·åæã«ããèªã¿è¾¼ã¾ããªãã®ã§RAILS_ENV=developmentã§ãwebrickåèµ·åã
ã»ãã®é ã®ãªãã¸ã§ã³çªå·ãç¢ºèª hg heads revision 38ã¨tipãmerge hg merge -r 38 ãã®åã« hg resolve ãããããããªãmergeã®æã«ãã¤ããªãªãlocalãotherã®ã©ã¡ããé¸ã¶ããèããã windowsçtortoise Hgãªãkdiff3ãèµ·åãã¦GUIã§ã³ã³ããªã¯ããã¦â¦
åcontrollerã®.rbã«æ¸ã skip_before_filter :verify_authenticity_token controlleræ¹é ãã¦APIä½ãæãªã©ã«ä½¿ã
ããããã£ã¦ã¿ãã http://gihyo.jp/dev/serial/01/ruby/0009 sudo gem install rack sinatra sequel haml ãã£ã±ãã£ã¡ã®ç°¡åãªã®ããåãã http://gihyo.jp/dev/serial/01/ruby/0007 ãã«ã³ããã§ãã sinatra-test.rb require 'rubygems' require 'sinaâ¦
çµè«ããããã¨ã2.3.2ã§mongrel_clusterã使ãã¨ãã«config/mongrel_cluster.ymlã«prefixãæå®ãã¦ããã¨ãã¡ãmongrel_clusterã®ã¤ã³ã¹ã¿ã³ã¹ãèµ·åç´å¾ã«è½ã¡ããã°ã/log/mongrel.4000.pidãªã©ã«æ®ã£ã¦ããã 解決çã¯ãPinMarch: Rails 2.3ãåããè¦â¦