I have a lot of snippets that I found somewhere on the web, ages ago, or created myself. They solve small problems and range from making OS X working better to Cocoa development issues. Until now I didn’t have any central location for storing them, but will now begin publishing them on my blog, not least with the hidden agenda to not have them stored locally anymore.

Today: After each update of an app I bought in the Mac App Store, my Finder’s context menu shows duplicate entries for that app. Clean up this mess with two (well-known) Terminal commands.

Launch Terminal and type:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user ↩

killall Finder ↩