How to get Color Sidebar icons back in MacOS 10.7+

Posted in IT StuffTagged

I was really sad looking at my gray finder sidebar. I thought that this release of Finder was designed by some engineer from Soviet Union or North Korea but, finally, I found a solution to get back my colored finder and also my smile! Take a look to this link:

MacOS X – Remove an agent from launchd

Posted in IT StuffTagged

launchd is a daemon/agent manager and to remove a service from it, use the following syntax with the launchctl command: launchctl remove namelaunchctl remove name It’s possible to get a list of daemon/agent with: launchctl listlaunchctl list Usually the daemon/agent configuration files are in: /Users/andrea.girardi/Library/LaunchAgents

MacOS Tips and Tricks

Posted in IT StuffTagged

Rebuild the Spotlight index manually : sudo mdutil -E /sudo mdutil -E / Insert a blank space on Dock: defaults write persistent-apps -array-add ‘{"tile-type"="spacer-tile";}’ killall Dockdefaults write persistent-apps -array-add ‘{"tile-type"="spacer-tile";}’ killall Dock Show all files (also hidden): defaults write AppleShowAllFiles TRUE killall Finderdefaults write AppleShowAllFiles TRUE killall Finder

Run Postgres 9.1 on MacOS Lion as Daemon

Posted in IT StuffTagged ,

To start a new Postgres version as Daemon you need to follow these commands. For first, unload current version (if available): sudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plistsudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plist Edit theĀ org.postgresql.dbms.plist (if not available, create a new one): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ""> <plist version="1.0"> <dict> <key>Label</key> <string>org.postgresql.postgres</string> <key>ProgramArguments</key> <array>….