2009.05.25

Nerdstar

By underblob @ 1:27pm — Categories: Humor, Tech, Video
YouTube Preview Image

日本諺

By underblob @ 12:10pm — Categories: Inspirational Quotes

Vision without action is a daydream.
Action without vision is a nightmare.

— Japanese proverb

2009.05.19

Soundscapes in Williamsburg Last Summer

By underblob @ 10:15am — Categories: Music, Video
Tags: , , , , ,

Summer 2008, we caught the Soundscapes playing on the sidewalk outside of Spike Hill across the street from the L train Bedford station. Unfortunately I only got to see the last song in their set. Got some video and they obviously rocked the shit. Check it out…

YouTube Preview Image

2009.05.18

Twitter Post Updates to your Facebook-ness

By underblob @ 11:51pm — Categories: HTTP, Mobile, Remote Post, Tech
Tags: ,

So after you login to your Facebook profile, if you click on the “Applications” tab in the bottom left corner of the screen on the bottom control bar, you see this page full of applications. Although none of them are flesh-eating reptiles, you can find a way to add your Titter updates to your Facebook shizzle. If you are still reading this, you may understand…

  • Facebook -> Applications -> Browse Applications
  • At the “Search Applications” field at the top right, enter “Twitter”
  • Add the top result application entitled “Twitter”
  • Add it, give your Twitter login, allow to access your profile, add the box, etc. money, to the from world is full of champagne and bacon.
  • Congrats, you survived.


2009.05.13

Retreiving a WordPress Page’s $post Using the ID

By underblob @ 4:32pm — Categories: LAMP, Tech, WordPress
$sql = "

SELECT $wpdb->posts.*

FROM $wpdb->posts
WHERE $wpdb->posts.ID = ‘$page_id’
";

$posts = $wpdb->get_results ( $sql, OBJECT );
if ( $posts ) {

foreach ( $posts as $post ) {

setup_postdata ( $post );
if ( $post->ID == $page_id ) break;

}

}

Links

bnee.com/list-pages-in-wordpress-into-a-php-array/

2009.05.06

WordPress “Gallery” Theme

By underblob @ 3:38pm — Categories: Design, Tech, WordPress

Smashing Magazine announced today the release of an image-driven WordPress theme:
smashingmagazine.com/download-gallery-a-free-wordpress-theme


screenshot-wp_gallery_theme

2009.05.03

Display Comments in a WordPress Post

By underblob @ 9:05pm — Categories: Tech, WordPress

Trying to figure out how to put comments in a post in “the Loop”, found this article on flisterz.com. Unfortunately there isn’t a built in template tag in the WordPress API that will easily work so it takes some PHP trickery. Check it out:

http://www.flisterz.com/2008/08/09/wordpress-show-latest-comments-for-each-post-on-main-page/


2009.05.01

Code Monkey — the Song

By underblob @ 9:11am — Categories: Humor, Music

This is pretty old (2006) but I just found it this morning. It’s actually pretty cute, the first verse is the funniest… it reminds me of my days in the cubicle farms. The 2nd and 3rd verses are about his crush on the receptionist…

www.jonathancoulton.com/music/thingaweek/CodeMonkey.mp3