I had a php file where the indentation had been completely messed up. A quick google came up with this tip for vim:
Press: gg=G
to select the all lines and autoformat.
Here is a quick script I put together to be able to see what song is currently playing from Spotify on my Z-10 speakers.
Download here : g15spotify.zip
Released under the GPL 2.0
Please note this is my first 'big' bash script so please let me know about any problems/improvements needed.
Loosely based on G15 Amarok Plugin Plus by Robert Riemann
http://www.kde-apps.org/content/show.php/G15+Amarok+Plugin+Plus?content=76743