@joshua_a_rogers Sony installed a root kit. Up to old shenanigans.

The Best Things in Life are Stolen

Posted on July 5, 2009
Filed Under Tech | Leave a Comment

image

Tags: , ,

My CCS Project Interface Working!!!

Posted on June 25, 2009
Filed Under Tech | Leave a Comment


I’m really proud of this!

Tags: ,

A Genesis Found

Posted on June 22, 2009
Filed Under Entertainment | 1 Comment

This film was shot at Moundville near the University of Alabama. It’s about aliens and archaeology. I stumbled across this and wanted to see it before I realized where it was shot. Watch this trailer, it’s too amazing.

Tags: , ,

Gravatars

Posted on June 11, 2009
Filed Under Blogging | Leave a Comment

Wow, I never knew about Gravatars until just now.  Everyone needs to go to Gravatar.com and register an avatar that can be used across the web on many websites (including this one).  The avatar is associated with your email address and if a website uses Gravatar it just checks to see if you have one setup on Gravatar.com.  If you look at comments on this site you will now see avatars.  This is a really amazing idea!

Now if you have a wordpress blog and you want to incorporate Gravatars into your template, I suggest you use this line of code in your comment template.

<?php
  echo get_avatar( $id_or_email, $size = '96', $default = '<path_to_url>' );
?>

Replace $id_or_email with $comment (this is what I used) or with get_the_author_id() (it varies from theme to theme), replace XX with the size you want the images (I use 50 pixels), and replace ‘ <path_to_url>’ with the absolute location of a custom default avatar (in the case that the commenter didn’t have a gravatar set).  If you want to use the default avatar set in the WordPress settings (Settings->Discussion) you need to remove the default argument completely.

Hope this was educational, and remember to sign up for a Gravatar!

Tags: ,

Nuking A Blog

Posted on June 9, 2009
Filed Under Blogging | 2 Comments

In an attempt to make this blog more professional, I deleted all of my old content. I want this blog to be about programming, technology, and the works. No personal stuff on here at all. I can do that in Facebook Notes or on my Myspace Blog if I want.

So with a little SQL and dissecting of this diagram, I figured out how to keep the content I wanted and delete the rest (without going through the web admin). All you really need to do is delete all posts except for those that are pages, then delete all comments (i kept 1), then delete all taxonomy terms by deleting everything (except for maybe the blogroll term) from wp_terms, wp_term_taxonomy, and wp_term_relationships.

It takes a little work, but it’s worth it.

Tags:
« go back

  • RSS Wishlist

    • An error has occurred; the feed is probably down. Try again later.

    RSS My Diggs

    RSS Google Reader Shares