I have seen loads of ways of looping though GET, POST and COOKIE and stripping slashes, but I finally think I found one I am happy with.
The benefits it offers include…
Tech
There are 91 posts filed in Tech (this is page 16 of 19).
Location of hosts httpd.conf php.ini on Mac OSX
I’m sick of forgetting where to find my local development files so here is a quick breakdown. It includes hosts file, httpd.conf and php.ini
Twitter Quicker, Tweeting with Quicksilver
I’ll get onto twitter and tweets in just one second…
If you have a mac and you haven’t tried the Quicksilver application, I seriously suggest you put it on your list of things to do pretty soon. It is a great way of searching your document, music and application using one simple interface that is fast and doesn’t push it’s way to the front and annoy you.
Twitter ‘patch’ the “don’t click” virus with one line of code
Before I get started, I would just like to confirm there is absolutely no reason to change your Twitter password. That’s right. Your password is safe even if you fell for the don’t click scam.
A harmless virus has been seen on Twitter over the last couple of weeks. It manifests itself as a tweet from someone which simply reads ‘Don’t click {link}’
If you are logged into twitter and you click the link, followed by a link on the following page which also reads ‘Don’t click’ then an identical message is posted without your knowledge to your own feed.
Hide / Remove Info Window / Bubble for Embedded Google Maps
A quick note added in February 2011. Google has now removed the iwloc part of the url in most cases. To remove the pin, you can now add &iwloc=near to the end of the iframe src attribute. So….
<iframe width=”300″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=manchester&aq=&sll=53.41654,-2.236788&sspn=0.033864,0.090294&ie=UTF8&hq=&hnear=Manchester&t=h&z=12&ll=53.480712,-2.234376&output=embed“></iframe>
…would become…
<iframe width=”300″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=manchester&aq=&sll=53.41654,-2.236788&sspn=0.033864,0.090294&ie=UTF8&hq=&hnear=Manchester&t=h&z=12&ll=53.480712,-2.234376&output=embed&iwloc=near“></iframe>
Thanks to John below for pointing this out
Old information:
Google have tweaked things again. Here is the latest way (March 2009) to embed a map including a location pin without the annoying info window or info bubble showing above it and ruining the maps centre location.
This is particularly important if you are using a small sized map less than around 400px square.