<?xml version="1.0" encoding="UTF-8"?>
<article>
  <blurb>Go forth &amp; geek it up.</blurb>
  <blurb-html>&lt;p&gt;Go forth &amp;#38; geek it up.&lt;/p&gt;</blurb-html>
  <body>"GeekTool":http://projects.tynsoe.org/geektool/ is awesome. "Is the Tree Green?":http://isthetreegreen.com is awesome. So together they are SUPER AWESOME!

!http://farm4.static.flickr.com/3588/3382045487_01114ff567.jpg(isthetreegreen.py + GeekTool by zpao, on Flickr)!:http://www.flickr.com/photos/zpao/3382045487/

h2. Python?

Historically, I'm a Ruby guy, but I started learning Python for a Django project I'm (barely) working on. So I picked up a book here at work &amp; decided to flex my pythons a little bit. You can laugh, it's punny.

The first pass of this took me ~20 minutes, and I just tidied it up this morning so it would take command line options.

h2. How?

If you're reading this and actually need to know whether or not the tree is green, then you should be able to figure it out. GeekTool is OS X only, but there are similar programs for Windows and Linux.

It's easy enough to do what I did in the image above. The program can take 2 arguments &lt;code&gt;treename&lt;/code&gt; and &lt;code&gt;output&lt;/code&gt;. Run it with &lt;code&gt;-h&lt;/code&gt; for usage.

h2. Code?

&lt;script src="http://gist.github.com/84210.js"&gt;&lt;/script&gt;

A big thanks to Justin Dolske for "Is the Tree Green?":http://isthetreegreen.com. He deserves more credit for this than I.</body>
  <body-html>&lt;p&gt;&lt;a href="http://projects.tynsoe.org/geektool/"&gt;GeekTool&lt;/a&gt; is awesome. &lt;a href="http://isthetreegreen.com"&gt;Is the Tree Green?&lt;/a&gt; is awesome. So together they are &lt;span class="caps"&gt;SUPER AWESOME&lt;/span&gt;!&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.flickr.com/photos/zpao/3382045487/"&gt;&lt;img src="http://farm4.static.flickr.com/3588/3382045487_01114ff567.jpg" title="isthetreegreen.py + GeekTool by zpao, on Flickr" alt="isthetreegreen.py + GeekTool by zpao, on Flickr" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h2&gt;Python?&lt;/h2&gt;


	&lt;p&gt;Historically, I&amp;#8217;m a Ruby guy, but I started learning Python for a Django project I&amp;#8217;m (barely) working on. So I picked up a book here at work &amp;#38; decided to flex my pythons a little bit. You can laugh, it&amp;#8217;s punny.&lt;/p&gt;


	&lt;p&gt;The first pass of this took me ~20 minutes, and I just tidied it up this morning so it would take command line options.&lt;/p&gt;


	&lt;h2&gt;How?&lt;/h2&gt;


	&lt;p&gt;If you&amp;#8217;re reading this and actually need to know whether or not the tree is green, then you should be able to figure it out. GeekTool is &lt;span class="caps"&gt;OS X&lt;/span&gt; only, but there are similar programs for Windows and Linux.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s easy enough to do what I did in the image above. The program can take 2 arguments &lt;code&gt;treename&lt;/code&gt; and &lt;code&gt;output&lt;/code&gt;. Run it with &lt;code&gt;-h&lt;/code&gt; for usage.&lt;/p&gt;


	&lt;h2&gt;Code?&lt;/h2&gt;


&lt;script src="http://gist.github.com/84210.js"&gt;&lt;/script&gt;

	&lt;p&gt;A big thanks to Justin Dolske for &lt;a href="http://isthetreegreen.com"&gt;Is the Tree Green?&lt;/a&gt;. He deserves more credit for this than I.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-03-24T09:55:02-07:00</created-at>
  <id type="integer">17</id>
  <permalink>is_the_tree_green_for_your_desktop</permalink>
  <published type="boolean">true</published>
  <published-at type="datetime">2009-03-24T10:30:00-07:00</published-at>
  <title>Is The Tree Green? For Your Desktop</title>
  <updated-at type="datetime">2009-03-24T16:08:39-07:00</updated-at>
</article>
