Tag Archives: apple
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
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
Did you know, that you can trigger your HotCorners with a modifier key? Source: http://hints.macworld.com/article.php?story=20130621130534978
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.
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.
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
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
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.
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.