Configure FTP server on Mac Leopard

December 17th, 2009 by admin
  1. Go to ‘System Preferences’
  2. mac_ftp_0

  3. Go to ‘Sharing’
  4. mac_ftp_1

  5. Check ‘File Sharing’
  6. mac_ftp_2

  7. Go to ‘Options’ and then check ‘FTP sharing’
  8. mac_ftp_3

  9. Write down the server name and use you user name and password for the machine

Five Best Image Editing Tools

September 2nd, 2009 by yingliang

Based on this article, the Five Best Image Editing Tools are:

This article picked five different ones:

  1. Photoshop
  2. GIMP
  3. Fireworks
  4. Inkscape
  5. Pixelmator

Install LAME for Audacity MP3 support

August 29th, 2009 by yingliang

1. Go to the LAME download page.
2. Click to download either “Lame Library v3.98.2 for Audacity on OSX.dmg” or “LameLib-Carbon.sit”, according to your operating system.
3. Double-click the .dmg to extract “Lame Library v3.98.2 for Audacity on OSX.pkg” to Finder, or use Stuffit to extract “LameLib” from the .sit (either of these may happen automatically).
4. Double-click the .pkg to install “libmp3lame.dylib” in /usr/local/lib/audacity, or save “LameLib” anywhere on your computer.
5. The first time you use the “Export as MP3″ command, Audacity will ask you where libmp3lame.dylib or LameLib is saved.

No sound out of MacBook speakers & red LED in Headphone jack

August 29th, 2009 by yingliang

This is weird, I had the same problem. I found the answer from this forum:

rolleyesbrady.ca: I found a fix for the red light problem. I’m not sure if I like it, but it works. After reading forum thread after forum thread of users that had this problem, I found a dude who fixed his jack with a rubber ended bobby pin. It seems a sensor gets bent (?) and the system thinks your digital external line is still plugged in. I took the butt end of a matchstick and tickled inside the jack. My red light went out. My internal speakers work again. Whatever.

The only difference is I was using a piece of paper wrapped up and … too weird.

What is Lorem Ipsum?

August 20th, 2009 by yingliang

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy.

How to create drop down box for default values in Excel

August 19th, 2009 by yingliang
  • Select the cell where you want the drop-down list.
  • On the Data menu, click Validation, and then click the Settings tab.
  • In the Allow box, click List.
  • Specify the location of the list of valid entries.
  • To specify whether the cell can be left blank, select or clear the Ignore blank check box.
  • Optionally, display an input message when the cell is clicked.
  • Specify how you want Microsoft Office Excel to respond when invalid data is entered.

Read the original article for more information.

Where To See Firefox Temporary Files?

July 21st, 2009 by yingliang

Open Firefox and type about:cache (or about:cache?device=disk)in the address bar and hit enter, it will show the details and entries of the temporary internet files.

An alternative would be to use the GUI front end of about:cache by installing the extension CacheViewer.

How to stop Safari from asking keychain password?

July 18th, 2009 by yingliang

Nearly every time you open a new web page the box comes up twice says: “Please Enter your keychain password”, really annoying! How to stop this from happening?

Navigate to:

Macintosh HD -> Applications -> Utilities -> KeyChain Access

Then go to KeyChain Access (in the menu) -> KeyChain FirstAid

You will be asked to enter your username & password and then you can verify and repair your KeyChain configuration.

If that is not working do the following:

  1. In Keychain Access, choose Keychain List from the Edit menu.
  2. Delete the “login” keychain.

The next time you log in to the account, you can save your current password in a keychain.

Here is the original post.

Necessary steps for creating applet

June 18th, 2009 by yingliang
  • Compile all .java files to create .class files;
  • Make a jar file with all classes: jar -cvf JarFileName.jar path;
  • Create a certificate in your machine to sign the jar file: keytool -genkey -dname “CN-Developer Name” -validity 365 -storepass secretstorepassword -keypass secretkeypassword;
  • Sign the jar file with created certificate: jarsigner -storepass secretstorepassword -keypass secretkeypassword JarFileName.jar;
  • Verify signed jar file: jarsigner -verify -verbose JarFileName.jar

Install Windows XP on VirtualBox installed on Mac

June 17th, 2009 by yingliang
  • VirtualBox allows you to run each of your guest OS on its own VM
  • Starting the GUI: double-click on the VirtualBox item in the Applications folder
  • Creating a virtual machine (VM): 
  1. Clicking on the “new” button in the GUI;
  2. Input a name for your VM;
  3. Specify the amount of memory (RAM);
  4. Create hard disk, specify the max space;
  5. Edit the video memory;
  6. Mount the CD/DVD-ROM;
  • Insert the installation CD and click on “start” button on the GUI to install Windows XP
  • When ask click on F8 to agree license, click mouse in install window and click ‘fn’ + ‘f8′