Weather or not

May 15th, 2011 No comments

Ok, seriously. Can’t we master simple PHP classes like a sensible weather data retrieval library?

I’ve tried a few solutions but all of them suck due to poor documentation (PHP Weather I’m looking at you), jingoistic support for only USA airports (PHPWeatherLib) or being otherwise perfect but too simplistic (Google Weather API).

Herein lies a GitHub submission for a simple weather forecast wrapper around Weather Underground‘s beautifully simple API.
Its designed to be as simplistic as possible while still providing some handy functionality.
I’ll probably keep adding to its functionality as needed.

Documentation is provided inline (PHPDoc) as well as in the docs folder with fancy frames and such.

Categories: Uncategorized Tags:

Simple bash variable security with OpenSSL

November 17th, 2010 No comments

Fatal error: Uncaught Error: Call to undefined function eregi() in /var/www/ Stack trace: #0 /var/www/ wp_codebox_is_windowsie() #1 /var/www/ wp_codebox_highlight_geshi(Array) #2 [internal function]: wp_codebox_highlight(Array) #3 /var/www/ preg_replace_callback('/<p>\\s*a33201e9...', 'wp_codebox_high...', '<p>Lets say you...') #4 /var/www/ wp_codebox_after_filter('<p>Lets say you...') #5 /var/www/ WP_Hook->apply_filters('<p>Lets say you...', Array) #6 /var/www/ apply_filters('the_content', 'Lets say you ha...') #7 /var/www/ the_content('Read more...') #8 /var/www/ incl in /var/www/ on line 136