Redirecting⦠Click here if you are not redirected.
Redirecting⦠Click here if you are not redirected.
åé§ã¶è°·.rb #25 #sendagayarbã§ä½ããããããªãã¨èãã¦ãã¦ãæãã¤ããã®ããvimãä½ã¨ãããããã¨ãããã¨ã ã¾ãã¯ãjkjkjkâ¦ã¨ç§»åãéããªç¹ãæ¹åãããã¨æãã@fukajunããã«vimå¼±ã®ããã®è¬åº§ãéãã¦ãããã¾ãããè³æã¯ãã®ãã¡ã©ããã«ã¢ãããããã¨æãã¾ãã #Sendagayarb #25 - Toggeter åé§ã¶è°·.rb #25 #sendagayarb - ishikitakai.com ããã¤ãã¡ã¢ã è²ã æãã¦ããã£ãä¸ã§ç¥ããªãã£ããã¨ãªã©ãã¡ã¢ãã¦ããã¾ãã :set nu numberã®ã¨ã¤ãªã¢ã¹ã§ãããçãã¦ä¾¿å©ã çãªæãã®vimã触ãã¨ãã«ã§ã使ãããã§ãã ctrl + [(ã¹ã¯ã¦ã¨ã¢ãã©ã±ãã) = esc escï¼é ããã ããã¯ã½ã ã¨ãã£ãæã«ä½¿ãããã便å©ã [ã£ã¦ãªãã¦èªããã ããã¨æã£ã¦ãããã@_mark_
æ¨æ¥ã®ã¨ã³ããªã¼ã«å¼ãç¶ãï¼ããããã¦ãã¦çãªãã®ãç®æ¡æ¸ãã§ã¾ã¨ãã¦ãããæãä»ããé ã«è¿½å ãã¦ããäºå®ã Activityé¢é£ æ°¸ç¶åã¯onPauseã§è¡ã*1ã詳ããã¯Activityã®ã©ã¤ããµã¤ã¯ã«å³ãåç §ã®ãã¨ã onPauseã¨å¯¾ã«ãªã£ã¦ããå¦çã¯ï¼onResumeã§è¡ããã¨ãonStart/onStopã¯ããã¾ã使ããªãï¼æ°ãããã Dialogã¯AlertDialog.Builderã使ã£ã¦å®è£ ããã®ã楽ããã ãï¼è£ã§ä½ããã®å¦çãè¡ãªã£ã¦ããéï¼ã¦ã¼ã¶ã¼ã«æä½ããããªãããã«è¡¨ç¤ºãããã¤ã¢ãã°ï¼ããããProgressDialogï¼ã¯ä½¿ããªãããã«ãããDialogã§ã¯ãªãActivityãæ°ããä½ã£ã¦è¡¨ç¤ºããããã¨ã§ï¼ããã¤ãã®ãã©ãã«ãåé¿ã§ãã*2 *3ã éãã¿ã¹ã¯ã¯UIã¹ã¬ããã§å¦çããªããAsyncTaskãªã©ã使ã£ã¦ã¯ã¼ã«ã¼ã¹ã¬ããã§å®è¡ããããã ãï¼ã¯ã¼ã«
Windowsç°å¢ã§PuTTYã®ä¸ã¨ãã§vim使ã£ã¦ãã¨INSERTã¢ã¼ãããEscããå¾ã«IMEãONã®ã¾ã¾ã«ãªã£ã¦ã¦ã¤ã©ã¤ã©ããã£ã¦äºè±¡ãããªãã®é »åº¦ã§èµ·ããããã¨ã¢ãã¬ã¹ãã¼ã«URLå ¥ãããã¨æã£ããæ¥æ¬èªã ã£ããã¨ããã ã§ããã£ãããã ãã®çºã«å¸¸é§ã®ãã¼ãããå¤æ´ã¢ããªãå ¥ããã®ãçªãªã®ã§ãè¨å®ã ãã§ä½ã¨ããªããªããã®ãã¼ã¨æã£ãããä½ã¨ããªã£ãã®ã§ã¡ã¢ã æé Googleæ¥æ¬èªå ¥åã®ããããã£ãéã ä¸è¬ã¿ãã®ãã¼è¨å®ã®é¸æã§ãã«ã¹ã¿ã ããé¸æãããã¦ãç·¨éããã¯ãªã㯠ããã©ã ã¨è¨å®ã空ãªã®ã§ãç·¨éï¼å®ç¾©æ¸ã¿ãã¼ãããããã¤ã³ãã¼ãï¼ME-IMEããå®è¡ æ´ã«ãç·¨éï¼æ°ããã¨ã³ããªã¼ããå®è¡ 空ã®è¡ãåºæ¥ãã®ã§ããã«ãå ¥åæåãªãï½Escapeï½IMEãç¡å¹åããè¨å® ææ³ ããã§Escã§IMEãOFFã«åºæ¥ãããã«ãªããvim使ã£ã¦ãæãªããã¯INSERTã¢ã¼ãæã«æåã®
At Spool, we calculate our key metrics in real time. Traditionally, metrics are performed by a batch job (running hourly, daily, etc.). Redis backed bitmaps allow us to perform such calculations in realtime and are extremely space efficient. In a simulation of 128 million users, a typical metric such as âdaily unique usersâ takes less than 50 ms on a MacBook Pro and only takes 16 MB of memory. Spo
æè¿ã¯å人çã«ã¯nginxãnode-http-proxyã使ããã¨ãå¤ããªã£ã¦ãã¾ããããphpãæ軽ã«ä½¿ãããã¨ãã¨ãhttpdãã¾ã ã¾ã 使ãæ©ä¼ã¯å¤ãã§ããä»æ¥ã¯æ°ãããµã¼ãã®è¨å®ããªãããµã¨Tipsãä¸ã¤åãåºãã¦ã¿ã¾ãã Apache httpdã§ååãã¼ã¹ã§è¤æ°ãã¡ã¤ã³ã管çããéãå§ãã®é ã¯ãã¡ã¤ã³å¢ãã度ã«VirtualHostãã£ã¬ã¯ãã£ããï¼ã¤ãã¤å¢ããã¦ãã£ãããããã ãã©ããã®ããæ¹ã ã¨æ°ãå¢ãã¦ããã¨ã³ããä¿®æ£ãã¹ãåºããã©ãã©ã管çã大å¤ã«ãªã£ã¦ãã¾ããã§ãããå®ã¯ VirtualDocumentRoot ã¨ãããã£ã¬ã¯ãã£ãã使ãã¨ä¸ã¤ã®VirtualHostã§æ¸ãã¡ããã¾ããâãããªæãã NameVirtualHost *:80 VirtualDocumentRoot /home/domains/%0/public_html Options All All
node.jsã§ä»»æã®ãªãã¸ã§ã¯ããæã£ã¦ããã¡ã½ããã確èªããã«ã¯ãconsole.log(util.inspect(object, showHidden=false, depth=2));ã®å½¢å¼ã§util.inspectã使ç¨ãã¾ããshowHiddenã®å¤ãtrueã«ããå ´åã¯ãnon-enumerableãªããããã£ãåºåãããããã«ãªãã¾ãã å®ç¨çãªä½¿ãã©ããã¨ãã¦ã¯ãçµã¿è¾¼ã¿ã®ã¡ã½ããã確èªãããå ´åã«ä»¥ä¸ã®ããã«æ¸ããããã§ãããããvar util = require('util'); console.log(util.inspect({}.__proto__, true, null));
ç®ã®åã«PCãããã®ã«ããã¹ã¯ã¼ãããããããã°ã¤ã³ã§ããªãã¨ããç¶æ³ããã¾ããããåæ³çãªç¶æ³ãªã®ã§ããã°ããã¹ã¯ã¼ããªãã§ãã°ã¤ã³ããæ¹æ³ã試ãã¦ã¿ã¦ã¯ãããã§ããããã ä»æ¥ç¾å¨ãææ°ç¶æ ã®Windows7ã§å®è¡å¯è½ã§ããå½ããåã§ãããèªåã«æ¨©éã®ãªãPCãªã©ã§è©¦ããªãããã«ãã¦ä¸ãããã æ¹æ³ã¯ä»¥ä¸ã®éãç°¡åã§ãã Ubuntuãªã©ã§ãã¼ããã¦ãWindowsãã©ã¤ãããã¦ã³ã C:\Windows\System32以ä¸ã®ãUtilman.exeãããUtilman.oldãã«ãªãã¼ã C:\Windows\System32以ä¸ã®ãcmd.exeãããUtilman.exeãã«ã³ãã¼ åèµ·åãã¦ãWindowsã®èµ·åç»é¢ã§ãWindowsãã¼ + Uãã§ã³ãã³ãããã³ãããèµ·å ãã¨ã¯ããexplorer.exeããªã©ãå®è¡ãããã¨ãã§ãã¾ãã å®é¨ Ubuntu(ããã§ã¯Bac
Facebookã®è¨å®ãåããã«ãããªãã§ããï¼ãç§ãå§ããã°ããã®é ã¯ãã¡ãã£ã¨ããè¨å®å¤æ´ãããã«ãè¿·ã£ã¦ã°ããã§ãããããããããâ¦â¦ãã¨ä½åº¦æã£ãäºãããä»åã¯ãFacebookã®è¨å®ã«å¿ è¦ãªURLãä¸è¦§ã§ã¾ã¨ãã¾ãããFacebookã¯é«æ©è½ãªåã使ãæ¹ãé£ããã§ããä½ãè¨å®ãããã¨ããã«ãããã¤ãã¼ã¸ããã¯é常ã«ãã©ãã«ããè¨å®ãã¼ã¸ã沢山ããã¾ãã 主ã«åå¿è åãã®å 容ã«ãªãã¾ãããæ¢ã«Facebookã使ãããªãã¦ããæ¹ã¯ããªã³ã¯éã¨ãã¦ãæ´»ç¨ä¸ãã!! 1. ã¦ã¼ã¶ã¼ãã¼ã ãå¤æ´ããã URL: http://www.facebook.com/username/ Facebookã«ç»é²ããã°ããã®é ã¯ããããã£ã¼ã«ãã¼ã¸ã®URLã¯ï¼http://www.facebook.com/?ref=home#!/profile.php?id=******ï¼ã¨ãã£ãæååã§ãããã®U
ã¯ããä»ããèããªãã¦ã§ãéçºè ã®åºç¤ç¥èã®ãæéã§ãã ãã©ã¦ã¶ã«ã¯3ã¤ã®èªã¿è¾¼ã¿ã¢ã¼ãããããã¨ã¯ãåç¥ã§ããï¼ 2ã¤ãããã¯ããããã©ã3ã¤ç®ãåºã¦ããªãã£ã¦æ¹ã¯å°ãªããªãããããã¾ããã ãªãã¼ã ä¸çªãªã¼ã½ããã¯ã¹ãªã®ããã©ã¦ã¶ã®ãªãã¼ããã¿ã³ãæ¼ããã¨ãã®æåã§ãããæ®éã§ããã ã¹ã¼ãã¼ãªãã¼ã ãã©ã¦ã¶ã«ãã£ã¦ã¯ãã¹ã¼ãã¼ãªãã¼ãã¨ããæ©è½ãåãã¦ãã¾ããIEã®å ´åCtrl+F5(Ctrl+æ´æ°ãã¿ã³)ãFirefoxã®å ´åCtrl+F5(Shift+æ´æ°ãã¿ã³)ãChromeã®å ´åShift+æ´æ°ãã¿ã³(Ctrl+Shift+R)ãªã©ã§ã¹ã¼ãã¼ãªãã¼ããå¼ã³åºããã¨ãã§ãã¾ããã¹ã¼ãã¼ã§ããã ãã¼ã¸é·ç§»(ãªãã¬ãã·ã¥) 3ã¤ç®ã¯ã¡ãã£ã¨è¯ãååãæãã¤ããªãã®ã§ããããªãã¼ãã§ã¯ãªããé常ã®ç»é¢é·ç§»ã§ã®èªã¿è¾¼ã¿ã®ãã¨ã§ããã¢ãã¬ã¹ãã¼ã«ãã©ã¼ã«ã¹ãã¦enterããã¨ãã£
å æ¥ã諸ã ã®é½åã§é éã«ãããã¹ãç°å¢ã®ãµã¼ã(Linux)ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ãå¼ã£ã¦ããã®ã§ãããã¡ãã£ã¨è¨å®(ã¡ã¢ãªã¾ãã)ãã¤ãããã¦ãã¾ãï½ãã³ãã³ãå®è¡ã¨ãããforkã§ããªããªã£ã¦ãã¾ã£ã(Cannot allocate memory...)ã ãã§ãshutdownã³ãã³ããå®è¡ã§ããªããªã£ãã®ã§ãç´ããã¨æã£ãã®ã§ãããè²ã å¼ã£ãï¼æéããªãã£ããã¨ããããä¸æ¦OSãåèµ·åãã¡ãããããªãã¨(æ± ããé éã«ãããµã¼ããªã®ã§ãç©ççãªé»æºã¹ã¤ããON/OFFãã§ããªã(å³å¯ã«ã¯åºæ¥ãç°å¢ã§ã¯ãã£ãã®ã§ããããã®ãµã¼ãã¯ããã«å ¥ã£ã¦ãªãã£ãï½)ãã®ã§ãSysRqãã¼ãéããã¨ã«ããã ããæ¹ å°ãç¡çç¢çæã¯ããã¾ããã # echo b > /proc/sysrq-triggerãå®è¡ããã¨ãå¼·å¶çã«ãªãã¼ãããããã¾ãã ãã ãããã¡ã¤ã«ã·ã¹ãã ã®syncã¨ãumount
Googleã®æ¤ç´¢çµæã¯ãè¨ãã¾ã§ããªãåªç§ã§ããããã®æ¤ç´¢çµæãããã«çµãããããã³ãã¤ã³ããªçµæãå¾ããå ´åããAROUNDãæ¼ç®åã使ãã¨ä¾¿å©ã§ãã çµæã®ã©ããã«æ¤ç´¢åèªãããã°è¯ãã¨ããå ´åã§ããã°ããANDãæ¼ç®åã使ãï¼ä¾ï¼Bert AND Ernie)ã¨ä¾¿å©ã§ãããããããã®æ¹æ³ã ã¨Bertã¨Ernieã¨ããååãããã¼ã¸ãã®ãã®ã¨ã¯ãã¾ãé¢é£ããªãå ´åã§ãæ¤ç´¢ã«å¼ã£ããã£ã¦ãã¾ãã¾ãããããã£ãå ´åããAROUNDãæ¼ç®åã使ãã¨ãæ¤ç´¢åèªãããç¯å²ãéå®ã§ããã®ã§ãããéå®çãªæ¤ç´¢çµæãå¾ããã¨ãå¯è½ã§ãã ä¾ãã°ãBert AND Ernieããæ¤ç´¢ãããå ´åããBert AROUND(1) Ernieãã¨æ¤ç´¢ãããã¨ã§ãBertã¨Ernieããããªãè¿ãã«ããæ¤ç´¢çµæãå¾ããã¾ããç¯å²ãæ¡ãããå ´åã¯ã(1)ã®æ°å¤ã(2)ã(3)ã¨å¤æ´ãã¦ããã¨ãæ¤ç´¢ç¯å²ãæ¡å¤§ãã
22:56 @thinca ããããã®ææãè¿½è¨ @yuroyoro ãã¨ãç¯ä»ã§ãããnååã¨diffãªã HEAD^ ãã HEAD~ ã®æ¹ãããã¨æãã¾ããã両è ã§ã¯è¥å¹²æå³ãéãã¾ãã~ãªã HEAD~3 ã¨æ°åãæ¸ããã®ãå©ç¹ã§ãããã¨å人çã«ã¯whatchangedããlog --statã®æ¹ãè¦ãããã¦å¥½ãã§ãã 2010-10-08 22:30:52 via Tween to @yuroyoro @yuroyoro URL ãã®gitconfigã®è¨äºã«é¢ãã¦è³ªåãªã®ã§ãããcore.excludesfile 㯠$HOME ã§åãã¾ãã?以å試ããæãã¡ã§ã~/ ãªãåããã®ã§ãã¡ãã使ã£ã¦ããã§ããã 2010-10-08 22:20:49 via Tween to @yuroyoro ããããª.gitconfigã§å¤§ä¸å¤«ã?ã ãããªããã§ãä»äºã§ãã¢ãªã³ã¢ãªã³ã«gi
çç±ã¯è§£ãã¾ããããæ®å¿µãªãããããã¤ç°å¢ã§ã¯åä½ããªãããã§ãã GoogleãAPPãEngineã§ã¯ãå¾æ¥ã®ã·ã¹ãã ã®RDBMSã«ç¸å½ãã(å®éã¯KVSã§ãã)ãã¼ã¿ã¹ãã¢ããã¼ã¿ã®ä¿åãæ¤ç´¢ã«ä½¿ç¨ãã¾ãã ãã®ãã¼ã¿ã¹ãã¢ã«ã¯ããã¤ãã®å¶éãããã®ã§ããããã®ä¸ã§ã大ããã®ãç¯å²æ¤ç´¢ã§ããã¤ã³ã¼ã«ã§ç¡ãã¯ã¨ãªã¯ãä¸ã¤ã®ããããã£(RDBMSã«ãããã«ã©ã )ã«å¯¾ãã¦ããããããã¾ããã ãããã緯度çµåº¦ãæå»ã®ããã«ã¨ãããå¤ã®ä¸éã¨ä¸éãããã£ã¦ããå ´åã«ããã¦ã¯ãè¤æ°ã®ããããã£ã«ã¾ãããç¯å²æ¤ç´¢ãå¯è½ã§ãã æ¹æ³ ã¾ã対象ã¨ãªãããããã£ã®å¤ã«ã¤ãã¦ä»¥ä¸ã®æ£è¦åãæ½ãã¾ãã æ°å¤ã¯æååã«å¤æããæ¡ãããããã ã¨ãããæå°ã®å¤ãè² ã®æ°ã®å ´åã¯ããã®çµ¶å¯¾å¤ã足ãã¦ã¨ãããæå°ã®å¤ã0ã«ãªãããã« ä¾ãã°ç·¯åº¦ãªãã°ã¨ãããæå°ã®å¤ã¯-90度ãªã®ã§90ã足ãã å°æ°ç¹ä»¥ä¸ã®æ¡æ°ã¯ä¸
News, notes, tips and tricks from the Google App Engine Team Since App Engine debuted 2 years ago, weâve written extensively about best practices for writing scalable apps on App Engine. We make writing scalable apps as easy as possible, but even so, getting everything right can be a challenge - and when you donât, it can be tough to figure out whatâs going wrong, or whatâs slowing your app down.
ããï¼ãï¼æ¥ãInfoPileã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ããã¦ãããã¡ãã£ã¨ããã¤ããæãããããªé¨åãã»ã¨ãã©è§£æ¶ãããã¨ãã§ãããInfoPileã§ä½¿ç¨ããé«éåãã¯ããã¯ã®ä¸ã§å¹æã大ãããããã¤ããããããªãã®ãç´¹ä»ããããå°ã以ä¸ã®ã¹ã¯ãªããã¯Python 2.6.4ã§å®è¡ããã listããtupleã使ã å¯å¤é·ã§ããå¿ è¦ã®ãªãã·ã¼ã±ã³ã¹ã¯ãã§ããã ãlistã§ã¯ãªãtupleã使ã£ã¦æ§ç¯ããããlistã®çæ/解æ¾ã³ã¹ãã¯æå¤ã¨å¤§ããã®ã ã import time def run1(): for i in xrange(1000000): [i, i+1, i+2, i+3, i+4, i+5, i+6, i+7, i+8] def run2(): for i in xrange(1000000): (i, i+1, i+2, i+3, i+4, i+5, i+6, i+
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}