Colin McCann Dot Com

Archive for May, 2009

Javascript/PHP Linkerizer (link creator)

by admin on May.19, 2009, under Utility

Why would you need a linkerizer? Well, some stuff is hard to directly download. This makes it easy. You can also send requests to this page via either POST or GET. Go ahead and give it a try.

Also, if you’re using Firefox, you can make using this little script even easier. Right-click in the text-entry field and select the option “Add a Keyword for this Search” — The Name can be whatever you like, and I’ve found “link” to be a good value for the Keyword. Hit “Add” and you can use it right from your address bar. Prepending any location on the web with the word “link” will route that location to this script.

For example: “link http://www.google.com/intl/en_ALL/images/logo.gif” will take you to:

http://colinmccann.com/utility/linkerizer?url=http://www.google.com/intl/en_ALL/images/logo.gif

Enjoy. If you’ve got any suggestions as to how this could be improved, feel free to say so in the comments.

Leave a Comment more...

Automated Email-to-SMS gateway PHP script

by admin on May.07, 2009, under Code

I’ll cut right to the awesome. This script runs every minute, checks an IMAP mailbox (that happens to be my work email), and detects if any new messages have been received. If so, all HTML and special characters are stripped (leaving plain ASCII text) from the message body, and truncated to 150 characters. Next, the script sends me a text message through Verizon’s email gateway “from” the original sender’s email address. (continue reading…)

9 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...