This blog has moved to http://www.andyjarrett.co.uk/blog/ | New RSS FEED

My blog has moved

Please update your bookmarks and feeds for my site.

I now have a Mango Blog at:

http://www.andyjarrett.com/blog

Feed URL: http://feeds.feedburner.com/andyjarrett

Speed up Apche2 with mod_deflate

Before there was mod_gzip but now in Apache 2 there is mod_deflate. Its pretty much the same, and included with the default source package now. The syntax is pretty much the same. You can set it across the board or on a MIME type basis.

Check out the Apache docs for a proper understanding. Currently I am still testing my setup and on my Ubuntu installation I edited the following configuration to add some MIME Type rules

$ sudo nano etc/apache2/mods-enabled/deflate.conf

The following rules I am using are


<Location />
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/atom_xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/html
<Location>

Do read the docs though, as not all browsers can handle this but there are ways to get around that.

Take screenshots in/on the iPhone

If you haven't seen the entries floating around already, you can take screen shots of your iPhone with the new v2 upgrade.

To take a screen shot all you have to do hold down the home key (bottom square button) and push in the top button. The screen then will flash for a second then you're done. You'll find the image on your camera roll where you can sync it up to your Mac/PC and do what you want with it.

You can see a live demo in action atCnet

Eclipse local help system

Update: This appears to be on a different port for others. As Jax pointed out you can go: Eclipse, select Help -> Help contents to get there as well :o)

I was just going into some help files of Aptana when I came across the local address for the Eclipse Help system at: http://127.0.0.1:58041/help/index.jsp

In there was a wealth of information I just didn't know was on my hard drive ... though I suppose it depends on what plug-in's you've got installed but for me I had:

[*** More ***]

TwitterAir 1.1.1 released

Aaron West has released a new version of his Twitter Air app namely called TwitterAir.

You can download the updated application from his site in the Download sections as well as finding out what has been updated. This release also includes some new features, with one of my favourite being type ahead for @username's!

Check it out! http://www.trajiklyhip.com/blog/index.cfm/2007/7/16/twitterAIR-110-Released

BlogCFC was created by Raymond Camden / Contact Blog Owner / mptooling.com / spicemerchants-portsmouth.co.uk / ipicture.it