A clean install of Mac OS X Lion

Lion is not designed to be installed standalone. You could only upgrade from Snow Leopard.
My system was also upgraded from Snow Leopard; but the system became really slow after upgrading. So I decided to perform a clean installation. But I don’t want to re-install Snow Leopard and then upgrade.
After research, I found it not that hard to install Lion directly.
First you need a 8Gb flash drive or SD card. (I used SD card.)
Make a bootable drive from the DMG file you have. Please refer to

http://osxdaily.com/2011/07/08/make-a-bootable-mac-os-x-10-7-lion-installer-from-a-usb-flash-drive/

Reboot your system and hold option key. Boot from your flash drive.
Use Disk Utility to erase your HD.
Install Lion.

That’s it!

Enjoy your clean Lion.

Tags:

Comments(0)

Mac上iTunes中文tag显示解决方案

中文mp3的很多id3 tag都是用gb2312编码的,在mac上显示很麻烦.
之前我说过可以修改iTunes的语言设置来搞定, 后来snow leopard开始不提供修改选项了.
于是就只能来硬的, 在iTunes的package file里直接删除英语的resource.
但这两种方法都会让iTunes的界面变成中文, 这对于看不惯劣质翻译的人来说是个头疼的问题.
现在想到了一种hack, 可以实现英文显示界面, 中文显示tag. 可以说比较完美了.
首先仍旧是在system preference里, 把英文设为第一,中文为第二.
然后在terminal里执行如下命令
cd /Applications/iTunes.app/Contents/Resources
sudo mv zh_CN.lproj zh_CN.lproj_backup
sudo mv English.lproj zh_CN.lproj
这样中文的resource就成了英文的了, iTunes以为自己load 中文resource, 但看到的还是英文的.

Tags: ,

Comments(0)

how to burn ape to CD on Mac

1. XLD, X Lossless Decoder to decode ape to wave
2. LiquidCD to burn cue+ape to CD
Small tools are really handy.

btw, about changing encode, *nix has a tool called iconv.
iconv –from-code=ISO-8859-1 –to-code=UTF-8 iso.txt > utf.txt
But XLD doesn’t correctly read UTF-8. Just ignore it. Wave file does not have tages.
You will eventually get your tags correct on your CD as long as encoding is correct in your cue file.

Tags:

Comments(0)

mac上的输入法

曾经用的是IMK,后来用FIT,也尝试过Sunpinyin, 确实都不如windows上的搜狗输入法,也不如很多其他(谷歌,qq,新浪,紫光,等等)。
最近下载了FIT的2.0, http://fit4.cn/club/blog/read?bid=306
据说是整合了sunpinyin的引擎,并且提升了词库,就下载安装了下,果然不错,相应很快,UI也舒服很多了。
遂删掉其他的输入法,反正连开都没开。
这里有个删除工具,IMRemove, 简单好用,

http://mac.softpedia.com/get/System-Utilities/IMRemoval.shtml

Tags:

* Comments(1)

how to tether blackberry to Mac

0, download bb modem script here, http://www.fibble.org/archives/2007/10/updated-modem-s.html
and put it to /Library/Modem scripts/
1. pair your bb with your mb, at the last step, use the info as below to setup the phone modem.
2. create new bluetooth connection in network pannel of system configuration. Fill the blanks on the right with the below info again.
3. go to advanced, Choose the vonder as RIM, and Model as 8800, Dial mode: ignore dial tone while dialing,

T-Mobile:
phone number: wap.voicestream.com
username: guest
password: guest
At&t:
Username: WAP@CINGULARGPRS.COM
Password: CINGULAR1
Phone Number: wap.cingular

refer to this link for more details instruction, http://theappleblog.com/2009/06/24/how-to-tether-your-blackberry-to-your-mac/

Tags: ,

Comments(0)

Enable tab-switch of dialog button in Snow Leopard

I used to use tab to switch the button in dialog (such as OK, Cancel, etc.) after snow leopard I found this feature is missing. Today I did a search and found a way to enable it.
Here is How,
Go to System Preferences > Keyboard & Shrotcuts
At the very bottom there will be an option saying about full keyboard access. Check the radio button that says “All Controls”.

from:  http://www.mactricksandtips.com/2008/10/use-tab-to-switch-between-dialog-buttons.html

Tags:

Comments(0)

The only keyboard shortcut you need to remember (Mac)

is cmd+? (press cmd+shift+[?/])
It opens help->search textbox. Then you type any command in the menu and press enter to execute.

Hooray!

Tags:

Comments(0)

install Canon EOS utility app on Mac without CD

Nobody knows why Canon restricts EOS utility app install only with original CD. Anybody who wanna install such an app owns a Canon camera. But some of them lost their CDs or bought a secondhand camera without CD.

To import Photos from your Canon DSLR, you need either a card reader or this app. Normally Canon only provides an updater of this app online. You have to keep the original CD to run this updater. I occasionally found this post to hack the updater.

First you download the latest updater app from Canon website. Then drag the app to desktop and show its contents. Navigate to Contents > Resources and remove the file “update.plist”. Now you can run this app as a normal installer.

That’s it.

Thanks to the author of this post.

http://www.northlight-images.co.uk/article_pages/install_canon_software.html

Tags:

Comments(0)

How to make QuickTime X play mkv files

I found a compatibility issue of perian playing mkv on QuickTime X. A lot of posts suggested re-installing QT 7. I happened to find this article introducing a very simple way to make quicktime X play MKV.

Here is how.

Edit QuickTime Player.app’s /Contents/info.plist with a plain text editor like textmate or textwrangler. At the end of the file, before </dict></plist>, add the following code

<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.movie</string>
</array>
<key>UTTypeDescription</key>
<string>Matroska Video File</string>
<key>UTTypeIconName</key>
<string>generic</string>
<key>UTTypeIdentifier</key>
<string>com.apple.quicktime.mkv</string>
<key>UTTypeReferenceURL</key>
<string>http://www.matroska.org/</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>mkv</string>
</array>
</dict>
</dict>
</array>

Open Terminal.app, run command

sudo touch  /Applications/QuickTime\ Player.app

That’s all!
I have tested on my quicktime X on snow leopard.

Tags: ,

Comments(0)

Mac上装Matlab r2009a

此版本的matlab会直接在application目录下装一个app文件,相比原来的安装更符合mac os的设计.
整个安装过程非常简便和快速, 甚至比windows版的还快.
但激活matlab可能有个问题, 会发现activate matlab这个app会crash.
原因是这个激活的app是32bit的,但java默认按照64bit来跑.
解决方法是, 在打开/Applications/Utilities/Java/Java Preferences, 修改默认的java程序运行环境为32bit,等激活后,再改回64bit.

此外, 之前看到了一个matlab加速的方法,是
自己加一个java.opts文件,放在/$Matlab$/bin/maci/目录下,
文件内容是
-Dapple.awt.graphics.UseQuartz=true
让matlab的java程序默认使用tiger的Quartz来render 界面.

但在r2009a里,这个文件自己就在那儿了, 不用自己添加了. matlab界面的速度也非常理想了.

refer

http://www.mathworks.com/support/solutions/data/1-8GS5S1.html?product=ML&solution=1-8GS5S1

Tags: , ,

* Comments(2)