Tag Archives: tip

mdfind & mdls & Spotlight

Searching for files with Spotlight is awesome and you can actually use the power of Spotlight even in the console. But first let me show you some nice features of Spotlight. Spotlight Searching for all images that contain “me”, are … Continue reading

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

git diff and objective c

When you are writing Objective-C code and using git you probably realised that the `git diff` is not mentioning the function name in which the change occurred. This can easily be changed by just running following cmd inside your git … Continue reading

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

Mavericks Wallpapers and Screen Saver images

Idea: Have folder with all the Mavericks wallpapers and screen saver images but without wasting a lot of space. Why duplicate all of them, so you can set it as the folder that should be used for randomly choosing a … Continue reading

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

Command to create installable OS X Mavericks 10.9 USB drive

Command to create installable OS X Mavericks 10.9 USB drive..

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

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

Improving the security of your SSH private key files — Martin Kleppmann’s blog

Read this great article: Improving the security of your SSH private key files — Martin Kleppmann’s blog. For my own convenience I just put all the important commands together but won’t explain anything. Again: Go and read the article. Reading … 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

git

I just figured out, that I want to make sure, that I never committed a key to my repository before publishing it, so what’s the easiest way to grep throw all commits in a git repository: $ git grep USERNAME … Continue reading

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