Post in the 'Random' Category

Drive 55

Don’t you think it is rediculous that several interstates still have a 55 MPH speed limit? No one really obeys that limit. It was put into effect 25 years ago and is outdated. Even most cops won’t pull you over in those zones - particularly in large cities. So, in an act of ‘civil obedience’ students from Georgia State University and other local colleges paced the entire midmorning flow of Atlanta Perimeter (I-285) traffic behind them at 55 mph for half an hour. Check out the video.

Video Courtesy of Google Video

When is it Tomorrow?

The answer to this question may seem simple, yet it has been a topic of discussion at several points in my life. Most of you would say tomorrow begins after midnight. That would be a good answer. But what if you were awake at midnight? Does that mean it is tomorrow for you? It sure doesn’t feel like tomorrow after one tick of the clock. So over the years I’ve come up with two conditions that can make it tomorrow:

1. You have gone to bed for over an hour and wake up after midnight.
2. The sun is up.

If you meet at least one condition, it is tomorrow for you. I mean if you stay up until the sun is up, it is definitely tomorrow, no doubt about it. And if you’ve gone to sleep and wake up after midnight, hello new day! The logic is completely flawless.

Wordpress Netflix Plugin

I have created a plugin for Wordpress that lets you display information from your Netflix account. This includes movie titles and cover images from your queue, recommendations and recent activity.

Current Version: 3.1
Download: netflix-3.1.zip (zip file/ 5 kb)

 

Changelog
3.1:
Fixed image referencing issue.

3.0:
Implemented movie class.
Added netflix_movies function to retrieve movie objects based on feed.

2.2:
Fixed problem with image references.

2.1:
Added ‘Movies At Home’ feed option.
Set default feed to ‘Movies At Home’.
Fixed problem with raw titles and images.

2.0.2:
Fixed problem with differing movieid length.

2.0.1:
Fixed problem for Wordpress 1.5.x users when not including netflix_id in netflix() call.

2.0:
Integrated configuration into WordPress plugin section.
Added before/after option to add html before and after display.

1.0:
First version.

 

Instructions

  1. Download plugin and unzip.
  2. Upload the folder (netflix/) to your WordPress plugins directory inside of wp-content.
  3. Activate it from the plugins menu inside of WordPress.
  4. Configure your settings via the panel in plugins.

Netflix Plugin Configuration

Your netflix id comes from your Netflix RSS feed. Login to your Netflix account and go to your queue. At the bottom of the page click the RSS link. Copy the id variable in one of the RSS links and paste it in the configuration panel.

 

Functions

netflix($number_movies, $feed, $display_type, $image_size, $before, $after, $netflix_id);
Example usage:

netflix();

or

echo '<ul>';
netflix(3, 'home', 'image', 'small', '<li>', '</li>', 'P11111111111111111111111111111111');
echo '</ul>';

netflix_movies($number_movies, $feed, $netflix_id)
Example usage:

$movies = netflix_movies(5, "queue");
echo '<table><tr>';
foreach ($movies as $movie) {
  echo '<td>';
  echo $movie->get_cover_image();
  echo '</td>';
}
echo '</tr></table>';

Movie Object Functions

get_id() // get movie’s id
get_title() // get movie’s title
get_link() // get link to movie on Netflix website
get_description() // get movie’s description (includes image)
get_cover_image($size) // creates html img tag of movie’s cover image
get_cover_image_source($size) // creates source address of movie’s cover image

Live Examples: http://www.albertbanks.com/movies/

 

Parameters

$number_movies - number of feed elements displayed (default is 10)

$feed - personalized feed to use
home - displays movies you have at home (default)
queue - displays your movie queue in order
recommendations - displays your recommended movies
recent - display recent activity

$display_type - what to display.
title - stips text to just movie title (default)
raw - displays raw text from feed
image - display recent activity

$image_size - if $type is set to ‘image’ this defines the image size
small - small image (64px X 90px) (default)
large - large image (110px X 154px)

$before - html appearing before each entity

$after - html appearing after each entity

$netflix_id - specify your netflix id

Ben Troupe is Mother Ginger

Ben Troupe is the backup TE for the Titans. When his teamate and starting TE, Erron Kinney, went down with an injury Troupe backed him up on the field… and off. Aparently Kinney had taken a role in the Nashville Ballet’s version of “The Nutcracker.” Now injured (knee), he asked Toupe to fill in. So, Ben joined the cast in the role of Mother Ginger, a large hoop-skirted woman.

Ben Troupe as Mother Ginger

Nice to see this bond, especially between Gators. Makes me wish I had a backup. Maybe next time I tweak my knee, Alex Brown will take out the trash for me.

About

The primary purpose of this site is to be my outlet for thoughts, opinions and information. My desire is that you find the content useful, informative and perhaps even humorous. Feedback is always welcome: albert at albertbanks dot com

Guess Who’s Back

The internet was so boring, without me…

Two months ago I began converting this site to a new blog backend called Wordpress. About the same time Myjive got slammed with work. I had already decided not to post again until the conversion was done. While it is still somewhat a work-in-progress, I decided to launch.

I will try to keep this up to date from now on.

« Previous PageNext Page »