Category Archives: Mac OS X

Remove extension attribute and ACL on Mac OS X

Remove extension attribute and ACL on Mac OS X Remove extension attribute: ls -l see “@” xattr -l YOUR_DIR_OR_FILENAME sudo xattr -d -r ‘com.apple.metadata:_kTimeMachineOldestSnapshot’ YOUR_DIR_OR_FILENAME sudo xattr -d -r ‘com.apple.metadata:_kTimeMachineNewestSnapshot’ YOUR_DIR_OR_FILENAME sudo xattr -d -r ‘com.apple.FinderInfo’ YOUR_DIR_OR_FILENAME Remove ACL: ls … Continue reading

Posted in Apple, Mac OS X | Leave a comment

Where does the Mac OS X store account pictures?

If you are looking for your account picture, below worked for Mavericks. ls -l ~/Library/Containers/com.apple.ImageKit.RecentPictureService/Data/Library/Images/Recent\ Pictures/ There are *.png and *.tiff … Have fun!

Posted in Apple, Mac OS X | Leave a comment

Reset the Dock to default in Mac OS X Mavericks

I just upgrade snow leopard to mavericks and got the ugly dock so I want to reset it to default :p   Open terminal and copy both the text below and paste in terminal, then press enter: defaults delete com.apple.dock killall … Continue reading

Posted in Apple, Mac OS X | Tagged , | 1 Comment

pbxcp: iTunesArtwork: No such file or directory

New project use template of cocos2d iphone 0.99.5, build error and fix by manual. tar xvf cocos-2d-iphone-0.99.5.tar.gz cd cocos2d-iphone-0.99.5/ find ./ -name ItunesArtwork rename all files that found, new file name is iTunesArtwork ./install-templates.sh -f -u changesets info: http://code.google.com/p/cocos2d-iphone/issues/detail?id=1092

Posted in Apple, Mac OS X | Tagged | Leave a comment

Install and run MacPorts on Mac OS X

Use “dmg” disk images to install MacPorts for Leopard, containing pkg installers for use with the Mac OS X Installer. (Download Leopard MacPorts “dmg”) Before you install MacPorts please install Xcode first. (Download Xcode) Then running the system’s Installer by … Continue reading

Posted in Mac OS X | Tagged , , | Leave a comment

Introduce Xcode, Objective-C and Cocoa

What is Xcode, Objective-C and Cocoa Xcode:It’ IDE, like Visual Studio, Netbeans or SharpDevelop. Objective-C:It’s a kind of language, eg. C++, C# and Java. Cocoa:It’s library, like MFC, .NET or Swing. As like: Objective-C -> Cocoa C# -> .NET Java … Continue reading

Posted in Mac OS X, Programming | Tagged , , , , | Leave a comment

Mac OS X version information

It is built on Darwin, baesd on FreeBSD 5 and the Mach micorkernel. Apple designed and develped the Aqua user interface, we also can use X11 in Mac OS X but the Aqua is more beautiful :p . Version / … Continue reading

Posted in Mac OS X | Tagged , | Leave a comment