Sundial widget

What is it?

A dynamically generated image that displays the approximate period of the sun/moon.

Why would I want one?

Because it works based on YOUR time zone, it will visually show your blog readers what your local time is, and it’s kinda cute.

How do I get one?

Click here, enter the width you require (in pixels), and select your location from the table, hit submit. Then copy and paste the HTML code into your blog template, or maybe even use it as a forum signature image.

Please note that I am still developing it, so some things may change, if you find any bugs or have any suggestions please email me  or leave a comment.

Techizr is moving servers

Within a few days, the site should be on the new server, hopefully it should all go smoothly.

If you see this, then we’ve landed! (new server).

My new provider gives me more disk space, more bandwidth, but a few less features. Hopefully it will still be as fast as the previous host, but since the new host was actually cheaper I wouldn’t bank on it (you wouldn’t believe how cheap it was [99p/1-year])

Please let me know if you experience any problems, slow speeds, or downtime.

Add a watermark to hotlinked images with php and mod_rewrite

If someone is hotlinking your images, and you can cope with the added bandwidth usage, then why not just let them hotlink but use it as a way to get free advertising?

There’s a shell script and .htaccess file and instructions on how to do it here.  I gave it a go but couldn’t get it to work so further searching found a php version that does basically the same job.

Beware when copying the code, because it copies some weird linebreaks and will probably give an error RewriteCond: bad flag delimiters, if it does, just delete all newlines and enter them again manually.

You’ll need the font file verdana.ttf (note the capitalised file extension in the script) which you can copy from your windows font directory. I also had to add the line RewriteEngine on to the start of the .htaccess file too.

Here’s my modified .htaccess which allows feedburner to access images without watermarks.

Hello world!

Welcome to Techizr!

A blog about the internet, technology, Linux, games etc.