soundtrack æ¤ç´¢å¼ åä¸åèªæ¤ç´¢ 調ã¹ããåèªãä¸ã¤æå®ããã ãã®ãã£ã¨ãåºæ¬çãªæ¤ç´¢ææ³ã§ãã ä¾: namazu ANDæ¤ç´¢ ããåèªã¨ããåèªã®ä¸¡æ¹ãå«ãææ¸ãæ¤ç´¢ãã¾ããæ¤ç´¢çµæãçµ ãè¾¼ãã®ã«æå¹ã§ãã3ã¤ä»¥ä¸ã®åèªãæå®ãããã¨ãå¯è½ã§ãã åèªã¨åèªã®éã« and ãæ¿ã¿ã¾ããä¾: Linux and Netscape and ã¯çç¥ã§ãã¾ããåèªã空ç½ã§åºåã£ã¦ç¾ åã ãã¨ãããã®èªãã¹ã¦ãå«ãææ¸ãANDæ¤ç´¢ãã¾ãã ORæ¤ç´¢ ããåèªã¨ããåèªã®ã©ã¡ãããå«ãææ¸ãæ¤ç´¢ãã¾ãã3ã¤ä»¥ä¸ ã®åèªãæå®ãããã¨ãå¯è½ã§ããåèªã¨åèªã®éã« or ãæ¿ã¿ã¾ããä¾: Linux or FreeBSD NOTæ¤ç´¢ ããåèªãå«ã¿ãããåèªãå«ã¾ãªãææ¸ãæ¤ç´¢ãã¾ãã3ã¤ä»¥ä¸ ã®åèªãæå®ãããã¨ãå¯è½ã§ããåèªã¨åèªã®éã« not ãæ¿ã¿ã¾ããä¾: Linux not
å¤ãã½ã¼ã¹ã®ä¸é¨ãå ¬éã§ãã(nicoDB_Search) PHP5.2.6ã®ã¿ã§and,oræ¤ç´¢ãå®è£ ããSQLçæã®ã½ã¼ã¹ã§ãã æ¹å¤ã¯èªç±ã«ãã¦ä¸ããã æ§nicoDB_Searchã®SQLçæã®ã½ã¼ã¹ //JavaScripté¨å(ç°¡æå ¥åãã§ãã¯) <script language="javascript"> function jsort(targ,selObj,restore){ eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } function spCheck(trg) { var ck = trg; re = new RegExp("^[ ã]+$"); if(re.test(trg)!=true){
ä»è©±é¡ã®SNSï¼ã½ã¼ã·ã£ã«ãããã¯ã¼ãã³ã°ãµã¤ãï¼ãmixiãªã©ç¤¾ä¼ç¾è±¡ã«ã¾ã§çºå±ãããããã§ãããæè¿ã§ã¯SNSã®ããªã¼ã½ãããå ¬éããã誰ããSNSãæ§ç¯ãããã¨ãã§ããããã«ãªãã¾ãããããã§ä»åããVineLinuxã§ããªã¼ã½ããã使ç¨ãã¦SNSãæ§ç¯ããæ¹æ³ãç´¹ä»ãã¾ãã ããã¹ããã¨ãçãã ããããªã®ã§ã2åã«åãã¦èª¬æãã¦ããã¾ãã ä»åã¯ãªã¼ãã³ã½ã¼ã¹ã®OpenPNEãå©ç¨ãã¦SNSãæ§ç¯ãããã¨æãã¾ãã âäºåæºå VineLinuxã§OpenPNEã使ç¨ããã«ã¯ä»¥ä¸ã®ç°å¢ãæ´åãããã¡ããã¨åä½ãã¦ãããã¨ãåæã¨ãªãã¾ãã足ããªãããã±ã¼ã¸çãããå ´åã¯ãã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ãå®äºãã¦ããã¦ãã ããã *Apache(1.Xç³»ã§ã2.Xç³»ã§ãOK) *MySQL(VinePlusã®ãã¼ã¸ã§ã³ã§OK) *php(VinePlusã®ãã¼ã¸ã§ã³ã§OK) *Postf
ãï½ãã»ã»ã»ç§ãæãã«ãæ®åãã¦ããªãã®ã§ã¯ãªãããæ軽ã¨ããç¹ã§æ®åã¯ãã¦ãããè©ä¾¡ãä½ãã¨ããããè©ä¾¡ã両極端ãªãã ã¨æãã¾ãã ã§ããç§ãç¥ãéãã§ã¯ãPHPã§ã¯Cakeæ¡ä»¶ãä¸çªå¤ããã§ããã©ãã»ã»ã» ä»ã¨æ¯ã¹ã¦CakePHPããä¸è½ãã§ããç¹ã«ç´ æ´ããããããã§ãããã¾ãããã ãããããã¸ãã¹ã«ããã¦ãããããã®ãã¬ã¼ã ã¯ã¼ã¯ã®å©ç¹ã¯ã ããã¸ã§ã¯ãã®ç®çãéçºãã¼ã ã®ç¶æ³ãç«ã¡ä½ç½®ã«ãã£ã¦ãå¤ãã£ã¦ããã®ã§ã¯ãªãã§ããããï¼ Cakeã«éãã¾ããããä¾ãã°ããã¸ã§ã¯ããã¨ã«ã¡ã³ãã¼ãå ¥ãæ¿ããããæç¨ãªãããã¼ãæ¡ç¨ããããªãã£ãããè¦ããã«å¤é¨ã¹ã¿ãããå¤ç¨ãã¦ããããªã¨ããããç¬èªã§ãã¬ã¼ã ã¯ã¼ã¯ãéçºãã¦ããæéããªãã¨ããã§ã¯ãä¸è¬çã«æ®åãã¦ãããªã¼ãã³ã½ã¼ã¹ãªãã¬ã¼ã ã¯ã¼ã¯ã®æ¹ãããã¼ã å ¨ä½ã¨ãã¦ã®å¦ç¿ã³ã¹ããéçºã³ã¹ããæå©ã¨ããçç±ã§å°å ¥ãã¦ãå ´åãå¤ãããã§
ãªã¼ãã³ã½ã¼ã¹ã®ã½ã¼ã·ã£ã«ã³ã©ãã¬ã¼ã·ã§ã³ãã¼ã«ãããè¶SNSãã®ã½ã¼ã¹æä¾ãéå§ ï½ç¤¾å SNSãå人åãããããµã¼ãã¹ãªã©ã§å¹ åºãå©ç¨ã§ããã¿ã¤ã ã©ã¤ã³åSNSï½ ãªã¼ãã³ã½ã¼ã¹ãå©ç¨ããã·ã¹ãã éçºäºæ¥ãå±éããæ ªå¼ä¼ç¤¾ã¢ã¤ã·ã¼ãºï¼æ¬ç¤¾ï¼æ±äº¬é½å代ç°åºã代表åç· å½¹ï¼éæ¾ç´æ¨¹ï¼ã¯ã 2æ16æ¥ãããªã¼ãã³ã½ã¼ã¹ã®ã½ã¼ã·ã£ã«ã³ã©ãã¬ã¼ã·ã§ã³ãã¼ã«ãããè¶SNSãã®ã½ã¼ã¹æä¾ãéå§ãã¾ãã ã½ã¼ã¹ã³ã¼ãã®æä¾ã«ã¤ãã¦ã¯ãããè¶SNSãã¼ã ãã¼ã¸ã®ã製åã®ãã¦ã³ãã¼ãããã¼ã¸ä¸ï¼http://oss.icz.co.jp/sns/download.htmlï¼ ã§è¡ããç°¡åãªå人æ å ±ãå ¥åããã¨ãããã«ãã¦ã³ãã¼ããããã¨ãã§ãã¾ããããè¶SNSã®è£½åæ å ±ã«ã¤ãã¦ã¯ä»¥ä¸ã®éãã§ãã â éçºç°å¢ã«ã¤ã㦠ããè¶SNSã¯LAMPï¼LinuxãApacheãMySQLãPHPï¼ç°å¢ã§éçºãã¦ã
Jcowã¯Facebookã«è¯ãä¼¼ãã¤ã³ã¿ãã§ã¼ã¹ãæ©è½ãæã£ãSNSã MOONGIFTã¯ããè¦ã Jcowã¯æ©è½çã«ã¯Facebookã«å¹æµããæ©è½ãåãã¦ããã足ããªããã®ã¯ã¢ããªãåºåæ©è½ã ãããããã®ããããProfessionalçï¼ã¯ãã¼ãºãã149ãã«ï¼ãç¨æãã¦ããããªã¼ãã³ã½ã¼ã¹çã¨ã¯ãã¯ãã«ã«ãµãã¼ãããã£ãã·ã¥æ©è½ãã¡ã¼ã«ã¢ãã¬ã¹èªè¨¼ã権é管çãã¹ãã é²æ¢ããã©ãã¯ãªã¹ãçã追å ãããã ç¾ç¶ã§ã¯SNSã¯é£½ãããã¤ã¤ãããæ°ããªå¸å ´ãè¦ãã ãã®ã¯è¾ããããããªããã ããµã¤ã訪åè ã®ã³ãã¥ããã£ã¨ãã¦æãããã家æç¨ã社å ç¨ã¨ãã¦ç¨ããåã«ã¯ã¾ã ã¾ã ååå¯è½æ§ã¯ããã¨æããããPHP製ã¨ããã®ãå©ç¹ã§ãã«ã¹ã¿ãã¤ãºããããã®ãã¡ãªããã ãããã«åã ã®æ©è½ãã¢ã¸ã¥ã¼ã«åããã¦ããã®ã§ãæ¡å¼µãããããã Jcowã¯PHP製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãããæ°ã¶æFace
ãªã¼ãã³ã½ã¼ã¹ã®SNSãè©ä¾¡ãããã¨ããã客ããããã®è¦æããã£ã¦ãCent OS 6ã«PHP製ã®SNSãOpenPNEãã¨ãRuby on Rails製ã®SNSãSKIPãã®ç°å¢æ§ç¯ãè¡ãã¾ãããçµæ§è²ã ã¨è¦æ¦ããã®ã§ãå¿ããªãããã«ã¡ã¢ã¡ã¢ã ãOpenPNEãã¯æ ªå¼ä¼ç¤¾æå¶å±ããSKIPãã¯æ ªå¼ä¼ç¤¾ã½ããã¯ã¬ã¼ãã³ã¨ãããã©ã¡ããæ¥æ¬ã®ä¼ç¤¾ãéçºã»å ¬éãã¦ãã¾ããããã¥ã¡ã³ããæ¥æ¬èªã§ãµãã¼ããåãæããã¨ããã®ããã§ã¤ã¹ã®ãã¤ã³ãã§ãããã¡ãªã¿ã«ã調æ»ããã«ããã£ã¦ä»¥ä¸ã®æ§ãªã¾ã¨ããä½ã£ã¦ãã¾ãã ãã¸ãã¹å©ç¨ã§ããï¼å½å å¤SNSã¾ã¨ã - NAVER ã¾ã¨ã ãªãã以ä¸ã®åææ¡ä»¶ã¯ãOSã¤ã³ã¹ãã¼ã«ããã¦ã§ã¾ã£ãããªç¶æ ã®Cent OS 6.xãã§ãã ãã¨ã以ä¸ã®ä½æ¥ã¯å ¨ã¦ã¹ã¼ãã¼ã¦ã¼ã¶ã¼ã§æä½ããäºãåæã¨ãã¾ãããrootãã¨ããã¦ã¼ã¶ã¼ã§æä½ããã/root/workãã¨
ããRedisã§ã§ããããæã§ããããã æè¿Redisã§ã¬ã³ã¡ã³ãæ©è½ãã¤ãã£ã¦ã¿ãã®ã§ãç´¹ä»ã§ãã ããã§âã¬ã³ã¡ã³ãæ©è½âã¨ããã®ã¯ã Amazonã§ããâãã®ååãè¦ãã客æ§ã¯ãããè¦ã¦ãã¾ãâããããã°ã®é¢é£è¨äºãåºãæ©è½ã®ãã¨ã user:1ãproduct:Aãã¿ãã¨ãã«ãproduct:Aã«ä¼¼ã¦ããproduct:Bãã¬ã³ã¡ã³ããããã product:Aã¨product:Bãã©ããããä¼¼ã¦ããã:é¡ä¼¼åº¦ ãç®åºããå¾ã¯ã Rediså¾æã®Sorted Setã使ã£ã¦é¡ä¼¼åº¦ã®ã©ã³ãã³ã°ãã¤ããã° ä¼¼ã¦ããproductãåºããã¨ãã§ãã¾ãã é¡ä¼¼åº¦ã®ç®åºã«ã¯ããããæ¹æ³ãããããã§ããã Redisã®ãã¼ã¿æ§é ã¨ç¸æ§ã®ãã Jaccard [wikipedia]ã¨ããæ¹æ³ã使ãã¾ããã ãã®ä¾ã«é©ç¨ããã°ã product:Aãè¦ãã¦ã¼ã¶ã¼ç¾¤(Redisã®Set)ã¨ãpro
ä»äºã§MySQLã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ããã¦ãã¦ãã¤ã³ããã¯ã¹ã«ã¤ãã¦åãã£ã¦ããªããã¨ãå¤ãã£ãã®ã§èª¿ã¹ããã¨ãã¡ã¢ãåºæ¬çãªã¨ããããå¦ç¿ããªãããã MySQLã®ã¤ã³ããã¯ã¹ã¯ãã«ã©ã ãç¹å®ã®å¤ããã¤ã¬ã³ã¼ãã®è¿ éãªæ¤ç´¢ã«ä½¿ç¨ããããã¤ã³ããã¯ã¹ã使ç¨ããã°ãæ°ç¾ã¨ãæ°åãã®ã¬ã³ã¼ããå ¥ã£ã¦ãããã¼ãã«ãããä¸çµã®ã¬ã³ã¼ããè¿ éã«è¦ã¤ãã¦åãåºããã¨ãå¯è½ã«ãªãã ããããã¤ã³ããã¯ã¹ã¯é度ãæ¹åãããã¨ãããããæ¿å ¥ã®éªéã«ãªã£ã¦é ããªããã¨ãããã ã¤ã³ããã¯ã¹ãé©åã«ä½¿ãããã«ãã¾ãã¯ã¤ã³ããã¯ã¹ã®åºæ¬æ¦å¿µãããããå¿ è¦ãããã ã¤ã³ããã¯ã¹ã®æ¦å¿µ ã¤ã³ããã¯ã¹ã¨ã¯ ã¤ã³ããã¯ã¹ã®ä»çµã¿ãç解ããã«ã¯ãã¾ãMySQLãã©ã®ããã«ã¯ã¨ãªã«å¿çããããç¥ãå¿ è¦ãããã ä¾ãã°ã SELECT * FROM phone_book WHERE last_name = 'Hoge'
ANDæ¤ç´¢ ãCSS+HTML+JavaScriptãã§æ¤ç´¢ããå ´åã¯ä»¥ä¸ã®ããã«ãã¾ãã SELECT * FROM `delicious` WHERE tags LIKE "%CSS%" AND tags LIKE "%HTML%" AND tags LIKE "%JavaScript%" ORæ¤ç´¢ ãCSS|HTML|JavaScriptãã§æ¤ç´¢ããå ´åã¯ä»¥ä¸ã®ããã«ãã¾ãã SELECT * FROM `delicious` WHERE tags LIKE "%CSS%" OR tags LIKE "%HTML%" OR tags LIKE "%JavaScript%" å¼ãç®æ¤ç´¢ ãCSS+HTML-JavaScriptãã§æ¤ç´¢ããå ´åã¯ä»¥ä¸ã®ããã«ãã¾ãã SELECT * FROM `delicious` WHERE tags LIKE "%CSS%" AND tags LI
ã©ããããã©ãããã©ã¼ã Divã§ã¨ã³ã¸ãã¢ããã£ã¦ãã Wataru ã§ãã æè¿ï¼äººç®ã®åä¾ãç£ã¾ãã¦ãç£å¾èªå® å¤åãããã¦ãããå¼ç¤¾ã¯ã¨ã¦ãããä¼ç¤¾ã ã¨æãã¾ããåºç£äºå®ã®ããã¨ã³ã¸ãã¢ã®ããã¯æ¯éå¼ç¤¾ã«è»¢è·ãã ãã¦ãä»åã¯Redisã®ç´¹ä»ãããã¦é ãããã¨æãã¾ãã Redisã£ã¦ããããã¤ãã¼ãªããã§ã¯ãªãã®ã§ããããã¡ããã¡ã便å©ãªã®ã«ãã¾ã注ç®ããã¦ããªããªã¼ã¨ããå°è±¡ãããã®ã§ããããæ©ä¼ã«æ¯é使ã£ã¦ã¿ã¦ããããã¨å¬ããã§ãã Redisã£ã¦ä½ï¼Redisã¨ã¯ãremote dictionary serverãããååãä»ãããããªã¼ãã³ã½ã¼ã¹ã®key-valueãã¼ã¿ã¹ãã¢ã§ãã MemcacheDBçã®KVSã¨ã®æ大ã®éãã¯ãæ ¼ç´ããããªã¥ã¼ããã¼ã¿æ§é ã¨ããã¨ããã§ãã ã¤ã¾ãããªã¹ãã»ã»ããã»ããã·ã¥ãªã©ã®ãã¼ã¿æ§é ã§æ ¼ç´ã§ããã®ã§ããªã¥ã¼ã«å¯¾ãã¦ã¢ãããã¯ãªæä½ã
ã¡ãã£ã¨ jQuery ã¨ç°¡åãªãµã¼ããµã¤ãã®å¦çãçµã¿åãããå¦çã試ãã«æ¸ãã¦ã¿ãã・・・ãªãã¦æã«ããã¡ãã¡ jQuery ãåã£ã¦ã㦠HTML ãæ¸ã㦠script ã¿ã°ãæ¸ãã¦ãã¼ãã㦠sinatra ç«ã¡ä¸ãã¦äºã ・・・ã¨ããã®ãæ¯åº¦é¢åãªã®ã§ãã²ãªå½¢ã«ãªãã¢ããªã±ã¼ã·ã§ã³ãä½ã£ãã https://github.com/naoya/boilerplate ã²ã¨ã¾ã sinatra ã§ãµã¼ãã¼ãµã¤ããæ¸ããHTML 㯠slim ã§ãCSS 㯠sass ãJavaScript 㯠CoffeeScriptã§æ¸ãã«ããã£ã¦ jQueryãunderscoreãBackbone ããã¼ããã¦ãããã¨ãããããªæ§æã«ãã¦ããã¾ãã ã¾ãããã®é¡ã®ãã¨ã¯äººããããèªåãªãã«ã«ã¹ã¿ãã¤ãºãã¦ãã£ã¦ããã¨æãã¾ãããã©ãããã³ã³ãã¼ãã³ãã§æ§æãã¦ãããããåå¿é²ãå ¼ãã¦ã¡ãã£ã¨ç´¹
â ãããã§ä½¿ç¨ãã¦ãããµã¼ãã¼ã®IPã¢ãã¬ã¹ã確èªãã 1. ãããã®ã³ã³ããã¼ã«ããã«ã«ãã°ã¤ã³ã 2. å·¦ã®ã¡ãã¥ã¼ã«ããããµã¼ãã¼ã®æ å ±ã¨ãã¹ã¯ã¼ããã«ããããµã¼ãã¼æ å ±ã®è¡¨ç¤ºããã¯ãªãã¯ã 3. ä¸è¦§ãåºãã®ã§ããµã¼ãã¼ã«é¢ããæ å ±ããã¯ãªãã¯ã 4. IPã¢ãã¬ã¹(112.78.23.212ã®ãããªã®)ãåºãã®ã§ã¡ã¢ãã¦ããã â ã ã¼ã ã¼ãã¡ã¤ã³ã§ã®è¨å® 1. ã³ã³ããã¼ã«ããã«ã«ãã°ã¤ã³ã 2. å·¦å´ã®ã³ã³ããã¼ã«ããã«ã¡ãã¥ã¼ã«ãããã ã¼ã ã¼DNSã»ããã¢ããããã¯ãªãã¯ã 3. ãã¡ã¤ã³ä¸è¦§ãåºãã®ã§ãç·¨éããããã¡ã¤ã³ã®ãå¤æ´ããã¿ã³ãã¯ãªãã¯ããã 4. [è¨å®1]ã«ãã¡ã¤ã³ããµããã¡ã¤ã³ä¸è¦§ãåºãã®ã§ããããã§ä½¿ç¨ããããµããã¡ã¤ã³ã®ããµã¼ãã¹ãã®é ç®ã«ãããå©ç¨ããªãããé¸æããã 5 . [è¨å®2]ã§ä¸è¨ã®ããã«è¨å ¥ããã Noãµããã¡ã¤ã³ç¨®å¥å 容åªå 度 1sho
ãgraph apiã使ã£ã¦Facebookãã¼ã¸ã®ãã¼ã¿ãJSONå½¢å¼ã§åå¾ããã¼ã¿åå¾ã§ãããã»ã»å ¬éããæ å ±ãèãç´ããªãã¨ãããªããã æè¿å§ããfacebookãªãã§ãããfacebookã®graph apiã使ã£ã¦åå¾ãããã¼ã¿ãå å·¥ãã¦ãWEBãµã¤ãã«è¡¨ç¤ºãããããªã¨æã£ã¦ãã¾ããããã§ã試ãã«ç§ã®facebookãã¼ã¸ãåå¾ããã¨ãã¨ã¦ãã³ã£ããããã®ã§ã¡ã¢æ¸ããã¦ããã¾ãã æ å ±ããã®ãããåå¾ã§ãã¾ãã ãgraph apiã使ç¨ããã¨ããã ããã¯ããã©ã¦ã¶ã§ http://graph.facebook.com/imamura.tetsuya/ ã«ã¢ã¯ã»ã¹ããçµæã§ããã http://graph.facebook.com/facebookãã¼ã¸ã®id ã§ãåãæ å ±ãåå¾ã§ãã¾ãããªããªãã®çæãå ·åã ã¨æãã»ã»ã»locationã§éµä¾¿çªå·ã¾ã§åå¾ã§ããã¨ã¯æããªãã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}