Monday, August 29, 2011

How to compile FFMPEG in 32 bit mode for Mac OS X

./configure --extra-cflags="-arch i386" --extra-ldflags='-arch i386' --arch=x86_32 --target-os=darwin --enable-cross-compile 

Monday, August 22, 2011

My favorite XCode 3 keyboard shortcuts

Keyboard:
. Shift + Option + Command + Left/Rigth arrow key: Move to Previous/Next file
. Command Left/Right arrow key: Go to beginning/end of the line
. Command + [ or ] : Indent selection leftward/rightward
. Command + R : Build and Run (Breakpoints off)
. Command + Y : Build and Debug (Breakpoints on)
. Option + Command + R : Run (Breakpoints off)

. Option + Command + Y : Debug (Breakpoints on)
. Shift + Command + E : Zoom editor out
. Shift + Command + W : Close file


Touchpad:
. 3 fingers swipe up : Switch between .m and .h files
. 3 fingers swipe Left/Right : Go Back/Forward

Check clients which connect to Mac OS X Wi-Fi Internet Sharing

arp -i bridge100 -a bridge100 may be different on your Mac OSX