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.

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)

weather.tcl

Today, after I decided to hang out in #eggtcl on EFnet, someone asked the following:

<daILLeST> anyine know of a weather tcl that actually works? All the ones I find are outdated, or in another language…

I decided it was time that I updated my old weather.tcl based on a script by Ycarus for eggdrop bots.

Read the rest of this entry »

Comments (3)

The specified network name is no longer available samba

I keep getting this error:

Error Copying File or Folder

Cannot copy xxx: The specified network name is no longer available.

Why?

Read the rest of this entry »

Comments

Scan to Excel

This week I’ve mostly been trying to figure out a way to digitalise some of my bank statements to make accountancy and archiving easier.

I figured there must be a way to scan them in using a document scanner, then use OCR software to render the data into Excel.

Of course, nothing does this natively, but there are ways to do it.

Read the rest of this entry »

Comments (1)

mydigitallife.info stole my code

I wrote a little script for an article on fixr.co.uk entitled “Remove OGA Notifier“.

Today I discovered that mydigitallife.info had clearly taken details from my batch file code and used it without giving me or fixr.co.uk any credit at all.

Read the rest of this entry »

Comments (2)

« Previous entries Next Page » Next Page »