Auto Answer FaceTime Call | When FaceTime was introduced by Apple the first time, I was thinking, it can be ...

Take a photo and make a magazine

August 13th, 2009 by Tkjune

Cover creation from Peter Belanger on Vimeo.

God, I still have to take care 48% IE6

July 29th, 2009 by Tkjune

The browser war has so many players in it: IE, Firefox, Chrome, Safari, Opera... and some other mobile browsers. After turning to Mac, I have a delusion that most people are using Firefox, or Safari, or Chrome. When I check the website visitor report, the truth kicks me off from the cloud -- There are still 48% IE6 users visiting the website.
I'm not a super fan of Firefox in Windows, but in Mac, all the fonts looks so nice in any browser (definitely not including IE) and I just don't want to look back to the IE in Windows. Isn't it a nightmare? With the Web Developer and Firebug add-on, Firefox is so powerful a web app development tool. In the meanwhile, the IE develop toolbar looks like a kid. Even in IE8, the improved built-in develop tool bar, has so many limitations. It's killing me.
After complaining so much, I have to face the fact: 48% IE6! The good side is, Firefox and other browsers are stronger than last year. Take Firefox for example, it grows from 7% to 8%.

Guardian in the room

July 15th, 2009 by Tkjune

One day, a visitor came. In green tuxedo, it stood still for over one day. I was very glad with its visiting. More food it had got, happier I would be. You must know it too.
guardian-in-the-room

Mac OS X: Repair "Open With" list in right-click menu

July 9th, 2009 by Tkjune

In Terminal, paste command below and press enter:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Done,

Google Wave

June 21st, 2009 by Tkjune

Restaurant and review site, interact on mobile

June 15th, 2009 by Tkjune

3G is just lunched in China for not so long. No doubt it's a huge market for the fast network is finally moving on hand. Let the information fill the gaps of life. Finding a restaurant on mobile network is not new. Maybe restaurant and review site can do more inter-activities.

Before, it happens like this: The food hunters like hanging around with their camera. When they find out something delicious, take a photo, enjoy the meal, when they get home, they use computer to post a review on websites, mostly on review sites.

See what we have now: Faster internet connection on hand and high resolution camera build-in mobile phone. That means everybody and do the live review work. Think about the "Customer Comment Book" in some restaurants. Has it been made fully use of? Usually, the boss of the restaurant may see it. Then what? How about encourage customers to comment directly on the web and let more customers see?

This requires the review sites provide a mobile portal which is easy to use, an application for iphone, blackberry and other mobile phones could provide seamless searching and commenting services. The restaurants provide coupon or discount to encourage customers to post a comment directly when they are waiting for the bill.

It meant to be cool

June 15th, 2009 by Tkjune

Use Automator to quick edit "hosts" in Mac OS X

May 24th, 2009 by Tkjune

A web developer often edit hosts file for developing use. In windows, you can create a shortcut to use notepad to open and edit the hosts file. In Mac OS X, I like using Spotlight to quick open the stuffs I want. But the hosts files is hidden by default and can not be found in Spotlight. So I use Automator to triger TextMate to open hosts file for editing.

Here's what I did in Mac OS X 10.5.6:

  1. Open Automator
  2. In Library of Automator, choose "Get Specified Finder Items" in "Files & Folders" category. Drag it to the right panel.
  3. Open Finder, select "Go -> Go to Folder..." from menu (or use shortcut key "CMD+SHIFT+G"), input "/private/etc/". You can find "hosts" file here. Drag it to Automator, the file list area in "Get Specified Finder Items".
  4. In Library of Automator, choose "Open Finder Items" in "Files & Folders" category. Drag it to the right panel. Choose the application you like to open the hosts file. As to me, I chose TextMate.
  5. Click "Run" button on the top right to test it.
  6. Save it as application in "Application" folder.

This works alright in 10.5.6. But I just upgrade to 10.5.7 a few days ago and I found that it does not work. When test run, the automator can find out the file but cannot open it, even after I repairing the disk permissions. Then I changed another way for step 4 here:

4. In Library of Automator, choose "Run AppleScript" in "Utilities" category. Input following lines:

on run {input, parameters}
tell application "TextMate"
open input
end tell
return input
end run

Test run and bingo!

DOMINO

May 22nd, 2009 by Tkjune

When domino was releasing in Korea, I hope I could one day stands a group of this little ones a line. Now it comes true. See? Good wishes always come true. That's the power of my will.

iriver domino
iriver domino 02
iriver domino 03
iriver domino 04
iriver domino 05

Simplified Chinese Language Pack for NextGEN Gallery

April 13th, 2009 by Tkjune

NextGEN Gallery in Chinese

NextGEN Gallery is a very powerful plugin for WordPress that can manage the photo easily. It has many features and provides multiple language support. I've just made the Simplified Chinese language pack for the current version. Download: Simplified Chinese Language Pack for NextGEN Gallery 1.21 1.33 1.43 1.52 1.55 1.60 1.72 1.73 1.81 1.83 1.91

(Following bug has been fixed after 1.21)

There is a bug in this version when using other languages which will result in a notice's translation can not be shown. It a very small issue but if you are completist you can fix it in this way: Open this file [NextGEN plugin folder]/lib/core.php and find out line 419.  Replace it with following code:

  1. $result = sprintf(  __( 'Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel', 'nggallery' ), $size['width'], $size['height']);

This notice appears in [Add Gallery / Images] -> [Upload a Zip-file] and similar pages. Well, in fact, there are two more bugs if you really want to fix... Open this file [NextGEN plugin folder]/admin/tinymce/window.php and find out line 29-30.  Replace them with following code:

  1. </span>
  2.  
  3. &nbsp;
  4.  
  5. <span style="text-decoration: line-through;">

Checkout what I did (very simple) with this wonderful plugin and know more about how to use it.