April 15, 2010 at 12:26 pm
· Filed under Development
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 »
Permalink
February 25, 2010 at 2:41 pm
· Filed under Development
Update: This script is now part of the eggtcl project.
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 »
Permalink
December 10, 2009 at 2:39 pm
· Filed under Development
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 »
Permalink
November 25, 2009 at 1:42 pm
· Filed under Development
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.
Enjoy!
Permalink
November 20, 2009 at 10:04 am
· Filed under Development
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 »
Permalink