Monthly Archives: October 2011

Get MySQL Workbench working on Ubuntu 11.10

MySQL Workbench doesn’t work out of the box in the latest Ubuntu. These steps will get it working until Oracle gets around to updating the official package ;)

sudo add-apt-repository ppa:olivier-berten/misc
sudo apt-get update
sudo apt-get install mysql-workbench-gpl


Update: Don’t know if Oracle has fixed this yet. This works in the latest Linux Mint as well.

Aptana PHP Formatting Tip

I like the Aptana PHP formatter. Its the only one that works well for me. I used to my one liner tags messed up a lot like this.

<?php echo $content

What I noticed was that the ones with the semi-colons in place didn’t break to a new line.

<?php echo $content;?>

Now the auto-formatter (Keyboard shortcut to Command + Shift + F on the Mac) keeps things in the same line.