<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Stompy.org</title>
	
	<link>http://www.stompy.org</link>
	<description>Excuse me, I believe you have my stapler</description>
	<pubDate>Tue, 21 Oct 2008 09:33:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<geo:lat>51.471</geo:lat><geo:long>-0.02</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Stompyorg" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><item>
		<title>Bic Ballpoint Review</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/405578393/</link>
		<comments>http://www.stompy.org/2008/09/28/bic-ballpoint-review/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 18:12:30 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Pens]]></category>

		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[ballpoint]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=124</guid>
		<description><![CDATA[I found this review of a Bic ballpoint on amazon.co.uk. Dry humour isn&#8217;t dead.
]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://www.amazon.co.uk/review/R3QR3AC2WXWHIT/ref=cm_cr_pr_cmt?%5Fencoding=UTF8&amp;ASIN=B000JTOYLS&amp;nodeID=#wasThisHelpful" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.amazon.co.uk/review/R3QR3AC2WXWHIT/ref=cm_cr_pr_cmt?%5Fencoding=UTF8&amp;ASIN=B000JTOYLS&amp;nodeID=#wasThisHelpful');">this</a> review of a Bic ballpoint on amazon.co.uk. Dry humour isn&#8217;t dead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/09/28/bic-ballpoint-review/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/09/28/bic-ballpoint-review/</feedburner:origLink></item>
		<item>
		<title>MacDev 2009 Announced</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/400764906/</link>
		<comments>http://www.stompy.org/2008/09/23/macdev-2009-announced/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 12:48:36 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[Mac Dev]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=122</guid>
		<description><![CDATA[The Mac Developer conference 2009 has been announced for the weekend of April 18-19, 2009.
This is great news for us who find  WWDC or C4 too much of a commitment.
]]></description>
			<content:encoded><![CDATA[<p>The Mac Developer conference 2009 has been <a href="http://www.mac-developer-network.com/conference/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.mac-developer-network.com/conference/');">announced</a> for the weekend of April 18-19, 2009.</p>
<p>This is great news for us who find  <a href="http://en.wikipedia.org/wiki/Worldwide_Developers_Conference" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Worldwide_Developers_Conference');">WWDC</a> or <a href="http://en.wikipedia.org/wiki/C4_(conference)" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/C4_(conference)');">C4</a> too much of a commitment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/09/23/macdev-2009-announced/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/09/23/macdev-2009-announced/</feedburner:origLink></item>
		<item>
		<title>Sunflowers - After Van Gogh</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/386801204/</link>
		<comments>http://www.stompy.org/2008/09/08/sunflowers-after-van-gogh/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 16:11:33 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[sketch]]></category>

		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://www.stompy.org/2008/09/08/sunflowers-after-van-gogh/</guid>
		<description><![CDATA[
Sunflowers - After Van Gogh

I did this over 20 years ago. Coloured pencil on textured paper.
Today - I&#8217;m staring at an Illustrator screen and I&#8217;m thinking &#8220;Where do I start?&#8221;
]]></description>
			<content:encoded><![CDATA[<p><a title="photo sharing" href="http://www.flickr.com/photos/stompy/16398759/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.flickr.com/photos/stompy/16398759/');"><img style="border: solid 2px #000000;" src="http://farm1.static.flickr.com/9/16398759_a3a5bcbd35_m.jpg" alt="" /></a></p>
<p><span style="font-size: 0.9em; margin-top: 0px;"><a href="http://www.flickr.com/photos/stompy/16398759/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.flickr.com/photos/stompy/16398759/');">Sunflowers - After Van Gogh</a><br />
</span></p>
<p>I did this over 20 years ago. Coloured pencil on textured paper.</p>
<p>Today - I&#8217;m staring at an Illustrator screen and I&#8217;m thinking &#8220;Where do I start?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/09/08/sunflowers-after-van-gogh/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/09/08/sunflowers-after-van-gogh/</feedburner:origLink></item>
		<item>
		<title>Notebook Reviews</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/385520806/</link>
		<comments>http://www.stompy.org/2008/09/07/notebook-reviews/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 04:26:30 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Pens]]></category>

		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[moleskine]]></category>

		<category><![CDATA[notebook]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=115</guid>
		<description><![CDATA[As this Flickr set shows, I&#8217;m a keen user of notebooks. Although Moleskines are still my favourites there&#8217;s no harm in looking around. Deeplinking has a nice review of alternatives for your pockets.
]]></description>
			<content:encoded><![CDATA[<p>As this <a href="http://www.flickr.com/photos/stompy/sets/117309/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.flickr.com/photos/stompy/sets/117309/');">Flickr</a> set shows, I&#8217;m a keen user of notebooks. Although Moleskines are still my favourites there&#8217;s no harm in looking around. <a href="http://deeplinking.net/notebook-reviews/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://deeplinking.net/notebook-reviews/');">Deeplinking</a> has a nice review of alternatives for your pockets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/09/07/notebook-reviews/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/09/07/notebook-reviews/</feedburner:origLink></item>
		<item>
		<title>Schmap for iPhone used my Brussels picture</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/370957031/</link>
		<comments>http://www.stompy.org/2008/08/21/schmap-for-iphone-used-my-brussels-picture/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 14:05:28 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[Brussels]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[photo]]></category>

		<category><![CDATA[schmap]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=105</guid>
		<description><![CDATA[Schmap for the iPhone used one of my Brussels pictures on their site.

They got this of my Flickr page; where all my photos are available under a Creative Commons licence.
I mention it, because the picture was taken at night with a crummy phone camera - but I still managed to get a striking image.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.schmap.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.schmap.com/');">Schmap</a> for the iPhone used one of my Brussels pictures on their site.</p>
<p><img src="http://www.stompy.org/wp-content/uploads/2008/08/schmap-for-the-iphone.png" border="0" alt="Schmap for the iPhone.png" width="385" height="348" /></p>
<p>They got this of my <a href="http://www.flickr.com/photos/stompy/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.flickr.com/photos/stompy/');">Flickr</a> page; where all my photos are available under a Creative Commons licence.</p>
<p>I mention it, because the picture was taken at night with a crummy phone camera - but I still managed to get a striking image.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/21/schmap-for-iphone-used-my-brussels-picture/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/21/schmap-for-iphone-used-my-brussels-picture/</feedburner:origLink></item>
		<item>
		<title>iPhone Copy and Paste</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/370783719/</link>
		<comments>http://www.stompy.org/2008/08/21/iphone-copy-and-paste/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 09:38:07 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[miniblog]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[Mac Dev]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=102</guid>
		<description><![CDATA[Didn&#8217;t think it was possible? You were wrong.
 
Update: Aug 23, 2008. Looks like it doesn&#8217;t work anymore. Sorry Zac.
]]></description>
			<content:encoded><![CDATA[<p>Didn&#8217;t think it was possible? You were <a title="openclip.org" href="http://openclip.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://openclip.org/');" target="_blank">wrong</a>.</p>
<p> </p>
<p><strong>Update</strong>: Aug 23, 2008. Looks like it doesn&#8217;t work anymore. Sorry Zac.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/21/iphone-copy-and-paste/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/21/iphone-copy-and-paste/</feedburner:origLink></item>
		<item>
		<title>The Food Tasting Meme</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/369166778/</link>
		<comments>http://www.stompy.org/2008/08/19/the-food-tasting-meme/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 16:28:02 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[food]]></category>

		<category><![CDATA[meme]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=96</guid>
		<description><![CDATA[Meme found from Cygnoir.net

Copy this list into your blog or journal, including these instructions.
Bold all the items you.ve eaten.
Cross out any items that you would never consider eating (or eating again)
Optional extra: Post a comment http://www.verygoodtaste.co.uk linking to your results.

To make the filling out of this form and generating the HTML for it a bit [...]]]></description>
			<content:encoded><![CDATA[<p>Meme found from <a href="http://cygnoir.net/2008/08/17/omnivorous/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://cygnoir.net/2008/08/17/omnivorous/');">Cygnoir.net</a></p>
<ol>
<li>Copy this list into your blog or journal, including these instructions.</li>
<li>Bold all the items you.ve eaten.</li>
<li>Cross out any items that you would never consider eating (or eating again)</li>
<li>Optional extra: Post a comment <a href="http://www.verygoodtaste.co.uk/uncategorised/the-omnivores-hundred/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.verygoodtaste.co.uk/uncategorised/the-omnivores-hundred/');">http://www.verygoodtaste.co.uk</a> linking to your results.</li>
</ol>
<p>To make the filling out of this form and generating the HTML for it a bit easier, <span style="white-space: nowrap;"><a href="http://reddywhp.livejournal.com/profile" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://reddywhp.livejournal.com/profile');"><img style="vertical-align: bottom; border: 0;" src="http://stat.livejournal.com/img/userinfo.gif" alt="[info]" width="17" height="17" /></a><a href="http://reddywhp.livejournal.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://reddywhp.livejournal.com/');"><strong>reddywhp</strong></a></span> has played around with some PHP.  Go to <a href="http://reddywhip.org/lj/foods/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://reddywhip.org/lj/foods/');">http://reddywhip.org/lj/foods/</a> and fill it out there.  After filling it out, you will be given the code to copy and paste into your blog.</p>
<p>Livejournal users, remember to use your LJ-Cuts!</p>
<ol>
<li><strong>Venison</strong></li>
<li>Nettle tea</li>
<li><strong>Huevos rancheros</strong></li>
<li><strong>Steak tartare</strong></li>
<li>Crocodile</li>
<li><strong>Black pudding</strong></li>
<li><strong>Cheese fondue</strong></li>
<li><strong>Carp</strong></li>
<li><strong>Borscht</strong></li>
<li><strong>Baba ghanoush</strong></li>
<li><strong>Calamari</strong></li>
<li>Pho</li>
<li><strong>PB&amp;J sandwich</strong></li>
<li><strong>Aloo gobi</strong></li>
<li><strong>Hot dog from a street cart</strong></li>
<li>Epoisses</li>
<li><strong>Black truffle</strong></li>
<li><strong>Fruit wine made from something other than grapes</strong></li>
<li><strong>Steamed pork buns</strong></li>
<li><strong>Pistachio ice cream</strong></li>
<li>Heirloom tomatoes</li>
<li><strong>Fresh wild berries</strong></li>
<li><strong>Foie gras</strong></li>
<li><strong>Rice and beans</strong></li>
<li>Brawn, or head cheese</li>
<li><strong>Raw Scotch Bonnet pepper</strong></li>
<li><strong>Dulce de leche</strong></li>
<li><strong>Oysters</strong></li>
<li><strong>Baklava</strong></li>
<li>Bagna cauda</li>
<li>Wasabi peas</li>
<li>Clam chowder in a sourdough bowl</li>
<li><strong>Salted lassi</strong></li>
<li><strong>Sauerkraut</strong></li>
<li><strong>Root beer float</strong></li>
<li><strong>Cognac with a fat cigar</strong></li>
<li><strong>Clotted cream tea</strong></li>
<li><strong>Vodka jelly</strong></li>
<li>Gumbo</li>
<li><strong>Oxtail</strong></li>
<li><strong>Curried goat</strong></li>
<li><span style="text-decoration: line-through;">Whole insects</span></li>
<li><strong>Phaal</strong></li>
<li><strong>Goat&#8217;s milk</strong></li>
<li>Malt whisky from a bottle worth $120 or more</li>
<li>Fugu</li>
<li><strong>Chicken tikka masala</strong></li>
<li><strong>Eel</strong></li>
<li><strong>Krispy Kreme original glazed doughnut</strong></li>
<li>Sea urchin</li>
<li><strong>Prickly pear</strong></li>
<li>Umeboshi</li>
<li><strong>Abalone</strong></li>
<li><strong>Paneer</strong></li>
<li><strong>McDonald&#8217;s Big Mac Meal</strong></li>
<li>Spaetzle</li>
<li><strong>Dirty gin martini</strong></li>
<li><strong>Beer above 8% ABV</strong></li>
<li>Poutine</li>
<li><strong>Carob chips</strong></li>
<li>S&#8217;mores</li>
<li>Sweetbreads</li>
<li>Kaolin</li>
<li>Currywurst</li>
<li><span style="text-decoration: line-through;">Durian</span></li>
<li>Frog&#8217;s Legs</li>
<li><strong>Beignets, churros, elephant ears or funnel cake</strong></li>
<li><strong>Haggis</strong></li>
<li><strong>Fried plantain</strong></li>
<li>Chitterlings or andouillette</li>
<li><strong>Gazpacho</strong></li>
<li>Caviar and blini</li>
<li>Louche absinthe</li>
<li>Gjetost or brunost</li>
<li>Roadkill</li>
<li>Baijiu</li>
<li>Hostess Fruit Pie</li>
<li><strong>Snail</strong></li>
<li><strong>Lapsang souchong</strong></li>
<li><strong>Bellini</strong></li>
<li><strong>Tom yum</strong></li>
<li><strong>Eggs Benedict</strong></li>
<li>Pocky</li>
<li>Tasting menu at a three-Michelin-star restaurant</li>
<li>Kobe beef</li>
<li><strong>Hare</strong></li>
<li><strong>Goulash</strong></li>
<li><strong>Flowers</strong></li>
<li>Horse</li>
<li>Criollo chocolate</li>
<li><strong>Spam</strong></li>
<li><strong>Soft shell crab</strong></li>
<li><strong>Rose harissa</strong></li>
<li><strong>Catfish</strong></li>
<li>Mole poblano</li>
<li><strong>Bagel and lox</strong></li>
<li><strong>Lobster Thermidor</strong></li>
<li><strong>Polenta</strong></li>
<li><strong>Jamaican Blue Mountain coffee</strong></li>
<li>Snake</li>
</ol>
<div>It seems I&#8217;ve eaten quite a bit of this, certainly all the Indian items. Insects are definitely out.</div>
<div>As for Durian - Supposed to taste great, but I can&#8217;t get past the smell. Other members of my family like it though.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/19/the-food-tasting-meme/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/19/the-food-tasting-meme/</feedburner:origLink></item>
		<item>
		<title>New Media Expo 2008</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/364760184/</link>
		<comments>http://www.stompy.org/2008/08/14/new-media-expo-2008/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 11:00:00 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=92</guid>
		<description><![CDATA[In case you didn&#8217;t know, New Media Expo is happening in Las Vegas right now. Here&#8217;s a link to the videos.
]]></description>
			<content:encoded><![CDATA[<p>In case you didn&#8217;t know, <a href="http://newmediaexpo.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://newmediaexpo.com/');">New Media Expo</a> is happening in Las Vegas right now. Here&#8217;s a link to the <a href="http://videos.newmediaexpo.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://videos.newmediaexpo.com/');">videos</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/14/new-media-expo-2008/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/14/new-media-expo-2008/</feedburner:origLink></item>
		<item>
		<title>Xcode and git - Another build script</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/364733460/</link>
		<comments>http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 07:15:00 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[Mac Dev]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=84</guid>
		<description><![CDATA[Update: Got broke somehow - so I fixed it.
I&#8217;ve rewritten the script from Cocoa Is My Girlfriend in ruby to append the git commit hash into an application&#8217;s Info.plist file.
This way, it keeps the version string that is added in Xcode, so the default About panel looks like this:

Here is the script
#!/usr/bin/env ruby

# Xcode auto-versioning [...]]]></description>
			<content:encoded><![CDATA[<p>Update: Got broke somehow - so I fixed it.</p>
<p>I&#8217;ve rewritten the script from <a href="http://www.cimgf.com/2008/04/13/git-and-xcode-a-git-build-number-script/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.cimgf.com/2008/04/13/git-and-xcode-a-git-build-number-script/');">Cocoa Is My Girlfriend</a> in ruby to append the git commit hash into an application&#8217;s Info.plist file.</p>
<p>This way, it keeps the version string that is added in Xcode, so the default About panel looks like this:</p>
<p><img src="http://www.stompy.org/wp-content/uploads/2008/08/bonsoir.png" border="0" alt="Bonsoir.png" width="284" height="152" /></p>
<p>Here is the script</p>
<div style="text-align:left;color:#000000; background-color:#ffffff; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto;font-size:small; font-family:monospace; "><span style="color:#236e25;">#!/usr/bin/env ruby<br />
</span><br />
<span style="color:#236e25;"># Xcode auto-versioning script for Subversion by Axel Andersson<br />
# Updated for git by Marcus S. Zarra and Matt Long<br />
# Converted to ruby by Abizern<br />
# Appends the git sha to the version number set in Xcode.<br />
</span><br />
<span style="color:#236e25;"># These are the common places where git is installed.<br />
# Change this if your path isn&#8217;t here<br />
</span>common_git_paths = %w[<span style="color:#c700c2;">/usr/</span>local<span style="color:#c700c2;">/bin/</span>git <span style="color:#c700c2;">/usr/</span>local<span style="color:#c700c2;">/git/</span>bin<span style="color:#c700c2;">/git /</span>opt<span style="color:#c700c2;">/local/</span>bin/git]<br />
git_path = <span style="color:#760f15;">&#8220;&#8221;</span> </p>
<p>common_git_paths.each <span style="color:#881350;">do</span> |<span style="color:#881350;">p</span>|<br />
  <span style="color:#881350;">if</span> <span style="color:#881350;">File</span>.exist?(<span style="color:#881350;">p</span>)<br />
    git_path = <span style="color:#881350;">p</span><br />
    <span style="color:#881350;">break</span><br />
  <span style="color:#881350;">end</span><br />
<span style="color:#881350;">end</span></p>
<p><span style="color:#881350;">if</span> git_path == <span style="color:#760f15;">&#8220;&#8221;</span><br />
  <span style="color:#881350;">puts</span> <span style="color:#760f15;">&#8220;Path to git not found&#8221;</span><br />
  <span style="color:#881350;">exit</span><br />
<span style="color:#881350;">end</span></p>
<p>command_line = git_path + <span style="color:#760f15;">&#8221; rev-parse &#8212;-short HEAD&#8221;</span><br />
sha = <span style="color:#b80f15;">`#{command_line}`</span>.<span style="color:#881350;">chomp</span><br />
<span style="color:#881350;">puts</span> sha</p>
<p>info_file = <span style="color:#a1617a;">ENV</span>[<span style="color:#760f15;">'BUILT_PRODUCTS_DIR'</span>] + <span style="color:#760f15;">&#8220;/&#8221;</span> + <span style="color:#a1617a;">ENV</span>[<span style="color:#760f15;">'INFOPLIST_PATH'</span>]</p>
<p>f = <span style="color:#881350;">File</span>.<span style="color:#881350;">open</span>(info_file, <span style="color:#760f15;">&#8220;r&#8221;</span>).read<br />
re = <span style="color:#c700c2;">/([\t ]+&lt;key&gt;CFBundleVersion&lt;\/key&gt;\n[\t ]+&lt;string&gt;)(.*?)(&lt;\/string&gt;)/</span><br />
f =~ re</p>
<p><span style="color:#236e25;"># Get the version info from the source Info.plist file<br />
# If the script has already been run we need to remove the git sha<br />
# from the bundle&#8217;s Info.plist.<br />
</span><span style="color:#881350;">open</span> = <span style="color:#a1617a;">$1</span><br />
orig_version = <span style="color:#a1617a;">$2</span><br />
close = <span style="color:#a1617a;">$3</span></p>
<p><span style="color:#236e25;"># If the git has has not already been injected into the Info.plist, this will set version to nil<br />
</span>version = <span style="color:#a1617a;">$2</span>.<span style="color:#881350;">sub</span>!(<span style="color:#c700c2;">/\s\(git sha [\w]+\)/</span>, <span style="color:#760f15;">&#8221;</span>)<br />
<span style="color:#881350;">if</span> (!version)<br />
  version = orig_version<br />
<span style="color:#881350;">end</span></p>
<p><span style="color:#236e25;"># Inject the git hash into the bundle&#8217;s Info.plist<br />
</span><span style="color:#881350;">sub</span> = <span style="color:#760f15;">&#8220;</span><span style="color:#669999;">#{open}#{version}</span><span style="color:#760f15;"> (git sha </span><span style="color:#669999;">#{sha}</span><span style="color:#760f15;">)</span><span style="color:#669999;">#{close}</span><span style="color:#760f15;">&#8220;</span><br />
<span style="color:#881350;">puts</span> <span style="color:#881350;">sub</span><br />
f.<span style="color:#881350;">gsub</span>!(re, <span style="color:#881350;">sub</span>)<br />
<span style="color:#881350;">File</span>.<span style="color:#881350;">open</span>(info_file, <span style="color:#760f15;">&#8220;w&#8221;</span>) { |file| file.write(f) }</div>
<p>Make sure that the shell is set to <code>/usr/bin/ruby</code></p>
<p><img src="http://www.stompy.org/wp-content/uploads/2008/08/shell-setting.png" border="0" alt="Shell_setting.png" width="391" height="152" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/</feedburner:origLink></item>
		<item>
		<title>Bonsoir Redux</title>
		<link>http://feeds.feedburner.com/~r/Stompyorg/~3/363291154/</link>
		<comments>http://www.stompy.org/2008/08/12/bonsoir-redux/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 21:20:29 +0000</pubDate>
		<dc:creator>stompy</dc:creator>
		
		<category><![CDATA[Bonsoir]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[cocoa]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[Mac Dev]]></category>

		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.stompy.org/?p=79</guid>
		<description><![CDATA[About 2 years ago R. Tyler Ballance went to BarCampTexas and, finding himself with no place to stay, holed himself up in a coffee shop for the night and knocked up a demo application Bonsoir in about six hours.
When this app is running, it uses Apple’s Bonjour service to find other running Bonsoir apps on [...]]]></description>
			<content:encoded><![CDATA[<p>About 2 years ago <a href="http://unethicalblogger.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://unethicalblogger.com');">R. Tyler Ballance</a> went to BarCampTexas and, finding himself with no place to stay, holed himself up in a coffee shop for the night and knocked up a demo application <em>Bonsoir</em> in about <a href="http://bleepsoft.com/tyler/index.php?itemid=57" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bleepsoft.com/tyler/index.php?itemid=57');">six hours</a>.</p>
<p>When this app is running, it uses Apple’s Bonjour service to find other running Bonsoir apps on the network and allows swapping of AddressBook cards. The idea is that it would be useful at get togethers such as BarCamp for people to swap contact details.</p>
<p>This code has been placed into the <a href="http://trac.geekisp.com/bleep/wiki/Bonsoir" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://trac.geekisp.com/bleep/wiki/Bonsoir');">public domain</a> but it doesn&#8217;t look like anybody is working on it. So I&#8217;ve put the code up on <a href="http://github.com/Abizern/bonsoir/tree/master" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://github.com/Abizern/bonsoir/tree/master');">github</a> and I&#8217;ll see if I can&#8217;t make this a more polished app.</p>
<p>Actually, this is prompted a little by guilt. I was looking through my iChat transcripts the other day and I said I&#8217;d do some work on it - and that was back in 2006.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stompy.org/2008/08/12/bonsoir-redux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.stompy.org/2008/08/12/bonsoir-redux/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 2.204 seconds --><!-- Cached page served by WP-Cache -->
