KLab Advent Calendar 2011 ãDSAS for Social ãæ¯ããæè¡ãã®5æ¥ç®ã§ãã @methane ã«ãã MySQL ã骨ã¾ã§ããã¶ããã¥ã¼ãã³ã°ã·ãªã¼ãº (ã·ãªã¼ãºåã¯ä»èãã¾ãã)ã®ã¾ã¨ãã¨ãã¦ãç¾å¨ã® DSAS for Social ã® MySQL ã®ãªã¢ã«ãªæ§è½å¤ãç´é¢ãã¦ããããã«ããã¯ã赤裸ã ã«å ¬é ãã¦ãã¾ãã¾ãã innodb_io_capacity ãå¢ããã æ¬é¡ã«å ¥ãåã«ãã¾ã ç´¹ä»ãã¦ãªããã©1è¨äºã«ããã»ã©ã§ã¯ãªãã£ã ãã©ã¡ã¼ã¿ãç´¹ä»ãã¦ããã¾ãã innodb_io_capacity ã¯ã InnoDB ã«æãããã³ãã§ã Disk ã® IO/sec ãæå®ãã¾ãã ããã©ã«ãã§ã¯ãé常ã®HDDã§ã使ããããã«ä¸éå端ãªå¤(ãã¼ã¸ã§ã³ã«ãã£ã¦100ã200) ã«ãªã£ã¦ããã®ã§ãããBBUä»ããããã¡ãããRAIDã«ã¼ãã使ããª
PHP Advent Calendar jp 2011 7æ¥ç®æ å½ã® @scriptwork ã§ãã DateTimeã¯ã©ã¹ 㯠PHP5.3 ã§æ¥ä»ãæå»ã®å æ¸ç®ãè¡ã add / subã¡ã½ãã ã å·®åãè¨ç®ãã diffã¡ã½ãã ãªã©ã追å ãããæ¥ä»ã¨æå»ãåãæ±ãé¢åãªå¦çããµãã¼ããã¦ãããã¯ã©ã¹ã§ãã DateTimeã¯ã©ã¹ ãå®è£ ãããã¾ã§ã¯ PHPé¢æ° ã® strtotime() 㨠date() ã§æ¥ä»ã¨æå»ã®å æ¸ç®ãè¡ãªã£ã¦ãã¾ãããã2038å¹´åé¡ ã¸ã®å¯¾å¿ããããæ°ããã³ã¼ããæ¸ããªã DateTimeã¯ã©ã¹ ã使ãã®ãè¯ãããã§ããã ã¨ã¯ãããç¾å¨ã® PHP5.3.8 㨠PHP5.4.0RC2 ã® DateTimeã¯ã©ã¹ 㯠æ¥ä»ã®å æ¸ç® 㧠strtotime() 㨠åãåé¡ ããããã¦ãã¾ãã®ã§ã使ãæãæ¼ããã¦ããå¿ è¦ãããã¾ãã DateTimeã¯
http://mysql-casual.org/2011/11/mysql-casual-advent-calendar-2011.html ã®6æ¥ç®ã®è¨äºã¨ãã¦æ¸ããã¦ããã ãã¾ããsugyanã§ãã å¢ãã§åå 表æãã¦ãã¾ããä»æ¥æ ã¦ã¦ä¹ ãã¶ãã«MySQLã触ãã¾ããã MySQLã§FizzBuzz ã¹ãã¢ãããã·ã¼ã¸ã£ã£ã¦ä½¿ã£ããã¨ç¡ãã£ãã®ã§åãã¦è§¦ã£ã¦ã¿ã¾ããã DROP PROCEDURE IF EXISTS FizzBuzz; delimiter // CREATE PROCEDURE FizzBuzz(n INT) BEGIN DECLARE i INT DEFAULT 1; WHILE i <= n DO SELECT CASE WHEN i % 3 = 0 AND i % 5 = 0 THEN 'FizzBuzz' WHEN i % 5 = 0 THEN 'Buzz'
In this presentation, we walk take a flat PHP4-style application and gently migrate it into our own "framework", that uses components from Symfony2, Lithium, Zend Framework and a library called Pimple. By the end, you'll see how any ugly application can take advantage of the many wonderful tools available to PHP developers.Read less
ããã«ã¡ã¯åãã¾ãã¦ã¼ã2011年度æ°åã®ç°ä¸ã§ãã 12æããæ¥ã«å¯ããªã£ã¦ãã¾ãããã 11æãæããã£ãããã¨ãã£ã¦æ²¹æãã¦ãã¾ãããï¼ ç§ã¯å®å ¨ã«æ²¹æãã¦ãã¾ãããã¾ã å¬æãè²·ã£ã¦ãã¾ããã ãã¦ãã¾ã æããã£ã11æããã¯ã³ã´ã§Scalaåå¼·ä¼ã¨ããç±ãã¤ãã³ããããã¾ããã ç§ã¯æè¿Scalaãåå¼·ãå§ããã®ã§ããããã®åå¼·ä¼ã§ãScalaã®é åçãªæ©è½ãããããç¥ããã¨ãã§ãã¾ããã ä»åã¯Scalaåå¼·ä¼ããæã¡å¸°ã£ãæ å ±ãä»ã¾ã§ç§ãåå¼·ãã¦ãããã¨ãå ã«ãScalaã®ã©ããé åçãªã®ããè¨äºããã¦ãããã¨æãã¾ãã ããã§ã¯ãããããé¡ããããã¾ãã 対象èªè Javaãæ¸ãããã¨ãããæ¹ Scalaãç¥ãããæ¹ Scalaãå§ããã°ããã®æ¹ Scalaï¼ ãã¯ã³ã´ã¯ã¨ã³ã¸ãã¢å士ã®æè¡äº¤æµãçããªä¼ç¤¾ã§ãããã°ã©ãã³ã°è¨èªãä¸å¿ã«æ¥ã ãæ å ±äº¤æãè°è«ãè¡ããã¦ãã¾ãã
CakePHP ã«èªå㧠OGP ã¿ã°ãåãè¾¼ã㧠Facebook ã«å¯¾å¿ãããããã®ãã«ãã¼ãä½ã£ãã 2011å¹´12æ07æ¥ 15:00CakePHP â» ãã㯠CakePHP 1.3 æ代ã®è¨äºã§ãã2.0以éã ã¨ãã®ã¾ã¾ã§ã¯åããªãã¨æãã¾ãã OGP (Open Graph Protocol) ã¨ããç´æäºãããã¾ããã ä¾ãã°ã¦ã§ããã¼ã¸ã§ Facebook ã®ããããï¼ã(Like) ãã¿ã³ãæ¼ãããã¨ã ã©ããªç»åã説ææã表示ããããæå®ããã®ã«ä½¿ããããã¤ã ãã®ããã°ã® <head /> å ã«ãåãè¾¼ãã§ããã¾ãã æ¬æ¥ã¯èª°ã(ä½ã)ã¨èª°ã(ä½ã)ã®é¢ä¿ã®éã¾ãã§ããã½ã¼ã·ã£ã«ã°ã©ãã®ä¸ã§ ããã¯èª°(ä½)ãªã®ãã表ç¾ããããã®æ±ºãäºã¨ç解ãã¦ã¾ããã©ã ã¾ãå®è³ªããããï¼ãã®ããã«ã¦ã§ããµã¤ãã§ä½¿ããããã¨ãå¤ãã®ã§ã å®éã«ã¯ä½ãæ¸ãã¦ãããªãã¦ã Facebo
ã¯ãªã¢ã³ã¼ãã§ã¯Mozilla製åãRubyé¢é£ã®éçºã ãã§ã¯ãªããåºãããªã¼ã½ããã¦ã§ã¢ã®ãµãã¼ãããã¦ãã¾ãããã¡ããããµãã¼ã対象ã®ã½ããã¦ã§ã¢ã®å¤ãã¯ç§éãéçºãããã®ã§ã¯ããã¾ããããããããããã®ã½ããã¦ã§ã¢ã«åé¡ããã£ãå ´åã¯èª¿æ»ããå¿ è¦ã§ããã°ä¿®æ£ãã¦ãã¾ãã ãã®ãããªãµãã¼ããæä¾ã§ããã®ã¯ããã¨ãã¨ãç§éãããªã¼ã½ããã¦ã§ã¢ãå©ç¨ãããéçºããããã¦ããã¨ãã«æ¥å¸¸çã«åé¡ã®èª¿æ»ã»ä¿®æ£ããã¦ããããã§ããã½ããã¦ã§ã¢ãå©ç¨ãã¦ããã¨ãåé¡ã«ééãããã¨ã¯ãããããã¨ã§ãããã®ã½ããã¦ã§ã¢ãããªã¼ã½ããã¦ã§ã¢ã®å ´åã¯ãéçºè ã«åé¡ãå ±åããå¯è½ãªãããããæ·»ãã¾ãããã®ã¨ãããã®ã½ããã¦ã§ã¢ã®å 容ãå®å ¨ã«ææ¡ãã¦ãããã¨ã¯ã»ã¨ãã©ããã¾ãããããããããã§ãä¿®æ£ãããã¨ãã§ãã¾ãã ããã¯ã©ããã¦ã§ããããï¼ä»ã¾ã§ã¯ã©ã®ããã«ãã£ã¦ããã®ããèªåéã§ããã¾ã説æã§ããªãã£
æãæµ®ããã Gitã®Tipsãåæãã¦ã¿ã¾ããã gitã®ã³ãã³ããã§è£å®ãã git-completion.bash ãå ¥ããã¨ãã§ã³ãã³ãã®è£å®ãå¹ãããã«ãªãã¾ãã ã¾ããPS1ã®è¨å®ãè¡ãã¨ç¾å¨ã®ãã©ã³ãåã常ã«bashä¸ã«è¡¨ç¤ºãããããã«ãªãã¾ãã ï¼Windowsã®å ´åãmsysgit ã¯æ¨æºã§å ¥ã£ã¦ã¾ãï¼ contrib/completion/git-completion.bash - GitHub ã¤ã³ã¹ãã¼ã«æ¹æ³ï¼å¼ç¨ï¼ # To use these routines: # # 1) Copy this file to somewhere (e.g. ~/.git-completion.sh). # 2) Add the following line to your .bashrc/.zshrc: # source ~/.git-completion.sh # # 3)
BLOGOSã¨ãããµã¤ãããåãã§ããããã 2å¹´åã«éè¨ããããããã»ã¡ãã£ã¢ããªãããªã³ããã°ã®ãã¼ã¿ã«ã»ãµã¤ãã§ãå¤ãã®å人ããã°ã¨ãªãªã¸ãã«è¨äºã«ãã£ã¦ä¸ã®ä¸ã®ãã¥ã¼ã¹ãä¼ãã¦ãã¾ããã¡ãããã®ããã°ã¨ã³ããªãããã®å¤ãã BLOGOSã«è»¢è¼ããã¦ãã¾ãã æ¨æ¥ã第ä¸å BLOGOS AWARD 2011 ã¨ããã¤ãã³ããéãããé¨éãã¨ã« 6ã¤ã®ããã°ãè³ãåè³ãã¾ããããã®ä¸ã§ããã®ãChikirinã®æ¥è¨ãã¯ãâ大è³âãåè³ãã¾ããã 大è³ã®åè³çç±ã¨ãã¦ããèæ¸ãåºçãããã大æã¡ãã£ã¢ã§ã®é£è¼ãæã¤ãªã©ãå¤ãã®ããã¬ã¼ã«ã¨ã£ã¦ãã²ã¨ã¤ã®ãã¼ã«ã¢ãã«ã«ãªã£ããã¨ãã¾ãããªãããªã³ããã°ã®å°ä½åä¸ã«å¤å¤§ãªè²¢ç®ãããããã¨ãã¨ãããå¿åã§ãããªããé常ã«ä¿¡é ¼æãããã¨ã³ããªã¼ããªã©ã¨è¨ã£ã¦ããã ããã¨ã¦ãææ¿ãã¾ããã ããããã¹ã¦ç¶ç¶çã«ã¡ãããã®æ¥è¨ãèªãã§ãã ãã£ã¦ããç
ä¼ç»æ¸ãææ¡æ¸ãä½æããä¸ã§ã¾ãã¯ç¥ã£ã¦ãããããã¤ã³ãã«ç¶ããååã¯ãä¼ããã¡ãã»ã¼ã¸ãæ¸ãããã®ãã¤ã³ãã«ã¤ãã¦ãä¼ããã¾ãããä»åã¯åãããããè³æã«ããããã®ãã¡ãã»ã¼ã¸ã®è¦ç´ãã¨å³è§£ãã°ã©ãåã«ã¤ãã¦ããç´¹ä»ãã¾ãã åãããããããããã®æåã®æé ã¯ã¡ãã»ã¼ã¸ã®è¦ç´ã§ããé·æã¯ãèªã¿æã«ãã£ã¦ç解ãç°ãªããªã¹ã¯ã大ãããããã¨ã«ãªãã¾ããä»è ã®æç« ãã¡ã¼ã«ãè¦ã¦ãåããã«ããã¨æã£ãçµé¨ããããã¨ã§ãããã ä¼ç»æ¸ãææ¡æ¸ã¯ã説æãçµããã¨è³æã¨ãã¦ä¸äººæ©ããããã¨ã«ãªãã¾ãããã®éã«ã説æãå¿ å®ã«ä¼ãããã¦ããã¨ã¯éãã¾ãããããããããã§ã¯ãªãã±ã¼ã¹ãå¢ããã®ã§ã¯ãªãã§ãããããããããã¨ã誰ãèªãã§ããåä¸ã®ç解ãããæç« ãããã¨ãããã¨ã«ãªãã¾ããããã¯ãçæã¨ãããã¨ã§ãããã¤ä»¥ä¸ã®ãããªãã¨ã«å¿ãããã¨ããã®ã§ã¯ãªãã§ããããã çæã«ãããã¨ï¼30æå以å ï¼ ä¿®é£¾
ãµã¼ãã¹çµäºã®ãç¥ãã NAVERã¾ã¨ãã¯2020å¹´9æ30æ¥ããã¡ã¾ãã¦ãµã¼ãã¹çµäºãããã¾ããã ç´11å¹´éãNAVERã¾ã¨ãããå©ç¨ã»ãæ顧ããã ãèª ã«ãããã¨ããããã¾ããã
PHP5.4 Advent Calendar 2011ã®7æ¥ç®ã§ããæ¨æ¥ã¯@madapajaããã®ãPHP5.4+ ã§éçºãè¡ããã¦ãã BEAR.Sunday ãã¬ã¼ã ã¯ã¼ã¯ãåããã¦ã¿ããã§ããã ãã¦ãã¦çãããã¦ããããã¹ããã¦ã¾ããï¼ PHPããã¹ãã®ã©ã¤ãã©ãªãå å®ãã¦ãã¦ãããã«ãã¬ãã¸100%ã«æ ç±ãçããã¦ããæ¹ãå¤ããã¨ã§ãããã ã¦ããããã¹ãã§å°ãã®ããprivate/protectedã¡ã½ããã§ããå¤ããå¼ã¹ãªãã®ã§ãæ®éã®æ¹æ³ã§ã¯ãã¹ãã§ãã¾ããã(protectedã¯é©å½ãªããã¼ã®ãµãã¯ã©ã¹ãä½ã£ã¦ãããããã¹ãã§ãã¾ãããã¡ãã£ã¨é¢åã§ãã) ã¾ãå½ç¶ã§ããå¤ããå¼ã¹ãªãããã«privateã«ãã¦ããã®ã§ãç°¡åã«å¼ã¹ããéã«å°ãããã§ããããããªãããprivateã¡ã½ãããå¤ããå¼ãã§ãã¹ãã§ããæ¹ãéçºã¯ã¯ãã©ãã§ãããããã®è¨äºã§ã¯PHPã§privat
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}