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)

Play with Lightroom Presets

Presets is a powerful way to enhance your photo in one click. You can keep a copy of your favorite settings in a preset and apply the preset to your other photos. Each preset is a file stored at
~/Library/Application Support/Adobe/Lightroom/Develop Presets/User Presets/
You can even share your presets with your friends.

Comments(0)

过一段就好了

经理: 最近怎么样?
我: 挺好, 就是太忙了.
经理: 最近的确有点忙, 过一段就好了.
我: 过段时间就不忙了?
经理: 不, 过段时间你就适应了, 也就好了.

Comments(0)

OpenCV 安装攻略

经师弟推荐, opencv中文社区有一系列安装攻略. 写的挺详细的. 需要的朋友可以收藏下. http://www.opencv.org.cn/index.php/Template:Install

Tags:

Comments(0)

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)

How to make QT make works on Snow Leopard

The title is quite award. Hehe. A couple of days ago, I planned to use QT to build some stuff. But I found it counld not find “make” cmd on my snow leopard. I searched a lot; but only found Qs, no As. Some suggested to install XCode (which gives your OS “make”). But I have already installed the latest Xcode.  How come?

At last, I re-installed Xcode. And it works now!

I notice that there wasn’t “make” cmd in my /usr/bin/ path, but one in /Developer/usr/bin/. So I even tried to add a ~/.bash_profile with “export PATH=$PATH:/Developer/usr/bin/” to use make in Terminal. But QT Creator still didn’t work. After I re-installed XCode from the Snow Leopard Disc. I got “make” back inside /usr/bin/.

Tags:

Comments(0)

How to show Image on GUI in matlab

  1. Add an “Axes” control on GUI. Change its tag to “axes_img”.  %% Tag in matlab GUI programming is used as function of name.
  2. Change property of "Axes” visible to “off” to avoid it appearing like an axes in the GUI before image is loaded.
  3. In some functions, like a button clicked, add code similar as below
    axes(handles.axes_img); % use the axes you put on GUI
    imshow('filename'); % display the image

Then an image is loaded where you put the axes control when you click the button.

Comments(0)

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

* Comments(1)

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

* Comments(1)