Mac OS風ã®æ°Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãComice OSãã2012å¹´2æ10æ¥ã«å ¬éãããï¼ç»é¢ï¼ããã¼ã¸ã§ã³ã¯ã4.0-bããå ¬å¼ãµã¤ãã®ãªã³ã¯å ãã64ãããçãç¡æã§å ¥æã§ããã Comice OSã¯ã人æ°ã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãUbuntuããåºã«ãã¦éçºããããPear OSãã®å¾ç¶ã«å½ãããæ§çã®Pear OSã¨åæ§ãMac OS風ã®ãã¹ã¯ãããç»é¢ãæ©è½ãæãã¦ããã Comice OS 4.0-bã§ã¯ã«ã¼ãã«3.2.0ãX Window SystemãX.org 1.10.4ããªã©ãææ°ã®Ubuntu 11.10ãåé²ããã½ããã¦ã¨ã¢ãããæ°ãããã®ãæ¡ç¨ãã¡ã¼ã«ã¼éçºã®ãããªã«ã¼ããã©ã¤ããç°¡åã«ä½¿ãããªã©ãUbuntuã¨åæ§ã«ã¦ã¼ã¶ã¼ã®ä½¿ãåæãéè¦ããä½ãã«ãªã£ã¦ããã ç¹å¾´çãªã½ããã¯ãç±³Apple社ã®ã¢ããªã±ã¼ã·ã§ã³ãã¦ã³ãã¼ããµã¼ãã¹
çè ã¯å代iPhoneããæ°ãã¦é·å¹´ãã£ã¨iPhoneãã¡ã¤ã³ã®é»è©±æ©ã¨ãã¦ä½¿ãç¶ãã¦ãã¾ãããiPhone以åã®éå»ã«ä¸ææã ã使ã£ã¦ããæ¥æ¬ã®ãããµã¤ãã±ã¼ã¿ã¤ãã¯ã¨ã¦ã便å©ãªãã®ã ã£ãã¨æã£ã¦ãã¾ãã æ¥æ¬ã®äº¤éã·ã¹ãã ã«è¨ããããã¨ã¯ããããããã¾ãããFeliCaããããå©ç¨ãããSuicaãããPASMOããªã©ã®äº¤éç³»é»åããã¼ã大å¤ä¾¿å©ã ã¨æãã¾ããiPhoneã§ã使ãããã§ããã ãNFCãå èµãããã°ãããã¯â¦â¦!ããªã©ã¨åã人ãã¡ãè¨ã£ã¦ãããããGalaxy S IIãã®ããã«æ¥æ¬åãã«ã¯NFCãæè¼ãããªãã£ãããGalaxy Nexusãã®ããã«(ããããFeliCaäºæã¨ãã¦ã¯åä½ããªã)é ãã¿ã¤ãã®NFCãæè¼ããããã§æ£ã ã§ããããã®ãããªæªå¤¢ã¯ä¸å»ãæ©ãå¿ãã¾ããããæã ã«ã¯ä½¿ããããé»è©±æ©ãå¿ è¦ã§ããiPhoneããµã ã使ãé»åããã¼æè¼åæºå¸¯é»è©±ã¨ãã¦
http://hibari.2ch.net/test/read.cgi/linux/1306144272/ ã¯ããã¦Ubuntuã使ç¨ããWindowsã¦ã¼ã¶ã®æ¹ã¸ Windowsãã¤ã³ã¹ãã¼ã«ããã¦ããPCã«Linuxãã¤ã³ã¹ãã¼ã«ããéãè¨å®ãééãã¨Windowsãèµ·åã§ããªããªãå ´åãããã¾ãã 以ä¸ãããèªãã§ããå®è¡ãã¦ãã ãããåãããªãè¨èã¯æ¤ç´¢ãã¦ãã ããã LiveCDããç´æ¥Ubuntuãèµ·åãã¦ã¿ã¾ããã åãã«ã¤ã³ã¹ãã¼ã«ããã«Live CDããç´æ¥èµ·åãã¦Desktopç»é¢ã¾ã§æ£ããè¡ãçããã試ãã¾ãããã èµ·åå¾ãå èµHDDãæ£ããèªèããã¦ããããæç·/ç¡ç·LANæ¥ç¶ãã§ããããªã©ãã¼ãã¦ã§ã¢ãèªèããã¦ããã確èªãã¾ãããã ã¤ã³ã¹ãã¼ã«ã«ããã£ã¦ Windowsã¨Linuxã®ã¤ã³ã¹ãã¼ã«ã®éãLinuxã¯SWAPã¯å°ç¨ãã¼ãã£ã·ã§ã³ã使ããï¼å¿ é ã§ã¯ãª
èªåã®ãã¡ã¤ã³ã«ããã°ããã¹ãããäºã«ãã¾ããã 第ä¸å¼¾ã®è¨äºã¯ãã¡ãã å¼ãç¶ããããããé¡ããã¾ãï¼ å æ¥èªã£ãEF66ã®å°è»ã«ã¤ãã¦ãä¸ã¤æ°ã«ãªã£ã¦ããäºãããã kohsuke.hatenadiary.com ä½ãéç¨ã§ãè¦ããªããã®ãéåã¨ç´°ããä½ããããã®ã ãä¾ãã°ãããå·¥ç¨ã§ã大ããªæ¯è»ãè¦å´ãã¦è»è¼ªã«ãã£ã¤ããã¨æãã¨ã次ã®å·¥ç¨ã§ã¯è¦ããä½ãããã¦æ¯è»ã¯ãã®ä¸ã«é ãã¦ãã¾ããã¢ã¼ã¿ã¼ã®ç²¾å·§ãªæ¨¡æ§ãä¸ç·ã«ãå®æãããè¦ããªãå·¥ç¨ã«ä½ã®åå¨æ義ãããã®ãããããªã®ãå¹¾ã¤ãããã ãããªã¨ããã¸ããã®è¨äºã«æå¿ããååãããåãæãé§åæ¹å¼ã¨ããWikipediaã®è¨äºãéããã¦ããããããèªãã ãã¬ãã³ã¨ãããã¦ãã¾ã£ãã å ¨ãåã¯ä½ãè¦ã¦ãããã ã¨æã£ãã Wikipediaã®è¨äºã§ã¯ãå°è»ä¸ã«ã¢ã¼ã¿ã¼ãé ç½®ããã¨ããæ§é ããã©ãããæå³ã§è¨è¨ãããã®ãã解説ããã¦ãããåã
PHP_CodeSniffer ã® --standard ãªãã·ã§ã³æ¯è¼ - miau's blog? ããã§æ¸ãæ¼ããã PHP_CodeSniffer ã®è«¸ã ã«ã¤ãã¦ã â Zend Code Analyzer ã®ã¤ã³ã¹ãã¼ã«ã«ã¤ã㦠Zend Code Analyzer å ¥ãã¦ãã¨ã--standard=Zend ã§è¿½å ã®ãã§ãã¯ããã£ã¦ããã件ããããããã¥ã¢ã«ã«ãè¼ã£ã¦ããã ãã©è¦è½ã¨ãã¦ã¦âã® blog è¦ã¦åå¨ã«æ°ã¥ããã webããã°ã©ãã¼ã®ã¡ã¢ â« PEARã®PHP_CodeSnifferã®ã¤ã³ã¹ãã¼ã«åã³ä½¿ç¨æ³ | php, MySQL, PostgreSQL, apache, Linuxçã®æè¡ã¡ã¢ã§ãã ããã¦ãZend Code Analyzer ã¸ã®ãã¹ãè¨å®ãã¾ãã $ sudo phpcs --config-set zend_ca_path /path/to/
ä¸æµã®ä¼ç¤¾ãæè¿ PHP_CodeSniffer ã«ããã¹ã¿ã¤ã«ã®ãã§ãã¯ãæ¨å¥¨ãã¦ãããããããããªãã®ã§ç¸ããªãã¦ãã¾ã¨ããªã³ã¼ãæ¸ãã人ã°ããã ã¨ãããã ãã©ã»ã»ã»ãã¡ã§ããã¾ã«ã²ã©ã人ãããããæå¥è¨ããªããï¼å¹³æ°ã§ 8 ã¿ãã§ã¤ã³ãã³ããããããªäººãããããè¦ãã¨ãç©æãããã»ã»ã»ãï¼ PHP_CodeSniffer ã§ã¯èªåã§ã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã®åºæºãå®ç¾©ããããã§ãããã ãã©ãçµã¿è¾¼ã¿ã®åºæºãä½ç¨®é¡ããã£ããããããã®åºæºã§ PEAR 㨠Zend 以å¤ã«è¨åãã¦ã人ãå°ãªãã£ããããã¾ãã¯ããã«ã¤ãã¦è§¦ãã¦ããããã¨ã â ã¤ã³ã¹ãã¼ã« >pear install PHP_CodeSniffer-1.1.0RC1 ã¨ãããã¨ã§ãä»åã¯ç¾æç¹ã§ææ°çã§ãã 1.1.0 RC1 ã§ç¢ºèªãã¦ã¾ãã â --standard ãªãã·ã§ã³ã«ã¤ãã¦ã®æ¦è¦ phpcs ã -i ãªãã·ã§ã³
PHP_CodeSnifferã¨ã¯Javaã§ããã¨ããã®Checkstyleã®ãããªãã®ã§ï¼PHP5ã§åä½ããPHPç¨ã®ã³ã¼ãã£ã³ã°è¦ç´ãã§ãã¯ãã¼ã«ã§ãï¼ PEAR æ¨æºã³ã¼ãã£ã³ã°è¦ç´ï¼Zend Framework PHP æ¨æºã³ã¼ãã£ã³ã°è¦ç´ã®ãã§ãã¯ãæåããå«ã¾ãã¦ããï¼ ã¾ãç¬èªãã§ãã¯ãï¼ã«ã¼ã«ã«å¾ã£ã¦ä½æãããã¨ã§å¯è½ã¨ãªãã¾ãï¼ æ¬ã³ã³ãã³ãã§ã¯ãã®ä¾¿å©ãªãã¼ã«PHP_CodeSnifferã®ã¤ã³ã¹ãã¼ã«ãã使ãæ¹ï¼tipsãªã©ãã¾ã¨ãã¦ããã¾ãï¼ ã¤ã³ã¹ãã¼ã«ã¨å®è¡æ¹æ³ PHP_CodeSnifferãã¤ã³ã¹ãã¼ã«ããï¼ PEAR æ¨æºã³ã¼ãã£ã³ã°è¦ç´ã«å¾ã£ã¦ãããããã§ãã¯ããï¼ PHP_CodeSnifferãEclipseããå®è¡ããï¼ ããã©ã«ãã§ä½¿ç¨ããã³ã¼ãã£ã³ã°è¦ç´ãè¨å®ããï¼ ç¬èªã³ã¼ãã£ã³ã°è¦ç´ã®ä½æ comming soon... Tips
PHP_CodeSnifferã¯PHPã®ã³ã¼ãã¹ã¿ã¤ã«ããã§ãã¯ãããã¼ã«ã§ãã0.1.0ã§ã¯PEARã®ã³ã¼ãã£ã³ã°åºæºã«é©åãããã©ããã確èªã§ãã¾ãã®ã§ãããã¤ã試ãã¦ã¿ã¾ããã ã¾ãã¯ç°¡åã«PHP_CodeSnifferã®ä½¿ãæ¹ããã PHP_CodeSnifferã使ã ã¤ã³ã¹ãã¼ã« pearã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ããã ãã§ãã $ pear install PHP_CodeSniffer-0.1.0 CLIç°å¢ã§ã¯PEARããã±ã¼ã¸ã«å«ã¾ãã¦ããphpcsã³ãã³ãã§ãã§ãã¯ãã§ãã¾ãã 使ç¨ä¾ ã¾ããããã¡ãªãµã³ãã«ãã¡ã¤ã«ã§ãã§ãã¯ãã¦ã¿ã¾ãããã§ãã¯ããã½ã¼ã¹ã¯ä»¥ä¸ã§ãã < ?php class Hello { var $message = null; function __construct($message) { $this->message = $message; }
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}