1. Hiding an app’s dock icon

    If the app is a cocoa app, then right click - show packages contents - contents and open info.plist.

    Then add the following:

    <key>LSUIElement</key>

    <string>1</string>