<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 <title>Kev Rodgers</title>
 <link rel="self" href="http://kevrodg.net/atom.xml"/>
 <link rel="alternate" href="http://kevrodg.net/"/>
 <updated>2012-01-15T12:05:09-05:00</updated>
 <id>http://kevrodg.net/</id>
 <author>
   <name>Kev Rodgers</name>
   <email>comments@kevrodg.net</email>
 </author>
 
 <entry>
  <title>AppleScript Move Mail Message</title>
  <link href="http://kevrodg.net/2011/08/08/applescript-move-mail-message/"/>
   <updated>2011-08-08T08:43:36-04:00</updated>
   <id>http://kevrodg.net/2011/08/08/applescript-move-mail-message</id>
   <content type="html"><![CDATA[<p>I upgraded to OS X Lion and the AppleScript I was using to move a selected mail message to another mailbox broke. Here is the offending script:</p>

<div class="highlight"><pre><code class="applescript"><span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Mail&quot;</span>
 <span class="nv">move</span> <span class="nv">selection</span> <span class="k">to</span> <span class="nv">mailbox</span> <span class="s2">&quot;@action&quot;</span>
<span class="k">end</span> <span class="k">tell</span>
</code></pre>
</div>


<p>It looks simple enough, so I don&rsquo;t understand exactly why it stopped working. I searched around and found <a href="http://hints.macworld.com/article.php?story=20081019114709793">something</a> to try in the <a href="http://hints.macworld.com/">Mac OS X Hints</a> section of Macworld.</p>

<p>I modified the script a little bit and came up with this:</p>

<div class="highlight"><pre><code class="applescript"><span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Mail&quot;</span>
    <span class="k">set</span> <span class="err">_msgs</span> <span class="k">to</span> <span class="nv">selection</span>
    <span class="k">set</span> <span class="err">_mailbox</span> <span class="k">to</span> <span class="s2">&quot;@action&quot;</span>
    <span class="k">repeat</span> <span class="nv">with</span> <span class="err">_msg</span> <span class="k">in</span> <span class="err">_msgs</span>
        <span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Mail&quot;</span>
            <span class="nv">move</span> <span class="nb">the</span> <span class="err">_msg</span> <span class="k">to</span> <span class="nv">mailbox</span> <span class="err">_mailbox</span>
        <span class="k">end</span> <span class="k">tell</span>
    <span class="k">end</span> <span class="k">repeat</span>
<span class="k">end</span> <span class="k">tell</span>
</code></pre>
</div>


<p>I made two more like this one for my @reply and @waiting mailboxes. These all get processed with a keyboard shortcut via <a href="http://www.red-sweater.com/fastscripts/">FastScripts</a>.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>Pretty Permalink and No Comment</title>
  <link href="http://kevrodg.net/2011/06/04/pretty-permalink-and-no-comment/"/>
   <updated>2011-06-04T00:00:00-04:00</updated>
   <id>http://kevrodg.net/2011/06/04/pretty-permalink-and-no-comment</id>
   <content type="html"><![CDATA[<p>I made two changes to this here website. I changed the permalink structure and removed the DISQUS comments platform.</p>

<p>What happened is this. Gruber <a href="http://daringfireball.net/linked/2011/05/31/hashbangs" title="Daring Fireball Linked List: It's About the Hashbangs">linked</a> to <a href="http://danwebb.net/2011/5/28/it-is-about-the-hashbangs" title="danwebb.net - It's About The Hashbangs">this article</a> article about hashbangs which led me to this <a href="http://www.w3.org/Provider/Style/URI.html" title="Hypertext Style: Cool URIs don't change.">Cool URIs</a> article by Tim Berners-Lee. That influenced me enough to change my permalink structure. The default permalink structure for Jekyll is /:year/:month/:day/:title.html.  That means for this post, the URI would be <code>http://kevrodg.net/2011/06/04/pretty-permalink-and-no-comment.html</code>. After reading the Berners-Lee article, I decided I want the permalink structure to be :year/:month/:day/:title. As it turns out, Jekyll has this <a href="https://github.com/mojombo/jekyll/wiki/Permalinks" title="Permalinks - GitHub">style</a> built-in. It&rsquo;s called pretty. Now, the URI for this post is <code>http://kevrodg.net/2011/06/04/pretty-permalink-and-no-comment/</code>. I guess this will help future-proof the permalink. Something else which would help is for me to stop messing around with the site&rsquo;s structure.</p>

<p>As for the DISQUS comments, I decided that I don&rsquo;t want any comments on my site. To date, there were no comments made on any of my posts, so it&rsquo;s not like I had a bad experience with them. I have a few reasons why I don&rsquo;t want comments, but the main one is that this is my site, and I intend it to be all mine. It will have my thoughts and opinions, and I want to control everything that appears here. I don&rsquo;t hate sites that have comments. I actually enjoy reading an article and then seeing what other people have to add to it. I just don&rsquo;t want it for my site. Anyway, that&rsquo;s how I feel about it now.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>No Tracking Here</title>
  <link href="http://kevrodg.net/2011/02/06/no-tracking-here/"/>
   <updated>2011-02-06T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2011/02/06/no-tracking-here</id>
   <content type="html"><![CDATA[<p>I&rsquo;m on a bit of a privacy kick lately and I&rsquo;ve decided to remove the tracking components from my site. I was at one point using Google Analytics, but dropped that in favor of Sean Inman&rsquo;s Mint. I have since removed Mint from my site. A nice side benefit from this is that I was able to switch my site&rsquo;s server type back to static. It&rsquo;s cheaper that way.</p>

<p>It was fun for a while to see how the few people who were coming to my site got here, but I don&rsquo;t really care to know. I think it will help me to write more for myself as well, as I won&rsquo;t be influenced by the more popular posts. And on top of that, there will be one less thing for me to obsess over.</p>

<p>However, if I enable comments on a post, I&rsquo;ll still get a sense of which ones are more popular. That&rsquo;s assuming that anyone chooses to add a comment. I don&rsquo;t see this as a privacy violation though, because the commenter is willingly submitting information, whereas with tracking scripts, the visitor may not know information about them is being recorded.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>A Breakdown of Sweet Mac Setups</title>
  <link href="http://kevrodg.net/2010/12/31/a-breakdown-of-sweet-mac-setups/"/>
   <updated>2010-12-31T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2010/12/31/a-breakdown-of-sweet-mac-setups</id>
   <content type="html"><![CDATA[<p>Shawn Blanc runs a <a href="http://shawnblanc.net/sweet-mac-setups/">series</a> on his website that showcases Sweet Mac Setups. It&rsquo;s for people who &ldquo;wish to geek out over workspaces, software, and hardware.&rdquo; People like me. My <a href="http://shawnblanc.net/2009/06/kevin-rodgers-setup/">setup</a> was profiled in June of 2009.</p>

<p>I wanted to find out what are the most popular ways to setup a Sweet Mac Setup and I went through all of them to gather some figures. I chose to capture data only for the setups that used a laptop connected to an external display. Why? Because that&rsquo;s how I have mine setup. By my count, there are 18 such setups in the series.</p>

<p>There are three things of which I was interested: clamshell mode, keyboard location, and laptop stand. For clamshell mode, I wanted to know if the lid is open or closed, and what is the location of the laptop relative to the external display. For keyboard location, I wanted to know if the keyboard is sat atop the desk or on a keyboard tray. Finally, I wanted to know if a laptop stand is used. The following are the details of my research:</p>

<table>
    <caption>Clamshell Mode</caption>
    <tr>
        <td><strong>Open on the left</strong></td>
        <td><strong>12</strong></td>
    </tr>
    <tr>
        <td>Open on the right</td>
        <td>4</td>
    </tr>
    <tr>
        <td>Closed on the left</td>
        <td>1</td>
    </tr>
    <tr>
        <td>Closed on the right</td>
        <td>1</td>
    </tr>
</table>




<table>
    <caption>Keyboard Location</caption>
    <tr>
        <td><strong>Keyboard on Desk</strong></td>
        <td><strong>15</strong></td>
    </tr>
    <tr>
        <td>Keyboard on Tray</td>
        <td>3</td>
    </tr>
</table>




<table>
    <caption>Laptop Stand</caption>
    <tr>
        <td><strong>Stand</strong></td>
        <td><strong>13</strong></td>
    </tr>
    <tr>
        <td>No Stand</td>
        <td>5</td>
    </tr>
</table>


<p>The most popular Sweet Mac Setup is clamshell mode open on the left of the external display, keyboard on the desk, and a laptop stand. However, the correct setup (mine) is clamshell mode open on the right, keyboard on a tray, and a laptop stand. I must mention that this is my current home setup. At work, the correct setup is clamshell closed on the right, keyboard on the desk, and no laptop stand.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>What’s in Your Simplenote?</title>
  <link href="http://kevrodg.net/2010/08/26/whats-in-your-simplenote/"/>
   <updated>2010-08-26T00:00:00-04:00</updated>
   <id>http://kevrodg.net/2010/08/26/whats-in-your-simplenote</id>
   <content type="html"><![CDATA[<p><a href="http://minimalmac.com/post/1014631828/whats-in-your-simplenote">Minimal Mac</a></p>

<blockquote><p>With the new release of Simplenote, I thought it might be fun to list just a few of the notes I have in mine with the hopes that others will share theirs as well.</p>

<p>Sound fun?</p></blockquote>

<p>Yes, here is a sample of what is in my Simplenote:</p>

<ul>
<li>A list of Pale Ales I want to try.</li>
<li>A list of books I want to read.</li>
<li>A short guide about my intended dress style for work, swiped from <a href="http://putthison.com/post/283365444/businesscasual">Put This On</a>.</li>
<li>A snippet of the Quinoa recipe from <a href="http://saltandfat.com/post/540244787/quinoa">Salt &amp; Fat</a>.</li>
<li>Miscellaneous technical notes, e.g., the steps needed to configure a Cisco 7925G WiFi phone out of the box and on to the network.</li>
</ul>


    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>Safari Extensions Obviate NNW</title>
  <link href="http://kevrodg.net/2010/06/10/safari-extensions-obviate-nnw/"/>
   <updated>2010-06-10T00:00:00-04:00</updated>
   <id>http://kevrodg.net/2010/06/10/safari-extensions-obviate-nnw</id>
   <content type="html"><![CDATA[<p>Two Safari extensions have obviated my need for NetNewsWire: <a href="http://bitbucket.org/zakj/greader-bgtabs">greader-bgtabs</a> and <a href="http://www.fabianpimminger.com/playground/google-reader-styles/">Google Reader Styles</a>.</p>

<p>My flow for reading articles when I’m on the desktop is like this. I open NetNewsWire and use keyboard shortcuts to open all the new articles in Safari in the background. Then, I go to Safari and read the articles.</p>

<p>Some people are happy simply reading the articles inside NetNewsWire, either in the integrated browser or in the stylized view pane. That’s cool. And, if that’s how you like it, then NNW will work well for you. Since I’m only using NNW as a launcher, it’s superfluous to have it running all the time.</p>

<p>My issues with the Google Reader website are, 1) it looks pants, and 2) when you press ‘v’ to open items, they open in the foreground. The two extensions I’m using alleviate both issues. Now, the Google Reader website looks good and pages open in background tabs.</p>

<p>I’m all for only using those applications that you really need. And, until recently, NNW was the best option for a good feed reading workflow.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>Link List Post with Jekyll and Applescript</title>
  <link href="http://kevrodg.net/2010/03/13/link-list-post-with-jekyll-and-applescript/"/>
   <updated>2010-03-13T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2010/03/13/link-list-post-with-jekyll-and-applescript</id>
   <content type="html"><![CDATA[<p>In the <a href="http://kevrodg.net/2010/03/11/blogging-with-textmate.html">previous post</a>, I mentioned that I hacked together a somewhat automated process to create a linked list style post. The following AppleScript is what I came up with:</p>

<div class="highlight"><pre><code class="applescript"><span class="k">on</span> <span class="nv">displayErrorMessage</span><span class="p">(</span><span class="nv">s</span><span class="p">)</span>
    <span class="nb">display dialog</span> <span class="p">(</span><span class="nv">s</span><span class="p">)</span> <span class="nb">buttons</span> <span class="p">{</span><span class="s2">&quot;OK&quot;</span><span class="p">}</span> <span class="nv">default</span> <span class="nb">button</span> <span class="s2">&quot;OK&quot;</span> <span class="nv">with</span> <span class="nv">icon</span> <span class="nv">caution</span>
<span class="k">end</span> <span class="nv">displayErrorMessage</span>

<span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Safari&quot;</span>
    <span class="k">try</span>
        <span class="k">set</span> <span class="nv">pageURL</span> <span class="k">to</span> <span class="nv">URL</span> <span class="k">of</span> <span class="na">document</span> <span class="mi">1</span>
        <span class="k">set</span> <span class="nv">pageTitle</span> <span class="k">to</span> <span class="na">name</span> <span class="k">of</span> <span class="na">document</span> <span class="mi">1</span>
        <span class="k">set</span> <span class="nv">selectedText</span> <span class="k">to</span> <span class="nv">do</span> <span class="nv">JavaScript</span> <span class="s2">&quot;getSelection();&quot;</span> <span class="k">in</span> <span class="na">document</span> <span class="mi">1</span>
    <span class="nb">on</span> <span class="k">error</span> <span class="nv">errorMessage</span>
        <span class="nv">displayErrorMessage</span><span class="p">(</span><span class="s2">&quot;Can’t create a new post because of an error getting information from Safari.&quot;</span><span class="p">)</span> <span class="k">of</span> <span class="k">me</span>
        <span class="no">return</span>
    <span class="k">end</span> <span class="k">try</span>
<span class="k">end</span> <span class="k">tell</span>

<span class="k">property</span> <span class="nv">LF</span> <span class="p">:</span> <span class="nb">ASCII character</span> <span class="mi">10</span>

<span class="k">set</span> <span class="nv">modTitle</span> <span class="k">to</span> <span class="na">text returned</span> <span class="k">of</span> <span class="p">(</span><span class="nb">display dialog</span> <span class="s2">&quot;Modify the title:&quot;</span> <span class="nv">with</span> <span class="na">title</span> <span class="s2">&quot;Modify Title&quot;</span> <span class="nv">default</span> <span class="nv">answer</span> <span class="nv">pageTitle</span> <span class="nb">buttons</span> <span class="p">{</span><span class="s2">&quot;OK&quot;</span><span class="p">}</span> <span class="nv">default</span> <span class="nb">button</span> <span class="mi">1</span><span class="p">)</span>

<span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;System Events&quot;</span>
    <span class="nb">set the clipboard to</span> <span class="s2">&quot;[&quot;</span> <span class="o">&amp;</span> <span class="nv">pageTitle</span> <span class="o">&amp;</span> <span class="s2">&quot;]&quot;</span> <span class="o">&amp;</span> <span class="s2">&quot;(&quot;</span> <span class="o">&amp;</span> <span class="nv">pageURL</span> <span class="o">&amp;</span> <span class="s2">&quot;)&quot;</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="s2">&quot;&gt;&quot;</span> <span class="o">&amp;</span> <span class="nv">selectedText</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="nv">LF</span>
<span class="k">end</span> <span class="k">tell</span>

<span class="nb">do shell script</span> <span class="s2">&quot;ruby ~/bin/newlink.rb &quot;</span> <span class="o">&amp;</span> <span class="nb">quoted form</span> <span class="k">of</span> <span class="nv">modTitle</span>
</code></pre>
</div>


<p>Here is a breakdown of how the script works.</p>

<div class="highlight"><pre><code class="applescript"><span class="k">on</span> <span class="nv">displayErrorMessage</span><span class="p">(</span><span class="nv">s</span><span class="p">)</span>
    <span class="nb">display dialog</span> <span class="p">(</span><span class="nv">s</span><span class="p">)</span> <span class="nb">buttons</span> <span class="p">{</span><span class="s2">&quot;OK&quot;</span><span class="p">}</span> <span class="nv">default</span> <span class="nb">button</span> <span class="s2">&quot;OK&quot;</span> <span class="nv">with</span> <span class="nv">icon</span> <span class="nv">caution</span>
<span class="k">end</span> <span class="nv">displayErrorMessage</span>

<span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Safari&quot;</span>
    <span class="k">try</span>
        <span class="k">set</span> <span class="nv">pageURL</span> <span class="k">to</span> <span class="nv">URL</span> <span class="k">of</span> <span class="na">document</span> <span class="mi">1</span>
        <span class="k">set</span> <span class="nv">pageTitle</span> <span class="k">to</span> <span class="na">name</span> <span class="k">of</span> <span class="na">document</span> <span class="mi">1</span>
        <span class="k">set</span> <span class="nv">selectedText</span> <span class="k">to</span> <span class="nv">do</span> <span class="nv">JavaScript</span> <span class="s2">&quot;getSelection();&quot;</span> <span class="k">in</span> <span class="na">document</span> <span class="mi">1</span>
    <span class="nb">on</span> <span class="k">error</span> <span class="nv">errorMessage</span>
        <span class="nv">displayErrorMessage</span><span class="p">(</span><span class="s2">&quot;Can’t create a new post because of an error getting information from Safari.&quot;</span><span class="p">)</span> <span class="k">of</span> <span class="k">me</span>
        <span class="no">return</span>
    <span class="k">end</span> <span class="k">try</span>
<span class="k">end</span> <span class="k">tell</span>
</code></pre>
</div>


<p>This first section, which I copied from the New Post from Safari script included with <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a>, grabs the URL, Title, and selected text from Safari and assigns them to the indicated variables. This is the essential part of the process, and if this was all the script did, it would be a big timesaver. But, I wanted to see if I could get more out of it.</p>

<div class="highlight"><pre><code class="applescript"><span class="k">set</span> <span class="nv">modTitle</span> <span class="k">to</span> <span class="na">text returned</span> <span class="k">of</span> <span class="p">(</span><span class="nb">display dialog</span> <span class="s2">&quot;Modify the title:&quot;</span> <span class="nv">with</span> <span class="na">title</span> <span class="s2">&quot;Modify Title&quot;</span> <span class="nv">default</span> <span class="nv">answer</span> <span class="nv">pageTitle</span> <span class="nb">buttons</span> <span class="p">{</span><span class="s2">&quot;OK&quot;</span><span class="p">}</span> <span class="nv">default</span> <span class="nb">button</span> <span class="mi">1</span><span class="p">)</span>
</code></pre>
</div>


<p>This bit of code will open a dialog box asking to modify the page title. Some page titles are lengthy, and this bit allow me to shorten it up to what I want.</p>

<div class="highlight"><pre><code class="applescript"><span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;System Events&quot;</span>
    <span class="nb">set the clipboard to</span> <span class="s2">&quot;[&quot;</span> <span class="o">&amp;</span> <span class="nv">pageTitle</span> <span class="o">&amp;</span> <span class="s2">&quot;]&quot;</span> <span class="o">&amp;</span> <span class="s2">&quot;(&quot;</span> <span class="o">&amp;</span> <span class="nv">pageURL</span> <span class="o">&amp;</span> <span class="s2">&quot;)&quot;</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="s2">&quot;&gt;&quot;</span> <span class="o">&amp;</span> <span class="nv">selectedText</span> <span class="o">&amp;</span> <span class="nv">LF</span> <span class="o">&amp;</span> <span class="nv">LF</span>
<span class="k">end</span> <span class="k">tell</span>
</code></pre>
</div>


<p>This part copies a <a href="http://daringfireball.net/projects/markdown/">Markdown</a> formatted link to the clipboard. It includes an href to the article as well as a blockquote of the selected text.</p>

<p>Now that I&rsquo;ve got what I want to include in the link list in the clipboard, the next step is to create a new post in the Jekyll system I have setup. Thanks to <a href="http://gist.github.com/100171">this bit</a> of Ruby code, compliments of <a href="http://al3x.net/">Alex Payne</a>, a shell script call to the Ruby program will create the file with the necessary markup.</p>

<div class="highlight"><pre><code class="applescript"><span class="nb">do shell script</span> <span class="s2">&quot;ruby ~/bin/newlink.rb &quot;</span> <span class="o">&amp;</span> <span class="nb">quoted form</span> <span class="k">of</span> <span class="nv">modTitle</span>
</code></pre>
</div>


<p>The next step is to paste in the clipboard data and type any other comments I have.</p>

<p>It may seem like a lot of effort, but it only takes a few seconds to generate the link list item. I’m sure there is a more efficient way to do this, and I’m looking forward to figuring one out.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>The Search is Over</title>
  <link href="http://kevrodg.net/2010/02/24/the-search-is-over/"/>
   <updated>2010-02-24T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2010/02/24/the-search-is-over</id>
   <content type="html"><![CDATA[<p>When I was twelve, we didn&rsquo;t have cable television, so if we wanted to see any music videos, we waited for NBC&rsquo;s <a href="http://en.wikipedia.org/wiki/Friday_Night_Videos">Friday Night Videos</a>. On one particular Friday night, the video for Survivor&rsquo;s &ldquo;The Search is Over&rdquo; was scheduled. The cool thing about this is my Uncle Alex (UA) is in the video. So on that particular Friday night, me, my brother (Hey brother!), my mom, and my grandma gathered around the T.V. to catch a glimpse of UA on the small screen. When his scene finally arrived, my mom or grandma jumped up and shouted, “There&rsquo;s Al! There&rsquo;s Al!” We captured the moment on VHS and watched the video over and over for the next several weeks. That videotape has since been lost, broken, or erased. Not that it matters, I don&rsquo;t have a VCR I could play it on now anyway. But thanks to the Internet, I was able to locate a decent clip of the video. It was quite a search, but now it&rsquo;s over.</p>

<p><video width="320" height="240" controls title="A video snippet of Survivor's The Search is Over music video.">
  <source src="/misc/2010/02/ua-clip.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
  <source src="/misc/2010/02/ua-clip.ogv" type='video/ogg; codecs="theora, vorbis"'>
</video></p>

<p>UA is the guy answering the phone in the video and today is his birthday. Happy Birthday UA!</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>A Picture Please</title>
  <link href="http://kevrodg.net/2009/12/23/a-picture-please/"/>
   <updated>2009-12-23T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2009/12/23/a-picture-please</id>
   <content type="html"><![CDATA[<p>This website is coming along and now I want to test a post with a picture in it.</p>

<p><img src="/misc/2009/12/os-x-mail.png" alt="A screenshot of OS X Mail with the menu bar collapsed and the preview pane minimized." /></p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
 <entry>
  <title>Syntax Highlighting Test</title>
  <link href="http://kevrodg.net/2009/11/18/syntax-highlight-test/"/>
   <updated>2009-11-18T00:00:00-05:00</updated>
   <id>http://kevrodg.net/2009/11/18/syntax-highlight-test</id>
   <content type="html"><![CDATA[<p>Apparently, <a href="http://jekyllrb.com/">Jekyll</a> can use <a href="http://pygments.org/">Pygments</a> to highlight the syntax of code. This seems like it would be cool, so let’s see if I can get it to work. The following is the AppleScript I use to move a message to the @action mailbox.</p>

<div class="highlight"><pre><code class="applescript"><span class="k">tell</span> <span class="nb">application</span> <span class="s2">&quot;Mail&quot;</span>
 <span class="nv">move</span> <span class="nv">selection</span> <span class="k">to</span> <span class="nv">mailbox</span> <span class="s2">&quot;@action&quot;</span>
<span class="k">end</span> <span class="k">tell</span>
</code></pre>
</div>


<p>So, did it work? Fire it up and let’s have a look see.</p>

    
 ]]>
   </content>
   <author>
     <name>Kev Rodgers</name>
     <uri>http://kevrodg.net/about/</uri>
   </author>
 </entry>
 
</feed>
