2013年7月23日 22:51
看代码方便多了
Tags: node.js LOG
Posted in Log | 1 Comments
2013年7月13日 23:39
Using MacPorts? You should really think about moving to Homebrew. Why?
-
Homebrew installs packages into their own isolated prefixes and then symlinked into /usr/local.
-
It uses the libs that are already installed, no need to compile another perl, openssl or x11 and other stuff that can be found on your mac. Don’t waste time and disc space.
-
Way better command line user interface
-
Homebrew and it’s installation scripts are hosted at Github
-
The installation scripts (aka recepies) and Homebrew itself are written in ruby.
Moving from MacPorts to Homebrew sounds a little bit scary. MacPorts has tons of compiled stuff on your system. But you can do this. Trust me :) .
First, uninstall MacPorts:
sudo port -f uninstall installed
Second step: remove everything that is left from MacPorts (check for MySQL and other stuff in /opt/local first) :
sudo rm -rf /opt/local
sudo rm -rf /Applications/DarwinPorts
sudo rm -rf /Applications/MacPorts
sudo rm -rf /Library/LaunchDaemons/org.macports.*
sudo rm -rf /Library/Receipts/DarwinPorts*.pkg
sudo rm -rf /Library/Receipts/MacPorts*.pkg
sudo rm -rf /Library/StartupItems/DarwinPortsStartup
sudo rm -rf /Library/Tcl/darwinports1.0
sudo rm -rf /Library/Tcl/macports1.0
sudo rm -rf ~/.macports
Alternatively you can move those directories to another place and delete them if everything is okay (if you don’t trust your Timemachine ;) ).
After that you should remove the /opt/local/bin from your $PATH.
Now install Homebrew with the command you find
here.
Tags: mac LOG
Posted in Log | 1 Comments
2013年6月14日 18:25
最近在搞Google Glass,各种Sensor不好弄
Tags: Android LOG
Posted in Log | 0 Comments
2013年5月04日 08:43
这blog真心不错,程序员量身定做:)还有这拉风的域名...
就是不知道如何导入导出文章, 开始全新的blog
Tags: LOG
Posted in Log | 0 Comments