Author: Chris Harrison

  • GitHub for Mac. Probably the best looking and least intimidating Git GUI I’ve ever used.

  • One month post-op

    Hello again. It’s been a while since I posted anything of consequence. If you’re subscribed to my RSS feed, you may have noticed a few new short posts were added. In my absence here, I published a few entries on a wordpress.com site. From now on, I plan to keep everything in one central location.…

  • A firm date for surgery.

    [vimeo http://www.vimeo.com/21027992 w=430&h=323] I recorded this video on March 9th, but neglected to post it here until now. I kind of wish I had taken the time to document more of what I was going through at the time, but hopefully the video’s enough for now.

  • I got a date.

    Well, a tentative surgery date, anyhow. I met with Lisa, my patient advocate, on Tuesday and assuming I can complete my doctor supervised diet on March 1st – and there are no hangups with insurance – I’ll have WLS on March 23. I’m excited and nervous. Now I just need to make up my mind…

  • Video Diary 10/11/2010

    [vimeo=http://vimeo.com/15802526] A few thoughts while I was on my way to meet with a dietician for the first time. Pardon my rambling.

  • Walk from Obesity

    In cities across the United States, individuals affected by obesity, their family members and friends, healthcare professionals and many others come together and proudly walk to raise awareness of the disease of obesity, childhood obesity and morbid obesity in the annual Walk from Obesity. On October 9th, I’ll be participating in the Augusta Walk from Obesity.…

  • BookArc for iPad

    The BookArc for iPad is a thing of beauty. It’s gorgeous to look at and a perfect companion for the iPad. If you’re considering getting the Apple iPad dock, skip it. Get this instead. It works in portrait or landscape. It’s sturdy. It doubles as a halfpipe for pixies when turned upside down. You need…

  • Add a Tweet Button to WordPress Posts

    Want to add a Twitter Tweet button to your WordPress posts? It’s super easy: Horizontal Button: Tweet [php] <a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo get_permalink(); ?>" data-count="horizontal" data-text="Check out <?php the_title(); ?> on < ?php bloginfo( ‘name’ ); ?>" data-via="cdharrison">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> [/php] Vertical Button: Tweet [php] <a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo get_permalink(); ?>" data-count="vertical" data-text="Check…

  • How to display total number of Custom Posts on a WordPress site

    Based on this quick tip from WPRecipes, I was able to quickly figure out how to count and display the number of Custom Posts (of a particular type) that I had on a site. [sourcecode language=”php”] <?php $numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE (post_status = ‘publish’ AND post_type = ‘listing’)"); if (0 < $numposts)…