Friday, September 14, 2012

Hackintosh T420

1. U盘制作 参看这里,首先下载X-Flash。 然后将X-Flash复制到桌面,双击打开安装程序,使其在桌面展开。最后将格式化成HFS+日志系统的U盘拖入X-Flash图标即可。最后可以美化一下,右击U盘点 get info 然后把安装程序里面的狮子图标拖动到U盘信息的左上角。 当然,最后需要替换OSIstall。 替换 mac安装盘目录System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/里的osinstall。 替换mac安装盘目录System/Installation/Packages 里的 osinstall.mpkg 2....
Read more ...

Install TEX/LATEX in Mac OS X

1. Install MacTex based on Texlive. Download MacTex from here. or you can also install from MacPorts. sudo port install texlive sudo port install texlive-latex-extra You can see the list of  texlive ports here. Around 99% of the packages are included in texlive-latex-extra. 2. Use Emacs as an editor. You can down emacs...
Read more ...

Add Color to the Terminal in Mac OS X

This post is from here. Adding colorized ls output to the Terminal in Mac OS X is a good way to make navigating around the command line a bit easier on the eyes. We’ll cover a customizable setting, and you can get a preview of color ls output by typing “ls -G” at the command line. The preview with ls -G will depend on the Terminals color...
Read more ...

Make an alias in Mac OS X shell

1. nano ~/.bash_profile add you alias like following alias l='ls -lah' then run source ~/.bash_profile in terminal. 2. nano /etc/profile (for a normal user) nano ~/.profile (for a root/su do) Add your alias like so to the file:alias aliasname='mycommand /path/path'(notice no space between equal sign and ') Load/reload your profile with:. /etc/profile...or for root/superuser do:. ~/.prof...
Read more ...