2011å¹´09æ09æ¥22:17 ã«ãã´ãªPHPCodeigniter CodeIgniter2.0.3 CodeIgniter.php ã¯ä½ããã¦ã ã·ã¹ãã ã®åæå ï¼ åºæ¬ã¯ã©ã¹ããã¼ãããHTTP ãªã¹ã¨ã¹ããå®è¡ å ¨ã¦å±é ããã»ã¹ 1. ãã¼ã¸ã§ã³å®æ°ã®è¨å® define('CI_VERSION', '2.0.3');2.0.3 2. ãã©ã³ãã®è¨å® define('CI_CORE', FALSE); // Core = TRUE, Reactor = FALSEFALSE 3. å ±éã«ä½¿ç¨ããé¢æ°ã®å¼ã³åºã require(BASEPATH.'core/Common.php'); PHP ã®ãã¼ã¸ã§ã³ããã§ãã¯is_php($version = '5.0.0') ãã¡ã¤ã«ã®æ¸ãè¾¼ã¿å±æ§ãã¹ãis_really_writable($file) ã¯ã©ã¹ã®ç»é²&load_class
Capistranoã¯Railsã¨é常ã«è¦ªåæ§é«ããã§ãããä»ã®è¨èªã§ã使ãã¾ãã ä¾ã¨ãã¦Ethnaã®ããã¸ã§ã¯ãã capistranize ãã¦ã¿ã¾ãã 1.Ethnaã®ããã¸ã§ã¯ãä½æ $ ethna.sh add-project test creating directory (/path/to/project/test) [y/n]: y 2.Railsç°å¢ã®é©ç¨ $ rails rails-tmp $ cp rails-tmp/Rakefile test $ cp -a rails-tmp/config test $ cp rails-tmp/db db $ cp -a rails-tmp/test test $ cp -a rails-tmp/lib/* test/lib $ cp rails-tmp/vendor test/vendorããã§Railsç°å¢ãåä½ããããã«
LESS « The Dynamic Stylesheet language http://lesscss.org/ CSS ãæ¸ãã¦ããã¨ãã ã³ã¡ã³ãã¢ã¦ãã« /* ï½ */ ãããªã㦠// ã使ããã å ¥ãåã§æ¸ããã®ã解éãã¦æ¬²ãã ã¨æã£ããã¨ããã人ãªãå¤å夢ã®ãããªã©ã¤ãã©ãªã ã¨æãã 使ãæ¹ã¯ç°¡åã§ã説æã«æ¸ãã¦ããéã head ã¿ã°å ã« less.js ãèªã¿è¾¼ãããã®å®ç¾©ã¨ãLESS ã§è¨è¿°ããã¹ã¿ã¤ã«ãèªã¿è¾¼ãããã®å®ç¾©ã追å ããã ãã <link rel="stylesheet/less" type="text/css" href="styles.less"> <script src="less.js" type="text/javascript"></script> styles.less ã«ãã¤ãéãã® CSS ãæ¸ãã°æ®éã«è§£éãã¦ããããã以ä¸ã®ãããªæ¸
çããããç¡æ²æ±°ãã¦ããã¾ãã ãã½ã³ã³å¨è¾ºæ©å¨ã«ãéãããã¯ããã¦ãã笹äºã§ãã ã¨ã³ã¸ãã¢ã¯ãã½ã³ã³ãå売éå ·ãªã®ã§ã ãã¯ã使ããããç©ã使ããããªãã®ã¯èªç¶ãªäºã§ããã ãåèã¾ã§ã«ããã ãã¦ã¹ããï¼Logicool MX Revolutionï¼ããã¯ã«ã¡ã©ã§ãã¤ã³ãã§è³¼å ¥ ãã¼ãã¼ãï¼Bluetooth Macç¨ãã¼ãã¼ãï¼ä¼ç¤¾ã®äººãã売ã£ã¦ãããã¾ããw ä»åã¯Triggerã«ã¤ãã¦ãç´¹ä»ãããã¨ãããã¾ãã Triggerã¨ã¯ããã¼ã¿ã®å¤æ´ãªã©ã®ã¤ãã³ãã«ãã£ã¦ãããããæå®ããå¦çãèªåçã«å®è¡ããæ©è½ã§ãã æè¿ä½¿ç¨ãã¦ãããã¼ã¿ãã¼ã¹ã«ã¯å¿ ãåãã¦ããæ©è½ã§ãã Oracle,Postgres,MySQLã§ãå½ããåã®ããã«ããã¾ãã å®éã«ã¯ã©ã®ãããªã¨ãã«ä½¿ç¨ãããã®ãªã®ã§ããããï¼ ã»ç¹å®ã®ãã¼ãã«ã«å¯¾ãã¦ã®å¦çã®ãã°ãã¨ããã ã»ç¹å®ã®ãã¼ãã«ã®ããã¯ã¢ããã
æè¿ãã¼ã«ãã³ã®ãã£ãããéãæãã¦æãéè²ã«ãªã£ã¦è¡ãã¾ãã javascriptã§DOMã®è¦ç´ ã追å ããã«ã¯document.createElement()ã§ãããã var div = document.createElement("div"); document.body.addChild(div); jQueryã§ããã«ã¯ã©ããããããã®ããæååããããã£ãã¨ã§ããã¾ããã²ã¨ã¤ã«ã¯ä¸è¨ã®ããæ¹ã§è¿½å ããã£ã¦ã®ãããã§ãã追å ãããã®ãjQueryã§ä½¿ãã¾ãããããã¾ãããªãã¨ãªããããããªããåã«ã¿ã°ã追å ããã«ã¯ $("#hoge").append('<a href="http://www.google.com">google</a>'); ã§åè¦ç´ ã«è¿½å ã§ãããã $("#hoge").appendTo('<a href="http://www.google.com">go
$Id: dic-detail.html 161 2008-02-03 09:58:46Z taku-ku $; æ¦è¦ åèªè¾æ¸ã®æ§é ãç解ãããã¨ã§, MeCab ãæ±ç¨çãªããã¹ãå¤æãã¼ã«ã¨ãã¦å©ç¨ãããã¨ãã§ãã¾ã. ä¾ãã°, ã²ãã㪠to ã«ã¿ã«ãå¤æ, ãã¼ãå to ã²ãããªå¤æ, Auto Linkçã MeCab ã ãã§å®è¡ã§ãã¾ã ãã¡ã¤ã« åèªè¾æ¸ãæ§ç¯ããã«ã¯, æä½ä»¥ä¸ã®ãã¡ã¤ã«ãä½æããå¿ è¦ãããã¾ã. *.csv ãã¡ã¤ã« (åèªè¾æ¸) matrix.def (é£æ¥è¡¨) unk.def (æªç¥èªç¨åè©å®ç¾©) char.def (æªç¥èªã®æåå®ç¾©) dicrc (è¨å®ãã¡ã¤ã«) *.csv ãã¡ã¤ã« åèªè¾æ¸ã§ã ã¨ã³ããªã¯, 以ä¸ã®ãã㪠CSV ã§è¿½å ãã¾ã. test,1223,1223,6058,foo,bar,baz æåã®4ã¤ã¯å¿ é ã¨ã³ããªã§,
MySQLã®RANGEãã¼ãã£ã·ã§ã³ã®ã話ã§ãã MySQL5.1ãããµãã¼ãããã¦ãããã¼ãã£ã·ã§ãã³ã°ã§ããããã°ãã¼ãã«çãã¬ã³ã¼ãæ°ãå¤ããªããã¡ãªãã¼ãã«ã«æ¥ä»ã§ãã¼ãã£ã·ã§ãã³ã°ãã¦ã¾ãã æåããé ãæªæ¥ã¾ã§ã®ãã¼ãã£ã·ã§ã³ãåãã®ã¯æ°æã¡æªãããé·ãéç¨ããããµã¼ãã¹ã®å ´åã¯å¿ããå¯è½æ§ãããã®ã§ããããåãã®ãããã¨æãã¾ãã追å ããå ´åã®æé ã¨æ³¨æç¹ã§ãã ã»ã¾ãã¯ãã¼ãã£ã·ã§ã³ãä½æ CREATE TABLE `mura`.`test1` ( `date` DATE NOT NULL , `name` VARCHAR( 40 ) NOT NULL , `contents` VARCHAR( 255 ) NOT NULL , `created_at` DATETIME NOT NULL ) ENGINE = InnoDB PARTITION BY RANGE (TO_
2. èªå·±ç´¹ä» ï® MySQL/Linuxå¨ãã®ã¹ãã·ã£ãªã¹ã ï¬ 2006å¹´9æãã2010å¹´8æã¾ã§MySQLæ¬å®¶(MySQL/Sun/Oracle)㧠APAC/USåã®MySQLã³ã³ãµã«ãã£ã³ã°ã«å¾äº ï¬ ä¸»ãªèæ¸ã«ãç¾å ´ã§ä½¿ããMySQLããLinux-DBã·ã¹ãã æ§ç¯/ éç¨å ¥éããJavaãã¼ã¿ã¢ã¯ã»ã¹å®è·µè¬åº§ã ï® DeNAã§ã®ä¸»ãªå½¹å² ï¬ å®å®å/ããã©ã¼ãã³ã¹/éç¨å¨ãã®ä¸é·æçãªæ¹åæ´»å ï¬ L3ãµãã¼ã/éç¨/ãã©ãã«ã·ã¥ã¼ãã£ã³ã° â é£åº¦ã®é«ãMySQLå¨ãã®åé¡ã®æ ¹æ¬åå ã®ç¹å®ã¨è§£æ±º ï¬ å¤ãã®ããã¸ã§ã¯ãæ¯æ´ ï¬ ç¤¾å åå¼·ä¼/ãã¬ã¼ãã³ã° â MySQLããã¼ã¿ãã¼ã¹å¨ãã®ãã¹ããã©ã¯ãã£ã¹ã社å ã§å ±æãã æè¡ã¹ãã«ãåºä¸ããã ï¬ æè¡ãã¼ã±ãã£ã³ã° â å½å å¤ã®ã«ã³ãã¡ã¬ã³ã¹ããæè¡éèªç
http://www.lostway.org/~tko/cgi-bin/bakagaiku.rb?bakaid=200510131 ãè¦ã¦ãexceptionèµ·ããã¦backtractã§ç¡çç¢çåå¾ãã£ã¦æ¹æ³ãç¥ããã¢ã¿ãã¤ã¤ï¼ã¨ãããã¨ã§Objectã«çµã¿è¾¼ãã§ã¿ããã²ãã£ã¨ããã使ãæ©ä¼ãããããï¼ class Object def current_method begin raise StandardError rescue StandardError => e e.backtrace[1].scan(/`(.*)'/).to_s end end end ã§ãä¸è¨ã®ãããªæåã«ã def foo p current_method end foo #=> 'foo' è¿½è¨ id:ha-tan:20051014:1129218253 ã«ããã¨ãcallerã使ãã°ä¾å¤ãæããªãã¨ãbac
cles::blog 平常å¿æ¯é blogs: cles::blog NP_cles() « GPLv3ã®æ¥æ¬èªè§£èª¬æ¸ãå ¬éã« :: ããªãªã«ã¼ãç·´ç¿ä¸ » 2009/04/25 Rubyã§ãæ軽MQ ruby sh mom 398 1ã¸ã ä»äºã§ãããã®å¤éèµ·åãé²æ¢ããã¹ã¯ãªãããæ¸ããã®ã§ãããããã ã¨å¾ç¶ã®ãããããã£ã³ã»ã«ããã¦ãã¾ã£ã¦å®è¡ãããªãã®ã§ãã¸ã§ããQueueã«æºãã¦é次å®è¡ãã¦ãããä»çµã¿ã欲ãããªã£ãã®ã§ãRubyã使ã£ã¦MQãµã¼ããæ¸ãã¦ã¿ã¾ããã Rubyã«ã¯Queueã¯ã©ã¹ãããã®ã§ãããã使ã£ã¦drbããã¡ãã»ã¼ã¸ãæãè¾¼ãããã«ããã°ç°¡åãªMQãµã¼ãã¯ããã«ã§ããã®ã§ãããããã ã¨ã¡ãã»ã¼ã¸ã®æ°¸ç¶åæ©è½ããªãã®ã§ãä¸æ ®ã®äºæ ã§ãã·ã³ã®é»æºãè½ã¡ããããã¨ãã®ã¾ã¾ã¡ãã»ã¼ã¸ãæ¶æ» ãã¦ãã¾ãã¾ããããã ã¨è²ã ã¨åé¡ãããã®ã§ãä»åã¯ap4rã®ããã¯ã¨ã³
常èãªã®ãããããªããã©ãã¡ãã£ã¨ã ãã¯ã¾ã£ãã®ã§ãã¡ã¢ã Array#uniq ã¯é åããéè¤ããè¦ç´ ãåãé¤ããæ°ããé åãè¿ãã¡ã½ããã ["hoge", "fuga", "piyo", "piyo", "hoge", "fuge"].uniq #=> ["hoge", "fuga", "piyo", "fuge"] ãã ããèªåã§å®ç¾©ããã¯ã©ã¹ã®ãªãã¸ã§ã¯ãã«ã¤ãã¦ã¯ããã®ã¾ã¾ãããã¾ãåãã¦ãããªãã class Vector2D attr_reader :x, :y def initialize(x, y) @x, @y = x, y end def inspect "#<#{@x}, #{@y}>" end end ary = [[3, 4], [4, 3], [1, 2], [3, 4], [1, 2]].map{|x, y| Vector2D.new(x, y)} #=>
MySQLTunerã¯MySQLã診æãã¦ãããããã¢ããã¤ã¹ãã¦ãããããã°ã©ã ãperlã¹ã¯ãªããã§æä¾ããã¦ããã®ã§ãç°¡åã«å®è¡ã§ããããªãWindowsã§ã¯åããªããããã ãã¦ã³ãã¼ããã¦å®è¡ããã $ wget http://mysqltuner.com/mysqltuner.pl $ chmod +x mysqltuner.pl $ ./mysqltuner.pl 以ä¸ã®ãããªã¨ã©ã¼ãåºãã >> MySQLTuner 0.9.9 - Major Hayden >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering Please enter y
Dynamic Text Replacement Solutions | Dezinerfolio ããã¹ããåçã«ã¢ã³ãã¨ã¤ãªã¢ã¹ããã£ã綺éºãªç»åã«ããä»çµã¿ãè²ã ã¨ããã¿ããã§ãã FlashãPHPãCSSãJavaScriptã®è¦ç´ ãããªããã¼ã«æ··ãåããã¦ããã¨ãããè¦æã§ãã P+C DTR PHP+GDã§ç¶ºéºãªããã¹ããçæããJavaScriptã§background-imageè¨å®ãã¦è¡¨ç¤ºãã¾ãã ãããããããã¹ãã«ãªã£ã¦ããã®ã§ãHTMLãã¯ãªã¼ã³ã§ãã è¦ãæ¹ã¯ä»¥ä¸ã®ããã«ã綺éºãªããã¹ã çæãããHTMLã¯h5è¦ç´ ã¨ãã¦ã次ã®ããã«ãªã£ã¦ãã¾ãã <h5 style="background-image: url(image.php?text=You%27re+Look%27n+At+It&tag=h5);">You're Look'n At It</h
ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
â CSS DoCoMoã¯ã¿ã°ã®ãªãã·ã§ã³ã®ä½ç½®ã«ç´æ¥æ¸ãè¾¼ãæ¹æ³ããã§ãã¾ããã ãªã³ã¯ã®è²æå®ã ãã¯<head>ã§åºæ¥ã¾ãã â DoCoMoãi-cssãã¤ããã¨ãã®æ¡å¼µå ãã¡ã¤ã«ã®æ¡å¼µå㯠.xhtml ã«ããªãã¨ããã¾ããã ããããªãã¨ãã«ã¯ã .htaccess ã«ä»¥ä¸ã®ï¼è¡ãæ¸ãã¦ãDoCoMoç¨ã®ã«ã¼ããã£ã¬ã¯ããªã®ä¸ã«ã§ãå ¥ãã¦ç½®ãã¾ãã AddType application/xhtml+xml .html â DoCoMoãi-cssãã¤ããã¨ãã®XMLå®£è¨ ä¾ãã°ãã¼ã¸ã§ã³ï¼ãªã <!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.0) 1.0//EN" "i-xhtml_4ja_10.dtd"> <head>ï½ DoCoMoã¯ä¸ã¨ãã®ï¼ç¹ãè¸
CakePHP1.3ã§åçã«ã³ã³ãã¼ãã³ããèªã¿è¾¼ãããã®ã³ã³ãã¼ãã³ã DynamicComponent ãä½æãã¾ããã cakephp-dynamic-component 注æ: Cakeæ¬æ¥ã®æ©è½ãè¶ ããæ©è½ãæä¾ãããããCakeã³ã¢ã®privateãªã¡ã½ãããããããã£ã«ã¢ã¯ã»ã¹ãã¦ãã¾ããCakeã®ãã¼ã¸ã§ã³ãä¸ããã¨ä½¿ç¨ã§ããªããªãå¯è½æ§ãããã¾ããååã注æãã ããã ãã®ã³ã³ãã¼ãã³ãã使ãã¨æ¬¡ã®ãããªãã¨ãå¯è½ã«ãªãã¾ãï¼ admin ãã¬ãã£ã¯ã¹ãä»ãã¦ããã¨ãã ã Auth ã³ã³ãã¼ãã³ããèªã¿è¾¼ã debug > 0 ã®ã¨ãã ã DebugKit ãèªã¿è¾¼ã èªã¿è¾¼ã¿ã¯ã³ã³ããã¼ã©ã® _initialize ã¡ã½ãã㧠loadComponents ã¡ã½ããã使ã£ã¦è¡ãã¾ãã class AppController extends Controller { va
ã¡ãã£ã¨å¿ è¦ã«ãªã£ã¦èª¿ã¹ç© ãããã®ã§ã¡ã¢ãECãµã¤ãç ã§ãããã«ã¼ã決æ¸ãåºæ¥ã æãããã¨æãã¾ãããã㮠決æ¸ä»£è¡ããã¦ããæãæ¢ã ãã®ã§åå¿é²çã«ãè²»ç¨ã« é¢ãã¦ã¯è¦ååãã¿ããã§ãã ã¨ãã訳ã§10社ã»ã©ã¡ã¢ãPaypalã¯è«¸äºæ ã«ãããçãã¦ããã¾ããé ä¸åã§ãã ZEUS EC-CUBEã¨ãosCommerceã¿ãããªãªã¼ãã³ã½ã¼ã¹ã«ã対å¿ãã¦ãã¿ããã§ãã丸äºããããå°å ¥ãã¦ãããã§ãã ZEUS ã¤ãã·ãã³ GMOç³»åã§ãããï¼æ ¶æ義塾ãå°å ¥ã ã¤ãã·ãã³ J-Payment æ±å¤§ã¨ããå°å ¥ãSuicaã«ã対å¿ãã¦ãã¿ããã§ãã J-Payment ãã¬ã³ã ã¯ã¬ã¸ãã å®ç¸¾ä¾ãããå°ã欲ããã¨ããã§ãããã¢ãã¤ã«ã«ã対å¿ã ãã¬ã³ã ã¯ã¬ã¸ãã ã«ãã¼ãº EC-CUBEãªã©åãªã¼ãã³ã½ã¼ã¹ã«ã対å¿ãã¦ãã¾ãããªããªãããæ°ã ã«ãã¼ãº PAYGENT ãã¡ããåCMSã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}