Aug 24, 2012 -
mac, node.js
No Comments


Install Node.js and npm on Mountain Lion
装好Mountain Lion后还一直没有碰过node.js,今天觉得不在拖拉,立刻把node.js的环境装回来!
node.js非常好安装
$ brew install node
第二步安装npm,遇到不少的麻烦…
Read more »
装好Mountain Lion后还一直没有碰过node.js,今天觉得不在拖拉,立刻把node.js的环境装回来!
node.js非常好安装
$ brew install node
第二步安装npm,遇到不少的麻烦…
Read more »
这两天vim里需要用到taglist,于是开始装ctags,用homebrew安装很简单
$ brew install ctags
$ ctags -R ctags: illegal option -- R usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
其实这个问题在Lion下就有了,尤其在vim下,hjkl按住不放都没有原先的连续动作了。不过上下左右倒是好的。
解决方法:
$ defaults write -g ApplePressAndHoldEnabled -bool false
重启vim,一起ok!!
Web Sharing 恢复后,就要恢复自己的git库了。但装好mac下的git程序后,发现git命令行是无法正常使用的,看来还是Mountain Lion的问题。
$ git: command not found
php默认也是没有开启的
打开apache配置文件
$ sudo vi /etc/apache2/httpd.conf