Archive for Development

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 (4)

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 (5)

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)

Ident Spoofing

Today I wrote about Oidentd on Wikipedia. Ident as per RFC 1413 is used for a few different services, in particular IRC. A feature of oidentd that my users find useful is ident spoofing.

Read the rest of this entry »

Comments

W32Dasm

W32Dasm (or Win32DASM) doesn’t seem to exist on the map any more, but it’s still a very useful programmers tool, especially if you like reverse engineering.

W32Dasm is a Windows 32-bit (Win32) disassembler. What it does is display the programs routines in assembly code, which makes it easier for you to trace what the software is doing.

I like to use this software every once in a while, but recently I found there were no decent sources for this software.

Read the rest of this entry »

Comments (2)

cssbase

Yesterday marks the day that I took over the “cssbase” project.

CSSbase is a html and css base framework that has been developed to make web site development quicker and more efficient.

I hope to continue to maintain this project for all to use freely.

Read the rest of this entry »

Comments

jQuery sucks at browser detection

This week i’ve been tweaking a little site I’ve started called “ismybrowseruptodate.com“, which is designed to assist people who don’t know whether their browser is up-to-date or not.

At first I thought this would be simple, because I knew jQuery had browser detection and had a variable called jQuery.browser.version, which would be very useful for checking the browser version, or so I thought.

Read the rest of this entry »

Comments (2)

« Previous entries Next Page » Next Page »