TinySong TCL script for Eggdrop

If you’ve not heard of TinySong, you’re missing out!

TinySong allows you to share music using a short URL using Grooveshark.

I have created a very simple script that connects to the TinySong API.

Read the rest of this entry »

Comments

WhoisX relaunch

We’re ready now…

So, we’ve been running WhoisX since 2004, it was slightly updated in 2007, since then not a lot has happened…

Until now…
Read the rest of this entry »

Comments

upgrade.co.uk sucks

I’ve been trying to get a quote for a part for a Dell laptop, when I contacted Dell UK, they told me to contact “Upgrade Options”. They offered no other alternative.

I’ve tried emailing them…

Read the rest of this entry »

Comments (2)

Getting started with Quercus in Google App Engine

Last year an article was written on a blog about how to run PHP on Google App Engine (GAE).

The guide came with a pre-made package to get you started.

However, Quercus has been updated since this was produced.

Read the rest of this entry »

Comments (2)

Universal Currency Converter TCL for Eggdrop

This is a currency converter written in TCL for Eggdrop, which is similar to the ucc.mrc I wrote for mIRC.

I used to use the xeucc.tcl, but that script no longer works and hasn’t been updated since 2008.

> !ucc 9 usd gbp
<Bot> Could not obtain results from XE.com, sorry!

Read the rest of this entry »

Comments

How to convert an image to greyscale using PHP

I was trying to find a neat way to grey out some “powered by” logos for a website I’m developing.

I remembered reading about this very thing in .net magazine/august 2009 (i191,p100), which said:

“Sponsor and associate logos can be a challenge for a designer who is making a valiant attempt to create a cohesive website layout. Logos can be contrasting colour schemes and can be displayed at a wide range of different aspect ratios. When faced with this challenge, I recommend greying out the logos and having them appear in their respective colours upon mouse-over. When placing logos next to each other, I’d consider using visual weight versus actual size to determine spacing.”

- Samantha Warren @ badassideas.com

So, sure we’ve established that it’s a good idea, the question is how to achieve it…

Read the rest of this entry »

Comments (1)

PHP OpenSRS Client

This is only a quick message to say that I am now developing the PHP OpenSRS Client project.

OpenSRS-PHP is a PHP-based client class that communicates with the TuCows OpenSRS Domain Name Registry System via an API.

I have just released version 2.8.1 with many long awaited fixes.

  • Website

Enjoy!

Comments

worldtime.tcl

Sometimes you need to know the time somewhere else in the world. I find it useful to get my eggdrop to return the time of another timezone…

> .tz london
<Bot> HM2K, The time for the london timezone is Fri Feb 13 23:31:30 2009

However, much like my old weather.tcl, I realised that my worldtime.tcl had passed it’s sell by date and had now expired.

My old worldtime.tcl which was based on a script by Murf which used worldtimeserver.com to gather it’s data had stopped working.

It would seem that worldtimeserver.com had changed their markup which meant that it was no longer possible to parse the correct data from the HTML.

Never mind, I thought, there must be a better way, that doesn’t need to use a third party website, that won’t stop working.

After all operating systems have worldtime build in without using a website, so how do they do it?

So, I did some investigation…

Read the rest of this entry »

Comments (3)

Gmail needs an API

Yesterday I spent some time investigating Google Wave. A very interesting new product from Google. Not only that but an interesting protocol.

If you think about it, Google has mostly only used other protocols for communication in the past, now it’s creating it’s own. They clearly want to create a completely new protocol that will effectively be the future of these old primitive protocols.

For this to catch on, it will either have to run directly along side smtp and xmmp or layer on top of them.

We’re going to need a way to pass requests over http to smtp or pop3/imap, and what better way to do it than with gmail?

Sure, but there’s no API…

Read the rest of this entry »

Comments (3)

PlusFM Track Feed

Recently an online radio station I listen to called PlusFM stopped displaying track titles on their stream. This was a pain for quickly displaying the current track you were listening to, however I did figure out a work around…

Read the rest of this entry »

Comments (2)

« Previous entries Next Page » Next Page »