7.25.2011

Migrate Lion partition to overwrite Snow Leopard

maybe you have previously installed lion on different partition, make a lot of changes, app installation, and later you decided to stick with it. here is how to avoid re-installation over writing your old snow leopard:




1. install lion on external disk and boot it
2. do image scan with disk utility on your lion partition
3. use the image to restore and overwrite the snow leopard partition
4. change the name of the old lion partition


5. boot the new lion. when power up, hold option key
6. once in, use disk utility to remove the old lion partion and resize your new lion

7.23.2011

Lion: Missing Library Folder

Access the contents of the user Library folder by holding down the Option key while clicking on the Finder's Go menu. Doing so will add the Library menu item to the list of specified directories:

7.09.2011

5 New Noticeable Preferences in Lion


Custom firewall settings.



Downloads windows is much more neat now..


Nothing new. Just my favorite feature.


Totally new set of wallpaper.

7.14.2009

Fusion Can Explode


WARNING: Do not ever put your MacBook in the bag while sleeping IF you have VMWare Fusion running. It'll burn or may explode! Because I did zipped it in my bag for say 30 minutes and the heat just scares shit out of me.

4.07.2009

I Love Shortcuts!

All Caps - CTRL+SHIFT+A
Annotation - ALT+CTRL+M
Auto Format - ALT+CTRL+K
Auto Text - F3 or ALT+CTRL+V
Bold - CTRL+B or CTRL+SHIFT+B
Bookmark - CTRL+SHIFT+F5
Copy - CTRL+C or CTRL+INSERT
Copy Format - CTRL+SHIFT+C
Copy Text - SHIFT+F2
Create Auto Text - ALT+F3
Date Field - ALT+SHIFT+D
Delete Back Word - CTRL+BACKSPACE
Delete Word - CTRL+DELETE
Dictionary - ALT+SHIFT+F7
Do Field Click - ALT+SHIFT+F9
Doc Maximize - CTRL+F10
Doc Move - CTRL+F7
Doc Restore - CTRL+F5
Doc Size - CTRL+F8
Grow Font - CTRL+SHIFT+.
Grow Font One Point - CTRL+]
Hanging Indent - CTRL+T
Header Footer Link - ALT+SHIFT+R
Help - F1
Hidden - CTRL+SHIFT+H
Hyperlink - CTRL+K
Indent - CTRL+M
Italic - CTRL+I or CTRL+SHIFT+I
Justify Para - CTRL+J
Left Para - CTRL+L
Line Up Extend - SHIFT+UP
List Num Field - ALT+CTRL+L
Outline - ALT+CTRL+O
Outline Collapse - ALT+SHIFT+- or ALT+SHIFT+NUM -
Outline Demote - ALT+SHIFT+RIGHT
Outline Expand - ALT+SHIFT+=
Outline Expand - ALT+SHIFT+NUM +
Outline Move Down - ALT+SHIFT+DOWN
Outline Move Up - ALT+SHIFT+UP
Outline Promote - ALT+SHIFT+LEFT
Outline Show First Line - ALT+SHIFT+L
Lock Fields - CTRL+3 or CTRL+F11
Web Go Back - ALT+LEFT
Web Go Forward - ALT+RIGHT
Word Left - CTRL+LEFT
Word Left Extend - CTRL+SHIFT+LEFT
Word Right - CTRL+RIGHT

4.01.2009

SSH through SOCKS proxy


compile connect source and put to any bin
add to ssh config file:
Host *

ProxyCommand connect -S socks.proxy.la %h %p

  1. establish wifi connection (comp + iphone)
  2. run socks (3proxy) from mobileterminal
  3. surf anything from mobile safari to establish EDGE
  4. set browser's socks proxy with iphone IP address & port 1080
  5. if firefox, additional step: set network.proxy.socks_remote_dns to true
iPhoneModem app is annoying

2.24.2009

Clippy! I miss thou!!

I thought it was a restriction or expired evaluation time but its NOT!
They have replaced the way to show copy & paste button to by holding
[123] even for copying an sms, you need to hold them. Thank God Clippy
is back!
Sent from my iPhone

2.02.2009

backup-sms.sh

I always have the feeling that huge sms.db will slow down SMS application startup. So I created a script to be run in Terminal and I wish I can do an application for this.

#!/bin/sh

# backup-sms.sh
#
# Created by amanyus on 2/2/09.
# Copyright 2009 __MyCompanyName__. All rights reserved.

DATE=`date +%y%m%d`
echo "${DATE}"
if test -f /var/mobile/Library/SMS/sms.db.$DATE
then echo "Today's backup already exists."; exit; fi
if ! test -f /var/mobile/Library/SMS/sms.db.$DATE
then cp -npv /var/mobile/Library/SMS/sms.db /var/mobile/Library/SMS/sms.db.$DATE; fi
ls -lrt /var/mobile/Library/SMS/
if test -f /var/mobile/Library/SMS/sms.db.$DATE
then echo "Today's backup successful"; fi

2.01.2009


Update: Something fishy here. Applications installed by Cydia do not appear on the springboard...

Aperture: A tiny thing that saves a lot of time.


Just for expressing an excitement. A new thing I just discovered and love about Aperture.

I have a lot of pictures and my last trip to Langkawi produced more than 1700 shots - and my mother wants them ALL! So as I started to export hundreds of pictures, I went through one by one to reject bad photos - even the exporting is still running (right now). Suddenly I came to a photo that attracts me. After a simple edit, I decided to upload it to Flickr and this is the good part. I don't have to wait for the earlier exporting process to complete before exporting a new picture. It really saves my time.

What a good software design in customer point of view!

11.18.2008

Leopard Re Installation: Part 2

I reformat using the same filesystem my external hard drive uses. Then set UID to 1000 in the System Preferences > Accounts > Advanced Options (right click on username). After that chown whole home directory.

Leopard Re Installation: Backup & Restore Issue

I wanted to replace my OS X Server because of lack of Internet Sharing feature. So I do both Time Machine backup and manual backup before making a fresh OS X installation. These are the issue that I faced.

Restoring using Time Machine right after Leopard Installation is not as I expected. There will be folders like 'System (from old mac)', 'Applications (from old mac)'. For me, this is not neat.

Your OSX filesystem must have the same format as your Time Machine backup filesystem. I'm using HFS Journaled with Case Sensitive, but my external hard disk is using HFS Journaled NOT with Case Sensitive. I have to reformat either my OS X partition, or my external hard disk.

Restoring files from Time Machine is strict because of UID. My user uses 501 as UID but my last Server system was using 1000 as UID. So restoring could get complicated.

Right now I'm going to change my UID and reboot and see what will happen.