au BufRead,BufNewFile *.coffee set filetype=coffee au BufNewFile,BufReadPost *.coffee setl shiftwidth=2 expandtab
åºæ¬çã« åã® ubuntu 12.04 ã«ã¤ã³ã¹ãã¼ã«ããæ¹æ³ã¨åãã§ãã coffeescript, typescript ãå ¥ãã¦ã¿ã¾ããã æé nvm ãã¤ã³ã¹ãã¼ã« node.js ã nvm ã§ã¤ã³ã¹ãã¼ã« coffeescript ãnpm ã§ã¤ã³ã¹ãã¼ã« typescript ãnpm ã§ã¤ã³ã¹ãã¼ã« nvm ã¤ã³ã¹ãã¼ã« # git clone git://github.com/creationix/nvm.git ~/.nvm # source ~/.nvm/nvm.sh node.js ã¤ã³ã¹ãã¼ã« ä»å㯠v0.8.18 ãã¤ã³ã¹ãã¼ã« # nvm install v0.8.18 # node -v v0.8.18 .bashrc ã«è¿½å .bashrc ã«ä»¥ä¸ã®2è¡ã追å ã . ~/.nvm/nvm.sh nvm use v0.8.18 coffeescript
node.jsã«é¢ããåºç¤ããã¥ã¼ããªã¢ã«ã®ã¾ã¨ãã ãªã¢ã«ã¿ã¤ã ãªWEBãå®ç¾ããã«ã¯å¿ é ã®ãµã¼ããµã¤ãJSãnode.jsã«ã¤ãã¦è²ã ã¨ã¾ã¨ãã¦ã¿ã¾ããã node.js node.jsã«ã¤ã㦠node.js ãªãã¨ãªãåããã ãã©ããåãããªãã¨ããæ¹ãå¤ããããããªãã®ã§ç°¡åã«è§£èª¬ã ä¸çªæåè¦ãæã¯ä½ãã®JavaScript ã©ã¤ãã©ãªãã¨æã£ãã®ã§ãããå ¨ãéã£ã¦ãV8ã¨ããChromeã«ãã®ã£ã¦ããé«éJavaScriptã¨ã³ã¸ã³ä¸ã§åããµã¼ããåãããä»çµã¿ã ãµã¼ãèªä½ãå ·ä½çã«è¨ãã¨æ¬¡ã®ãããªã³ã¼ãã§å®ç¾ãã¾ãã var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain
ãæ¨æ¶ ããã«ã¡ã¯ããã³ãã³ã®New Bambooã¨ããä¼ç¤¾ã§Webã¨ã³ã¸ãã¢ã¨ãã¦åãã¦ãã@makoto_inoueã§ããããã®ã¨ãããPusherã¨ããWebSocketã®ã¯ã©ã¦ããµã¼ãã¹ã®éçºã«é¢ãã£ã¦ãã¾ããä»åãã3åã«æ¸¡ã£ã¦WebSocketã«é¢ããçæé£è¼ãæ å½ããã¦ããã ãã¾ãã ç§ãå«ããNew Bambooã®é¢ã ï¼æã ã¯èªåãã¡ã®ãã¨ãBambinoã¨å¼ãã§ãã¾ãï¼ãWebSocketã«ãªãèå³ãæã£ããã¨ãããã¨ããã¯ãã¾ããå®éã«ã¯ã©ã¦ããµã¼ãã¹ãå§ããã¾ã§ã«ããã£ãã¹ãã¼ãªã¼ãã話ããããã¨æãã¾ãããã®ã¹ãã¼ãªã¼ãéãã¦ãWebSocketãåãéãããªã¢ã«ã¿ã¤ã Webããªä¸çã¸ã®å¯è½æ§ãæè¡ç課é¡ãçããã¨å ±æã§ããã°ã¨æã£ã¦ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}