Archive for the ‘Web Development’ Category
Monday, November 1st, 2010
Ever wondered if your email was actually working? I've had numerous people over the past few years wonder the same thing. Ideally you would use a consistent, dependable email service provider (think Gmail, Hotmail, Yahoo!, etc.). But sometimes that isn't an option. If you think you might be receiving email ...
Posted in DIY, PHP, Programming, Web Development | No Comments »
Thursday, August 26th, 2010
This function uses version 3.0 of the bit.ly API. You'll need to register for an account with them if you don't already have one. Then you can retrieve your API key and begin using it immediately.
{code type=php}
function bitlyShorten($url)
{
$client = new Zend_Http_Client('http://api.bit.ly/v3/shorten');
$client->setParameterGet(array(
'longUrl' => $url,
'login' => 'xyz',
'apiKey' => 'xyz'
));
$response = $client->request();
if($response->isSuccessful())
{
$response = ...
Posted in APIs, PHP, Programming, Web Development, Zend Framework | No Comments »
Tuesday, July 6th, 2010
Everyone wants pretty URLs these days—both for convenience and to optimize for search engines. So having URLs with unnecessary information is a major no-no. Over the past year I've been slowly absorbing the Zend Framework and its MVC pattern. Historically, projects I created required the user to specify the index ...
Posted in PHP, Programming, Web Development, Zend Framework | No Comments »
Monday, August 17th, 2009
Today I taught myself how to use Zend_Cache and implemented it within 20 minutes. It's super easy and very effective. Take a look at the code sample below and you'll be up and running in no time.
Step 1: Setup the Cache
{code type=php}
$frontendOptions = array(
'lifetime' => 180, // Cache for 3 minutes
'automatic_serialization' ...
Posted in Amazing, PHP, Programming, Software, Web Development, Zend Framework | No Comments »
Tuesday, June 16th, 2009
Everyone knows (or should by now) that cheap web hosts (Bluehost, Dreamhost, MediaTemple, etc.) don't backup your data for you. So you'd better do it yourself. If you're on any respectable host, you should have ssh access to the box.
Connect to your box via ssh and run the following commands ...
Posted in Backup, DIY, Hosting, IT, Linux, Programming, Software, Technology, Web Development | 2 Comments »
Saturday, June 13th, 2009
Regrettably, Dell has canceled your recent order for a Dell Nuvi 275T GPS or Nuvi 265WT GPS
Dear Customer,
This is to notify you that, regrettably, Dell has canceled your recent order for a Dell Nuvi 275T GPS or Nuvi 265WT GPS. Due to our error, the system was shown ...
Posted in Annoying, Bugs, Customer Service, Deals, Depressing, GPS, Hardware, Money, Ridiculous, Technology, Toys, Web Development | 1 Comment »
Monday, May 25th, 2009
Midway through Heroes: Season 3 I realized how quickly video streaming technology has evolved in the last few years. Think about the multitude of ways you can now get your fix.
Regular old TV
Digital Video Recorder (DVR): TiVo, MythTV, cable box DVR
Hulu
YouTube (and other video-sharing sites)
NetFlix's Watch Instantly
Networks' websites (ABC, CBS, ...
Posted in Amazing, DVR, Entertainment, Google, Hardware, Hosting, Software, Technology, TV, Web Development | 1 Comment »
Sunday, April 19th, 2009
My back yard is full of bare spots so I thought it was time to re-seed. Since Walmart is usually cheaper than the competition, I check there first when I need something. I searched for "grass seed" on Walmart.com and got results that couldn't have been more off.
No related posts.
Posted in Annoying, Bugs, Depressing, Programming, Ridiculous, Software, Technology, Web Development | No Comments »
Wednesday, April 15th, 2009
For some reason, Microsoft decided it would be fun to make it nearly impossible to view the HTML source of an email in Outlook.
Below are the convoluted steps to make it accessible. Most of the steps are for the initial setup which makes a new icon available ...
Posted in Annoying, Depressing, IT, Microsoft Outlook, Ridiculous, Software, Web Development | 2 Comments »
Monday, March 16th, 2009
Do you have an economy-grade website host? Me too. BlueHost is great for only $6.95 per month but its response times and transfer rates are terrible. Fear not — Amazon S3 to the rescue. For pennies a day you can supplement your cheap website host using ...
Posted in Amazing, Annoying, Blog, Deals, DIY, Entertainment, Hardware, Hosting, IT, JavaScript, Programming, Ridiculous, Software, Technology, Web Development | 3 Comments »