brandontreb.com Tips And Resources For Software Consultants

Simple Office Fitness: Replace Your Office Chair With An Exercise Ball

When I was in Portland this past month, I saw that many people in my work’s office were sitting on large exercise balls instead of office chairs. Curious, I researched the benefits and decided to purchase one for my home office. The benefits include:

  • Improved posture – sitting on the ball forces you to sit up straight of you won’t be very comfortable
  • Constant movement – Sitting for long periods of time can be bad for you, even when you exercise. Check out this recent study that was discussed on the New York Times. When you use an exercise ball for a chair, you are constantly repositioning yourself and are combatting this issue.
  • Getting Jacked! – having a ball for a chair has encouraged me to exercise during my down time. Code is compiling…bang out some crunches. I will now do ~ 300 crunches per day while waiting for various tasks to complete.
  • They are cheap – Most exercise balls range from $15-$25. Check out Amazon for some deals. I recently purchased one at Target on sale for $9.
  • It’s fun – Need a break? Just bounce a bit on the ball 😉

While I’m not saying to completely replace your office chair with an exercise ball (you will end up switching back an fourth a bit), it is a great way to stay in shape and enforce good posture while at work.

Test Version of TweetPress 3.0

So WordPress 3.0 has broken Tweetpress for many people. If you are daring, willing to help, and experiencing issues with Tweetpress, please download the 3.0 test build of Tweetpress and install it on your WordPress blog.

Here are your next steps after installation:

  1. Make sure you add your Twitter username and Password to the Tweetpress settings in your wp-admin and save it
  2. Attempt to post a photo to Twitter using Twitter for iPhone
  3. If it works, you win, let me know, if not do this:
    1. go back to the tweetpress admin in wp-admin
    2. click the log link at the very bottom
    3. copy the text and email it to brandontreb [at] gmail [dot] com with the subject “Tweetpress Log”

This will really help me troubleshoot the issues that everyone has been having.

Thanks!

Download Tweetpress Test Build 3.0

Feedburner Anywhere Plugin Released

Image representing FeedBurner as depicted in C…

Image via CrunchBase

I have just released another WordPress plugin called Feedburner Anywhere.

What it does is allow you to display your RSS subscriber count anywhere on your blog.

You have the choice of using the built-in widget, embedding it in your posts/pages, or a combination of both.

Check out my sidebar for an example of usage.

Download Feedburner Anywhere at WordPress.org

Reblog this post [with Zemanta]

HECK YES C Macro, For When Something Is REALLY True

Quite possibly the most useful macro you will ever use.

#define HECK_YES true && true
 
// Usage
if(self.sleepy)
{
   self.needsCoffee = HECK_YES;
}

Now if only I could replace semi colons with exclamation points…

Dynamically Load WordPress Post Images Like Mashable.com

What?

Have you ever noticed that the content on Mashable.com loads Incredibly fast? Also, have you noticed that as you scroll the images seem to ‘fade’ in? Well, this isn’t due to some crazy h4x0r code written specifically by Mashable Engineers. It’s a simple JQuery plugin that loads the images ‘Lazily’.

The Jquery plugin can be found here and a nice tutorial for implementing it can be found here.

If you don’t feel like hacking it yourself, read on and I will point you in the direction of a great WordPress plugin that handles this automagically.

Where?

Luckily the hard work has been done for you and you can download a WordPress plugin that will automatically add this functionality to your WordPress blog.

You can download the plugin from WordPress.org

This plugin will work for EVERY image on your blog. Even the Gravatar icons of the commenters.

Thats It?

Yep, try it out. Just scroll down on my homepage and watch as the images magically fade in.

Happy Wp-ing!