發表文章

Markdown

Homebrew

http://mac-osx-for-newbie-book.kejyun.com/software/SoftwareManageHomebrew.html 需要先取得XCODE的license 再來到 http://brew.sh/ 找到這行貼在終端機上 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

[Try] Bulid a chat-bot with Hubot on Slack

npm install -g hubot coffee-script yo generator-hubot mkdir test-bot && cd test-bot yo hubot run with bin/hubot npm install hubot-slack --save HUBOT_SLACK_TOKEN=YOUR_SLACK_API_TOKEN_HERE ./bin/hubot --adapter slack https://api.slack.com/docs/oauth-test-tokens add some script in your /script/script.js module.exports = function(robot){     robot.respond(/hello/, function(res){         res.send('world');     }); }

[node.js] UTF-8 to Big5

https://github.com/ashtuchkin/iconv-lite https://github.com/bnoordhuis/node-iconv

[Vim]

http://harttle.com/2015/11/22/vim-frontend.html http://www.cyberciti.biz/faq/vi-show-line-numbers/ https://chusiang.gitbooks.io/working-on-gnu-linux/content/12.vim-plugin-neobundle.html vi  ~/.vimrc set number :ser nu

[KOA]

ppm install -g yo& generator-koa yo koa localhost:3000/ npm install --save wiston&moment npm install -g bower bower init bower install -save bootstrap bower manage front end package npm manage back end package npm install -g grunt-cli