#Remove Dock Icon of Mac OSX App
How to get rid of unnecessary dock icons.
##Generic
Navigate to the app and look in the container for info.plist. Open info.plist and add or modify the LSUIElement Element.
<key>LSUIElement</key>
<string>1</string>
If the App is from the Appstore you have to resign it.
sudo codesign -f -s - [/path/to.app]
Always backup your App and keep in mind you may have to sign in again.
##Twitter Example ###Edit Twitter.app/Contents/Info.plist
sudo plutil -replace LSUIElement -string "1" /Applications/Twitter.app/Contents/Info.plist
###Resign
sudo codesign -f -s - /Applications/Twitter.app
sudo plutil -replace LSUIElement -string "1" /Applications/Twitter.app/Contents/Info.plist && sudo codesign -f -s - /Applications/Twitter.app