Tag Archives: apple

Automatically increment build number (CFBundleVersion)

David wrote this nice little helper that automatically increments the build version every time. #!/bin/bash buildNumber=$(/usr/libexec/PlistBuddy -c “Print CFBundleVersion” “$INFOPLIST_FILE”) buildNumber=$(echo $buildNumber | sed ‘s/0*//’) buildNumber=$(($buildNumber + 1)) buildNumber=$(printf “%04d” $buildNumber) /usr/libexec/PlistBuddy -c “Set :CFBundleVersion $buildNumber” “$INFOPLIST_FILE” In Xcode just … Continue reading

Posted in computer | Tagged , , , , , , , | Leave a comment

Fixing TruePreview for Apple Mail 6.5

If you started Mail and it tells you that your plugin got disabled you have to move the plugin first from the disblaed folder back to the “normal” folder: mv ~/Library/Mail/Bundles\ \(Disabled\)/TruePreview.mailbundle ~/Library/Mail/Bundles/ after this you need to figure out … Continue reading

Posted in computer | Tagged , , , , | Leave a comment

Hot Corners

Did you know, that you can trigger your HotCorners with a modifier key? Source: http://hints.macworld.com/article.php?story=20130621130534978

Posted in computer | Tagged , , , , , | Leave a comment

Disabling vibrate on new mail (iOS)

In iOS 6.x you can go to Settings -> Sounds -> New Mail And then on the top you can find a button for vibration and set it to none there.

Posted in computer | Tagged , , , , | Leave a comment

Mission Control

To get mission control to pop up fast just write this to your plist file: defaults write com.apple.dock expose-animation-duration -float 0.1; killall Dock And with defaults delete com.apple.dock expose-animation-duration; killall Dock you can get back to default setting.

Posted in computer | Tagged , , , , , , , , | Leave a comment

Mac OS X is updating your preferences in the background

Recently I noticed that a config file of Safari gets updated every now and then even if Safari is not running. The same goes for a configuration file: /Users/hashier/Library/SyncedPreferences/com.apple.Safari.plist /Users/hashier/Library/SyncedPreferences/com.apple.syncedpreferences.plist These two files are not directly readable with e.g. cat … Continue reading

Posted in computer | Tagged , , , , , , , , , | Leave a comment

Who opens my UPnP ports?

Recently I turned on UPnP (Universal Plug and Play) to play a bit with it and instantly noticed that someone/something opened some ports in my router and forwarded them to my machine. So of course I wanted to know what’s … Continue reading

Posted in computer | Tagged , , , , , , , , , , , , , , | 5 Comments

LD_PRELOAD and DYLD_INSERT_LIBRARIES

A simple LD_PRELOAD tutorial that works under Linux can be found here but to be able to use it under OS X you should also read this.

Posted in computer | Tagged , , , , , , | Leave a comment

Safari search

Do be able to use Safari’s search function you definitely should execute this cmd: defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool FALSE As the name states it. Your search string doesn’t need to be at the beginning of the word.

Posted in computer | Tagged , , , , , | Leave a comment

Java, the hopefully last round

I had a fresh installation of Mountain Lion and installed Java 7. The problem was when I tried to run StandAloneJava applications ML always asked me wether it should install Java 6. Apparently a lot of people have this problem … Continue reading

Posted in computer | Tagged , , , , , , , | Leave a comment