Monday, May 24, 2010

My mackbook white is cracked.


2 monthes ago, I waked up in the morning as usual.

When I moved my first step, I felt something wrong.

Yes, I stepped on my macbook, and it's lcd are broken.

At first time, there was only few lines, it bothered me but I thought I can leave it.

But now, it is getting worse. It's not mac'book' , just mac because I can't use this lcd anymore.

So I decide to fix it. It cost almost $160.

Guys, don't put your laptop under your bed. :(

Wednesday, December 2, 2009

My new place to work.


Yesterday, I moved my place in office.
I totally satisfied with my new place.
It's much larger than old place.

Most importantly, nobody can see what I do :)
When I was in other place, everybody can see.
Actually I didn't care about that , but I can tell new place is much better to work and to surf the web :)

So, How do you think ? :)

Tuesday, December 1, 2009

Tweetie for Mac OS X Review

I installed Tweetie for Mac OS X
And I'm writing short review about Tweetie.
Like other Mac OS X application, first impression was "yeah looks great".
But I really depressed with UI of "New Tweet".

What's wrong with this ?
Tweetie on iPhone was nice but, I really hard to accept this.




Even it has ugly User-Interface , it support everything that twitter can.
( Retweet is not supported yet, it's quite new function )


I think I'll continue to use this before I can find great looking Twitter Client.
Please tell me if you know some :)

Have a nice day

Monday, November 30, 2009

Windows 7 on MacBook.




I used Windows 7 RC on my MacBook.
Few days ago, I purchase Windows 7 Ultimate K Edition for my laptop.

I installed it.
As RC version, it works perfectly and I totally satisfy with Windows 7.

Like others, Windows Vista make me down. But 7 is really good choice for people who don't want use 9 years old Windows XP.

I prefer that use Windows 7 than Mac OS X Leopard.
You should try it !!

Friday, July 31, 2009

[OSX] How to turn off beep sound in Terminal


Open Prefereneces of 'Terminal' menu.

Go to 'advanced' tab and uncheck bell item.

That's all :)


Friday, July 17, 2009

[iPhone] save image to Photo Library.

Hello, everyone.

Today, I'll see how I can save an Image to Photo Library.

Call 'UIImageWriteToSavedPhotoAlubm' method in UIImagePickerController.h with your 'UIImage object'.

That's all :) It's so easy, isn't it ?

Let me see the declaration of this method.

UIKIT_EXTERN void UIImageWriteToSavedPhotosAlbum(UIImage *image, id completionTarget, SEL completionSelector, void *contextInfo);



This method also adapt selector to inform complete ( or error).

A selector should be formed like....

- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo;

Have nice day, and wish your happiness :)


[iPhone] add info button to UIToolBar


How can I insert 'info button' to UIToolBar ?

You should use 'UIBarButtonItem' to add some item to UIToolBar.

In example you can create it like below code.

UIBarButtonItem *actionItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:nil];


You can use UIBarButtonSystemItem* but there is no info button.

I noticed there is other init method named 'initWithCustomView'
You can create customized BarButtonItem with it.

I created info button with UIButton like below code.

UIButton *button = [UIButton buttonWithType:UIButtonTypeInfoLight];


[button addTarget:self action:@selector(infoPressed:) forControlEvents:UIControlEventTouchUpInside];


UIBarButtonItem *infoItem = [[UIBarButtonItem alloc] initWithCustomView:button];

Let's do it !! :)