Getting command line access to PHP and MySQL running MAMP on OSX
by Joaquin Lippincott, President & Founder

If you have MAMP installed on your Mac OS X box, you’re probably going to want command line access to those applications at some point. Assuming you’re running a default install you’ll run into difficulty when you type php or mysql without logging into the appropriate directory. In MAMP the directories are as follows:

Rather than referencing those full paths every time you’ll probably want to include them in the PATH. You can do this by editing your .profile file. (You can get to the directory where this lives by typing cd).

Use a text editor to open up .profile and change the following line:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
To include the additions to the $PATH like so:

export PATH=/Applications/MAMP/Library/bin/:/Applications/MAMP/bin/php5/bin/:/opt/local/bin:/opt/local/sbin:$PATH
You’ll probably need to make the shell reload your profile like so:

. ./.profile
Also if you have any problems connecting to mysql you may need to run the following command:

sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock

Disable startup sound OSX 10.8

[Copied from:]

Without further ado, in order to eliminate the boot sound on OS X 10.8 Mountain Lion (as well as on any other Mac OS currently in circulation), follow these steps exactly.

1. Launch Terminal (from Applications > Utilities > Terminal);

2. Wait for the Terminal UI to display your computer’s name (root directory) and punch in:

sudo nvram SystemAudioVolume=%80

3. Hit Return/Enter;

4. Now you’ll be prompted to type in your administrator password. Do that, hit OK, and you’re done.

When you restart your Mac, the OS X boot chime should no longer play. If you somehow decide you want the boot sound back, simply fire up Terminal again and, instead of the aforementioned command, use sudo nvram -d SystemAudioVolume.

SVN Subclipse SVNKit and JavaHL – Can’t connect

Beim Versuch mit einem SVN Repo zu verbinden kam immer die Meldung: Can’t connect oder Can’t Read status code usw.

nach ewigem suchen bin ich nun auf die Lösung gestossen: Die Verbindung wurde geblockt durch Cisco AnyConnect – auch wenn dieser gar nicht lief!

Nach dem deinstallieren funktionierte alles wunderbar..

How can I make auto-hide/show for the dock faster?


To make the Dock instantly leap back into view when it’s needed, rather than slide, open a Terminal window and type the following:

defaults write autohide-time-modifier -int 0;killall Dock
I find this useful, but if you’d like the animation for the dock to reappear to last for a split-second, try the following:

defaults write autohide-time-modifier -float 0.15;killall Dock
To revert back to the default sliding effect, open a Terminal window and type the following:

defaults delete autohide-time-modifier;killall Dock

eclipse indigo 64bit + subclipse 1.6.8

eclipse ee 64bit:

Subclipse –

JavaHL 64bit -> subversion installation von (installiert ebenfalls JavaHL und erstellt einen symlink im extensions folder

EDIT- Alternative zu JavaHL:
Go to Eclipse > Preferences > Team > SVN Under “SVN interface”, choose client as “SVNKit(Pure Java) SVNKit v..xx”. Worked for me.