<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>octidextro.us &#187; code</title>
	<atom:link href="http://octidextro.us/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://octidextro.us</link>
	<description>i code in iambic pentameter</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:08:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Customize Safari 5&#8242;s Reader</title>
		<link>http://octidextro.us/2010/06/08/customize-safari-5s-reader/</link>
		<comments>http://octidextro.us/2010/06/08/customize-safari-5s-reader/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 18:25:41 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[safari5]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=1494</guid>
		<description><![CDATA[You can customize the way Reader renders, by editing a single file. You'll need admin access, and a bit of HTML and CSS know how1. First, do this: Find Safari.app in your Applications folder Right click Click 'Show Package Contents' from the context menu Then, find this (you'll probably want to save a copy of [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2009/06/30/find-me/' rel='bookmark' title='Permanent Link: Find me.'>Find me.</a>
            	  <small>Mozilla added some Geolocation ability into the new Firefox 3.5 [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/11/12/validate-on-save-for-textmate/' rel='bookmark' title='Permanent Link: Validate on Save for TextMate'>Validate on Save for TextMate</a>
            	  <small>I&#8217;ve been using TextMate almost exclusively for years for writing [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2004/09/23/everything-including-the-rsync/' rel='bookmark' title='Permanent Link: everything! including the rsync'>everything! including the rsync</a>
            	  <small>i&#8217;m not sure what psync is and whether i should [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/04/05/ipad-and-onmouseover/' rel='bookmark' title='Permanent Link: iPad and onMouseOver'>iPad and onMouseOver</a>
            	  <small>I&#8217;ve been putting the iPad simulator through its paces and [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p>You can customize the way Reader renders, by editing a single file. You'll need admin access, and a bit of HTML and CSS know how<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>.</p>

<p>First, do this:</p>

<p><a href="http://octidextro.us/wp-content/uploads/2010/06/Show-Package-Contents.png"><img src="http://octidextro.us/wp-content/uploads/2010/06/Show-Package-Contents-300x240.png" alt="" title="Show Package Contents" width="300" height="240" class="size-medium wp-image-1496" /></a></p>

<ol>
<li>Find Safari.app in your Applications folder</li>
<li>Right click</li>
<li>Click 'Show Package Contents' from the context menu</li>
</ol>

<p>Then, find this (you'll probably want to save a copy of this in case you want to revert):</p>

<p><a href="http://octidextro.us/wp-content/uploads/2010/06/Resources.png"><img src="http://octidextro.us/wp-content/uploads/2010/06/Resources-300x161.png" alt="" title="Resources" width="300" height="161" class="aligncenter size-medium wp-image-1495" /></a></p>

<ol>
<li>In the new Finder window, go to the Resources folder</li>
<li>Find Reader.html</li>
<li>Edit with whatever editor you're comfortable with.</li>
</ol>

<p>Then, make some changes and save:</p>

<p><a href="http://octidextro.us/wp-content/uploads/2010/06/Textmate.png"><img src="http://octidextro.us/wp-content/uploads/2010/06/Textmate-300x236.png" alt="" title="Textmate" width="300" height="236" class="aligncenter size-medium wp-image-1497" /></a></p>

<p>You might be asked for your admin password when you save. I set <code class='prettyprint'>text-align</code> to <code class='prettyprint'>left</code> because that's how I roll.</p>

<p>Before:</p>

<p><a href="http://octidextro.us/wp-content/uploads/2010/06/Before.png"><img src="http://octidextro.us/wp-content/uploads/2010/06/Before-300x200.png" alt="" title="Before" width="300" height="200" class="aligncenter size-medium wp-image-1504" /></a></p>

<p>After:</p>

<p><a href="http://octidextro.us/wp-content/uploads/2010/06/After.png"><img src="http://octidextro.us/wp-content/uploads/2010/06/After-300x200.png" alt="" title="After" width="300" height="200" class="aligncenter size-medium wp-image-1505" /></a></p>

<p>Seriously though, if you don't know what you're doing… please don't even attempt.</p>

<div class="footnotes">
<ol>

<li id="fn:1">
<p>[Insert Standard Disclaimer Here]&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2009/06/30/find-me/' rel='bookmark' title='Permanent Link: Find me.'>Find me.</a>
            	  <small>Mozilla added some Geolocation ability into the new Firefox 3.5 [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/11/12/validate-on-save-for-textmate/' rel='bookmark' title='Permanent Link: Validate on Save for TextMate'>Validate on Save for TextMate</a>
            	  <small>I&#8217;ve been using TextMate almost exclusively for years for writing [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2004/09/23/everything-including-the-rsync/' rel='bookmark' title='Permanent Link: everything! including the rsync'>everything! including the rsync</a>
            	  <small>i&#8217;m not sure what psync is and whether i should [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/04/05/ipad-and-onmouseover/' rel='bookmark' title='Permanent Link: iPad and onMouseOver'>iPad and onMouseOver</a>
            	  <small>I&#8217;ve been putting the iPad simulator through its paces and [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2010/06/08/customize-safari-5s-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speedometer &#8211; A Quick iPhone WebKit App</title>
		<link>http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/</link>
		<comments>http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 11:58:00 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=1473</guid>
		<description><![CDATA[I rather threw together a speedometer app using the original iPhone SDK: Safari. Screenshot It's all JavaScript, CSS3 and HTML5. The gauges are all built and controlled with a JavaScript library that I developed, and are rendered with CSS3. The only images are the footer bar texture and the logo1 (I know, looking at that [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2008/10/02/hahloapp/' rel='bookmark' title='Permanent Link: Hahlo.app'>Hahlo.app</a>
            	  <small>Update: Apologies, everyone, it was in bad form of me [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/01/11/openterminalhereapp-update/' rel='bookmark' title='Permanent Link: OpenTerminalHere.app Update'>OpenTerminalHere.app Update</a>
            	  <small>Since Leopard released, I&#8217;ve been using Spotlight as a launcher. [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/08/14/dock-full-of-pulled-iphone-apps/' rel='bookmark' title='Permanent Link: Dock Full of Pulled iPhone Apps'>Dock Full of Pulled iPhone Apps</a>
            	  <small>I realized I have a few apps that are now [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/06/30/find-me/' rel='bookmark' title='Permanent Link: Find me.'>Find me.</a>
            	  <small>Mozilla added some Geolocation ability into the new Firefox 3.5 [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/06/17/brushes-for-iphone-a-quick-test/' rel='bookmark' title='Permanent Link: Brushes for iPhone &#8211; a Quick Test'>Brushes for iPhone &#8211; a Quick Test</a>
            	  <small>I bought the Brushes App for iPhone the a couple [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p>I rather threw together a <a href="http://speedometer.prototypeapp.com">speedometer app</a> using the <a href="http://www.apple.com/pr/library/2007/06/11iphone.html?sr=hotnews.rss"><em>original</em> iPhone SDK: Safari</a>.</p>

<p><strong>Screenshot</strong></p>

<div id="attachment_1478" class="wp-caption aligncenter" style="width: 490px"><img src="http://octidextro.us/wp-content/uploads/2010/06/IMG_0372.png" alt="An Early Screenshot" title="An Early Screenshot" width="480" height="320" class="size-full wp-image-1478" /><p class="wp-caption-text">An Early Screenshot (note to self: replace with updated screenshot)</p></div>

<p>It's all JavaScript, CSS3 and HTML5. The gauges are all built and controlled with a JavaScript library that I developed, and are rendered with CSS3. The only images are the footer bar texture and the logo<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> (I know, looking at that screenshot, it's hard to believe).</p>

<p>I built this for two reasons. The first being that I wanted a rotary gauge JavaScript library (for use in another unrelated project), and the second being that I wanted to demonstrate (mostly to myself) how feasible these WebKit apps really are.</p>

<p><strong>Installation</strong></p>

<p>When you go to <a href="http://speedometer.prototypeapp.com">the app's URL</a>, you'll be given instructions on how to install it (it's as simple as bookmarking it to your homescreen). Then, when you launch it, it will download and cache all the assets<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup>, and each subsequent launch after that will check for updates if your device has network access.</p>

<p><strong>How it works</strong></p>

<p>Basically, the app calculates how fast you're going by getting the distance between your current position and your last position and dividing that by how long it took to get there. There are other things going on, like soft rejecting<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup> positions that would seem to indicate an acceleration of anything above 2g<sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup>.</p>

<p>This could be further optimized, of course, and when I do that, I can push those changes and everyone (with a network connection) will have access to the new version as soon as they launch.</p>

<p><strong>Features</strong></p>

<ul>
<li>A speedometer</li>
<li>A bearing indicator (it tells you what direction you're heading)</li>
<li>An analog clock</li>
</ul>

<p>The clock was really just an exercise for myself. It's basically a rotary gauge with 3 custom indicators with their own values.</p>

<p>If you have an idea for what should be there instead of the analog clock (or any other feedback, really), feel free to <a href="mailto:sxtxixtxcxh@gmail.com">let me know</a>. <a href="http://twitter.com/sxtxixtxcxh">I'm also on twitter</a>.</p>

<p><strong>Sidenote(s)</strong></p>

<p>Debugging and testing this isn't easy.  While iPhone can hit .local domains on a local network, I couldn't exactly do use a local network to test this app. I had to be in motion. I spent time while commuting to do my testing and debugging. I also needed full access to the internet to update the remote servers so the iPhone could access the app. I don't think I could have done this without tethering<sup id="fnref:5"><a href="#fn:5" rel="footnote">5</a></sup>.</p>

<p>I might have been able to create a WiFi network with my MacBook to get access to the .local domain, but even in that case, I'd have to configure my development environment to serve this app from my .local address, and that's also not ideal. Meh, I'll figure out the best solution eventually.</p>

<p>Forgive my rambling, I had to be up early this morning (like, so early it was still Saturday for another 30 minutes).</p>

<div class="footnotes">
<ol>

<li id="fn:1">
<p>With the exception of the startup graphic and app icon.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p>In this case, an HTML file, a couple JavaScript files, a stylesheet, and a couple images.&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:3">
<p>Is that a thing? Basically, what I mean by this is that if it the location doesn't fit the criteria, I'll ignore it, but keep it around. If it starts looking like the location was correct, I'll switch to the rejected set.&#160;<a href="#fnref:3" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:4">
<p>If you happen to be able to accelerate at 2g, let me know once you've returned to Earth.&#160;<a href="#fnref:4" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:5">
<p>Which I technically shouldn't be able to do until tomorrow (Monday, June 7th).&#160;<a href="#fnref:5" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2008/10/02/hahloapp/' rel='bookmark' title='Permanent Link: Hahlo.app'>Hahlo.app</a>
            	  <small>Update: Apologies, everyone, it was in bad form of me [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/01/11/openterminalhereapp-update/' rel='bookmark' title='Permanent Link: OpenTerminalHere.app Update'>OpenTerminalHere.app Update</a>
            	  <small>Since Leopard released, I&#8217;ve been using Spotlight as a launcher. [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/08/14/dock-full-of-pulled-iphone-apps/' rel='bookmark' title='Permanent Link: Dock Full of Pulled iPhone Apps'>Dock Full of Pulled iPhone Apps</a>
            	  <small>I realized I have a few apps that are now [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/06/30/find-me/' rel='bookmark' title='Permanent Link: Find me.'>Find me.</a>
            	  <small>Mozilla added some Geolocation ability into the new Firefox 3.5 [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2009/06/17/brushes-for-iphone-a-quick-test/' rel='bookmark' title='Permanent Link: Brushes for iPhone &#8211; a Quick Test'>Brushes for iPhone &#8211; a Quick Test</a>
            	  <small>I bought the Brushes App for iPhone the a couple [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad and onMouseOver</title>
		<link>http://octidextro.us/2010/04/05/ipad-and-onmouseover/</link>
		<comments>http://octidextro.us/2010/04/05/ipad-and-onmouseover/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 21:40:48 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=1412</guid>
		<description><![CDATA[I've been putting the iPad simulator through its paces and I've run across one interesting feature in the new MobileSafari: onmouseover! Many people, myself included1, assumed that onmouseover was dead2 with the arrival of touch based web browsers, and up until iPhone OS 3.2 that seemed to be the case. However, in my testing, I've [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2010/01/28/apples-ipad-and-why-its-upsetting-geeks/' rel='bookmark' title='Permanent Link: Apple&#8217;s iPad and Why It&#8217;s Upsetting &#8220;Geeks&#8221;'>Apple&#8217;s iPad and Why It&#8217;s Upsetting &#8220;Geeks&#8221;</a>
            	  <small>I think the main reason why self-described geeks are throwing [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/02/19/ipad-a-space-odyssey/' rel='bookmark' title='Permanent Link: iPad: A Space Odyssey'>iPad: A Space Odyssey</a>
            	  <small>Seriously, who didn&#8217;t think of the Newspad in Arthur C. [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/07/07/seattle-jquery-open-space-hack-attack-by-amazon/' rel='bookmark' title='Permanent Link: Seattle jQuery Open Space Hack Attack by Amazon'>Seattle jQuery Open Space Hack Attack by Amazon</a>
            	  <small>I went to a jQuery conference on Monday. John Resig [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/07/23/html-5-linking-demo/' rel='bookmark' title='Permanent Link: HTML 5 Linking Demo'>HTML 5 Linking Demo</a>
            	  <small>Eric Meyer has created a quick and dirty demo that [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p>I've been putting the iPad simulator through its paces and I've run across one interesting feature in the new MobileSafari: <code class='prettyprint'>onmouseover</code>!</p>

<p>Many people, myself included<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>, assumed that <code class='prettyprint'>onmouseover</code> was dead<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> with the arrival of touch based web browsers, and up until iPhone OS 3.2 that seemed to be the case. However, in my testing, I've found that the first tap on an element with an <code class='prettyprint'>onmouseover</code> "attribute" will trigger the <code class='prettyprint'>onmouseover</code> event, stop the click event from propagating to any children until a second tap after the <code class='prettyprint'>onmouseover</code> has fired.</p>

<p>Setting focus elsewhere (via tapping other <code class='prettyprint'>onmouseover</code> watching elements or form fields) will trigger the <code class='prettyprint'>onmouseout</code> event and, again, tapping on the element a second time while the <code class='prettyprint'>onmouseover</code> is active sends the click down to its child elements. You can see this in action with Twitter's "hovercards".</p>

<p>Sadly, adding those behaviors using jQuery doesn't seem to give it the same magic. Perhaps we'll see it in the next version of MobileSafari, and hopefully on iPhone as well. These are preliminary findings, of course, and in order to do more testing I'll require an iPad (with 3G, please).</p>

<p>Anyone?</p>

<div class="footnotes">
<ol>

<li id="fn:1">
<p>I even went so far as to start replacing my <code class='prettyprint'>onmouseover</code>s with click events on <a href="http://lib.rario.us">lib.rario.us</a> but I couldn't go through with it.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p>By "dead", I mean "functionally useless."&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2010/01/28/apples-ipad-and-why-its-upsetting-geeks/' rel='bookmark' title='Permanent Link: Apple&#8217;s iPad and Why It&#8217;s Upsetting &#8220;Geeks&#8221;'>Apple&#8217;s iPad and Why It&#8217;s Upsetting &#8220;Geeks&#8221;</a>
            	  <small>I think the main reason why self-described geeks are throwing [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/02/19/ipad-a-space-odyssey/' rel='bookmark' title='Permanent Link: iPad: A Space Odyssey'>iPad: A Space Odyssey</a>
            	  <small>Seriously, who didn&#8217;t think of the Newspad in Arthur C. [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/07/07/seattle-jquery-open-space-hack-attack-by-amazon/' rel='bookmark' title='Permanent Link: Seattle jQuery Open Space Hack Attack by Amazon'>Seattle jQuery Open Space Hack Attack by Amazon</a>
            	  <small>I went to a jQuery conference on Monday. John Resig [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/07/23/html-5-linking-demo/' rel='bookmark' title='Permanent Link: HTML 5 Linking Demo'>HTML 5 Linking Demo</a>
            	  <small>Eric Meyer has created a quick and dirty demo that [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2010/04/05/ipad-and-onmouseover/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Modern Bubbling for Kiwi</title>
		<link>http://octidextro.us/2009/12/29/modern-bubbling-for-kiwi/</link>
		<comments>http://octidextro.us/2009/12/29/modern-bubbling-for-kiwi/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 14:53:01 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[kiwi]]></category>
		<category><![CDATA[modern bubbling]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=1202</guid>
		<description><![CDATA[I've put together a quick port of Jim's Modern Bubbling theme for Adium for Kiwi (a new theme-able twitter client, with rules!). It's actually a complete rewrite, with some changes, but I tried to remain fairly close to the aesthetic. I've added a hook for "muting" tweets: In the rules tab, choose "Add a CSS [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2006/12/05/cmdtabscroll-wheel-crazy-delicious/' rel='bookmark' title='Permanent Link: cmd+tab+scroll wheel = crazy delicious'>cmd+tab+scroll wheel = crazy delicious</a>
            	  <small>I usually hit cmd+tab and then mouse over the app [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://octidextro.us/wp-content/uploads/2009/12/Kiwi.png"><img src="http://octidextro.us/wp-content/uploads/2009/12/Kiwi-233x300.png" alt="" title="Kiwi" width="233" height="300" class="alignright size-medium wp-image-1206" /></a> I've put together a quick port of Jim's <a href="http://adiumxtras.com/index.php?a=xtras&amp;xtra_id=3629">Modern Bubbling theme for Adium</a> for <a href="http://kiwi-app.net/">Kiwi</a> (a new theme-able twitter client, with rules!).</p>

<p>It's actually a complete rewrite, with some changes, but I tried to remain fairly close to the aesthetic.</p>

<p>I've added a hook for "muting" tweets: In the rules tab, choose "Add a CSS class" for the action, and type in "mute" (sans quotes). This will take those tweets that match down to about 30% opacity.</p>

<p><a href="http://octidextro.us/wp-content/uploads/2009/12/Modern-Bubbling.kiwitheme.zip">Download Modern Bubbling for Kiwi</a>!</p>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2006/12/05/cmdtabscroll-wheel-crazy-delicious/' rel='bookmark' title='Permanent Link: cmd+tab+scroll wheel = crazy delicious'>cmd+tab+scroll wheel = crazy delicious</a>
            	  <small>I usually hit cmd+tab and then mouse over the app [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2009/12/29/modern-bubbling-for-kiwi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Validate on Save for TextMate</title>
		<link>http://octidextro.us/2009/11/12/validate-on-save-for-textmate/</link>
		<comments>http://octidextro.us/2009/11/12/validate-on-save-for-textmate/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 18:43:08 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[validateonsave]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=1113</guid>
		<description><![CDATA[I've been using TextMate almost exclusively for years for writing all kinds of code, shell scripts, PHP, Ruby, JavaScript, HTML, CSS... it's one of those programs that excels at the thing that it does, and the thing that it does is get out of the way and let you do your thing. I never seemed [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2008/07/22/photoshop-and-spotlight-or-quicksilver-shortcut-cmdspace/' rel='bookmark' title='Permanent Link: Photoshop and Spotlight (or Quicksilver) Shortcut: CMD+SPACE'>Photoshop and Spotlight (or Quicksilver) Shortcut: CMD+SPACE</a>
            	  <small>I&#8217;ve been annoyed for the last few years that the [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/08/customize-safari-5s-reader/' rel='bookmark' title='Permanent Link: Customize Safari 5&#8242;s Reader'>Customize Safari 5&#8242;s Reader</a>
            	  <small>You can customize the way Reader renders, by editing a [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p>I've been using <a href="http://macromates.com/">TextMate</a> almost exclusively for years for writing all kinds of code, shell scripts, PHP, Ruby, JavaScript, HTML, CSS... it's one of those programs that excels at the thing that it does, and the thing that it does is get out of the way and let you do your thing.</p>

<p>I never seemed to outgrow it. Nearly everytime I've wanted it to do something, either someone else put something together or I've been able to extend it by writing my own commands or modifying an existing one.</p>

<p>One of the things I've done is bind the shortcut to save (<code class='prettyprint'>cmd</code>+<code class='prettyprint'>s</code>) to also validate my PHP or Ruby. Total time saver. If you're a web developer you're probably well aware of the save/switch/refresh/crash/switch/fix/save dance that one does between code editor and browser.</p>

<p>Recently, I decided to package it all up and throw in a couple other validators into it, and thusly the <a href="http://github.com/sxtxixtxcxh/validate-on-save.tmbundle">Validate on Save TextMate Bundle</a> was born. This bundle will bind the save shortcut for you, and validate your PHP, Ruby, JavaScript, and CSS.</p>

<p><a href="http://octidextro.us/wp-content/uploads/2009/11/validate-on-save.png"><img src="http://octidextro.us/wp-content/uploads/2009/11/validate-on-save-300x187.png" alt="" title="Validate on Save" width="300" height="187" class="alignright size-medium wp-image-1115" /></a> If you're running <a href="http://wiki.github.com/chriseppstein/compass">Compass</a> (a framework to <a href="http://sass-lang.com/">Sass</a>'s CSS abstraction)<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> this tool will try to compile your Sass files and return any errors it outputs.</p>

<p>If you install with Git using the instructions in the README, you'll have instant access to updates, just click the <code class='prettyprint'>Bundles</code> > <code class='prettyprint'>Validate On Save</code> > <code class='prettyprint'>Update Bundle</code> menu command.</p>

<p>There are a few other configuration options in there, like using Growl for notification or jumping directly to the line the validator found errors, but in both cases, the results were a bit iffy so you'll have to enabled those (by following the helpful instructions).</p>

<p>I showed an early version of this to my friend <a href="http://jimeh.me/">Jim Myhrberg</a>, who refused to let me get away with distributing my messy code, so he did a ton of reorganization and cleanup that ultimately make this even easier for us to perhaps someday add more validators.</p>

<div class="footnotes">
<ol>

<li id="fn:1">
<p>If you have no idea what I'm talking about but write CSS, do yourself a favor and <a href="http://wiki.github.com/chriseppstein/compass">check it out</a>. Highly recommended.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2008/07/22/photoshop-and-spotlight-or-quicksilver-shortcut-cmdspace/' rel='bookmark' title='Permanent Link: Photoshop and Spotlight (or Quicksilver) Shortcut: CMD+SPACE'>Photoshop and Spotlight (or Quicksilver) Shortcut: CMD+SPACE</a>
            	  <small>I&#8217;ve been annoyed for the last few years that the [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/08/customize-safari-5s-reader/' rel='bookmark' title='Permanent Link: Customize Safari 5&#8242;s Reader'>Customize Safari 5&#8242;s Reader</a>
            	  <small>You can customize the way Reader renders, by editing a [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2009/11/12/validate-on-save-for-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find me.</title>
		<link>http://octidextro.us/2009/06/30/find-me/</link>
		<comments>http://octidextro.us/2009/06/30/find-me/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:43:29 +0000</pubDate>
		<dc:creator>M. Dave Auayan</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://octidextro.us/?p=906</guid>
		<description><![CDATA[Mozilla added some Geolocation ability into the new Firefox 3.5 - I rather quickly whipped up this bookmarklet: &#8853; Click it if you want to see where Firefox thinks you are, drag it to your firefox bookmarks bar for quick access if you want. Edit: Please note, while Firefox says that you'll be sharing your [...]

<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2010/04/05/ipad-and-onmouseover/' rel='bookmark' title='Permanent Link: iPad and onMouseOver'>iPad and onMouseOver</a>
            	  <small>I&#8217;ve been putting the iPad simulator through its paces and [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/02/14/tweetme-me-take-a-look-around-you/' rel='bookmark' title='Permanent Link: TweetMe.me &#8211; Take a Look Around You'>TweetMe.me &#8211; Take a Look Around You</a>
            	  <small>I decided to release my Twitter-based map after playing around [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/05/13/trying-to-capture-multitouch-gestures-with-javascript/' rel='bookmark' title='Permanent Link: (Trying to) Capture MultiTouch Gestures With Javascript'>(Trying to) Capture MultiTouch Gestures With Javascript</a>
            	  <small>I recently bought a new MacBook Pro, complete with the [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2007/06/30/iphone-libgcc/' rel='bookmark' title='Permanent Link: iPhone libgcc?'>iPhone libgcc?</a>
            	  <small>I was looking at Gruber&#8217;s iPhone crash log&#8230; and came [...]</small>
      </li>
  	  </ol>
</div>
]]></description>
			<content:encoded><![CDATA[<p>Mozilla added some Geolocation ability into the new Firefox 3.5 - I rather quickly whipped up this bookmarklet:
<a href="javascript:(function(){navigator.geolocation.getCurrentPosition(function(position){window.location.href=&quot;http://maps.google.com/maps?q=&quot;+position.coords.latitude+&quot;+&quot;+position.coords.longitude;});})();">&oplus;</a></p>

<p>Click it if you want to see where Firefox thinks you are, drag it to your firefox bookmarks bar for quick access if you want.</p>

<p><em>Edit</em>: Please note, while Firefox says that you'll be sharing your location with whatever site you're on whenever you click this bookmarklet, it's not true (at least in my case).</p>

<p><em>Edit 2</em>: This also works with the iPhone, with better results as Webkit uses the phone's location frameworks, instead of Firefox's (I presume) IP based location.</p>


<div class="related">
  <h3>(Maybe) Related Posts</h3>
  <ol>
  	      <li><a href='http://octidextro.us/2010/04/05/ipad-and-onmouseover/' rel='bookmark' title='Permanent Link: iPad and onMouseOver'>iPad and onMouseOver</a>
            	  <small>I&#8217;ve been putting the iPad simulator through its paces and [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/02/14/tweetme-me-take-a-look-around-you/' rel='bookmark' title='Permanent Link: TweetMe.me &#8211; Take a Look Around You'>TweetMe.me &#8211; Take a Look Around You</a>
            	  <small>I decided to release my Twitter-based map after playing around [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2008/05/13/trying-to-capture-multitouch-gestures-with-javascript/' rel='bookmark' title='Permanent Link: (Trying to) Capture MultiTouch Gestures With Javascript'>(Trying to) Capture MultiTouch Gestures With Javascript</a>
            	  <small>I recently bought a new MacBook Pro, complete with the [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2010/06/06/speedometer-a-quick-iphone-webkit-app/' rel='bookmark' title='Permanent Link: Speedometer &#8211; A Quick iPhone WebKit App'>Speedometer &#8211; A Quick iPhone WebKit App</a>
            	  <small>I rather threw together a speedometer app using the original [...]</small>
      </li>
  	      <li><a href='http://octidextro.us/2007/06/30/iphone-libgcc/' rel='bookmark' title='Permanent Link: iPhone libgcc?'>iPhone libgcc?</a>
            	  <small>I was looking at Gruber&#8217;s iPhone crash log&#8230; and came [...]</small>
      </li>
  	  </ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://octidextro.us/2009/06/30/find-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
