Archive for April, 2008

Hiding an Application Icon from Macs’ Dock

Do you have a mac? Have you ever wanted an application to be hidden from the dock, even when it’s running, but there’s no option to do so? Follow these simple steps and you will have a hidden application.

  1. Navigate to the application in Finder (Usually ~/Applications/)
  2. Right-click (or control-click) on the application and select “Show Package Contents”
  3. Open Contents/info.plist
  4. Find a line that looks like:
    • <key>NSUIElement</key>
  5. If it doesn’t exist, enter these two lines right before the </dict> tag:
    • <key>NSUIElement</key>
      <string>1</string>
  6. Save the file and (re)start the program.
  7. You’re done!

CSS Gradients

After hunting and pecking for a way to effectively implement a background gradient without an image (because it poses a scrolling problem, see below), I came up empty. UNLESS you are using (in my opinion) worst internet browser ever created: Internet Explorer, but that’s the topic of another post. The point is there is no way to implement a gradient with simple CSS. I think that this feature should be implemented but that’s just me.

As mentioned above, using an image you run into a problem when the page is longer then the original image (if you’re repeating width-wise) or wider then the original image (if you’re repeating length-wise).

Bottom line: we need a gradient CSS hack/implementation.