Using Maven on Intellij IDEA on Mac

Running/Debugging a maven target on Intellij IDEA results in a big scary error message: –

Error running […]: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.

To fix, you have to add M2_HOME variable in the Mac specific way.

Create or modify the file ~/.MacOSX/environment.plist, and add an entry for M2_HOME

If that file is already there, you may find that you can’t edit in a text editor because it is a binary file. First you will have to convert it to plain text (xml), edit it, and then you can convert it back to the binary format.

$ plutil -convert xml1 environment.plist

$ vim environment.plist

$ plutil -convert binary1 environment.plist

Ref: http://youtrack.jetbrains.net/issue/IDEA-21225 and http://devnet.jetbrains.net/thread/278634

 

Run multiple Firefox profiles as separate Applications on Mac

Here is a visual guide to creating multiple Firefox profiles and setting them up to run like separate applications on Snow Leopard.

Creating a new Firefox profile

Open terminal and execute the following command:

/Applications/Firefox.app/Contents/MacOS/firefox-bin --ProfileManager

This should bring up the Firefox Profile Manager –

Firefox_Profile_manager.png

Go ahead and create a brand new profile.

Using Automator to run the new Firefox profile as an application

Now, on to creating a proper Mac application to run Firefox with your chosen profile. Continue reading

Google Chrome on Mac

Google Chrome developer release on Mac –

Google Chrome on Mac

Google Chrome on Mac

Being a developer release, it is incomplete.
How incomplete? You can’t run YouTube videos for example, a bunch of other plugins don’t work, and lots of other good stuff missing.
GMail works though, that is what I will be using it for now.

Download it here – Chrome developer release, if you can’t wait to see Chrome running on your Mac.