<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[BrianPattison.com]]></title>
  <link href="http://www.brianpattison.com/atom.xml" rel="self"/>
  <link href="http://www.brianpattison.com/"/>
  <updated>2012-01-03T15:00:50-06:00</updated>
  <id>http://www.brianpattison.com/</id>
  <author>
    <name><![CDATA[Brian Pattison]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[Sync with iTunes While You Sleep]]></title>
    <link href="http://www.brianpattison.com/blog/2012/01/03/sync-with-itunes-while-you-sleep/"/>
    <updated>2012-01-03T13:55:00-06:00</updated>
    <id>http://www.brianpattison.com/blog/2012/01/03/sync-with-itunes-while-you-sleep</id>
    <content type="html"><![CDATA[<p>Wi-Fi syncing in iOS 5 is great when you have iPhone docks everywhere and rarely connect your iPhone to your Mac. iOS 5 almost removes the need to sync at all, but iCloud is missing one feature: it doesn&#8217;t sync downloaded podcasts.</p>

<p>This hack is great for daily syncing of your downloaded podcasts, played status, and listening progress. It will also back up your iOS devices, so I suppose that&#8217;s good too!</p>

<h2>1. Save this AppleScript to a file.</h2>

<div><script src='https://gist.github.com/1283363.js?file='></script>
<noscript><pre><code>tell application &quot;iTunes&quot;
  repeat with s in sources
    if (kind of s is iPod) then update s
  end repeat
end tell</code></pre></noscript></div>


<h2>2. Set up a cron job to run the AppleScript.</h2>

<p>I used <a href="http://code.google.com/p/cronnix/">CronniX</a> to set up the cron job to run the command <code>osascript /path/to/file.scpt</code> every day at 7:00 AM.</p>

<p><img src="http://www.brianpattison.com/images/cronnix.png" alt="CronniX Screen Shot" /></p>

<h2>3. Done.</h2>

<p>That&#8217;s it! Now all of your iOS devices will sync automatically each day as long as they&#8217;re connected to Wi-Fi.</p>

<p><em>New year&#8217;s resolution to write at least one blog post in 2012 complete. See you next year.</em></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[The Problem With 140 Characters]]></title>
    <link href="http://www.brianpattison.com/blog/2011/10/13/the-problem-with-140-characters/"/>
    <updated>2011-10-13T00:45:00-05:00</updated>
    <id>http://www.brianpattison.com/blog/2011/10/13/the-problem-with-140-characters</id>
    <content type="html"><![CDATA[<p>The problem with Twitter&#8217;s 140 character limitation is that it&#8217;s so limiting.
Well, <strong>duh</strong>.</p>

<p>Anyways, my Gists over at <a href="https://gist.github.com/brianpattison">https://gist.github.com/brianpattison</a> started piling
up, and it almost looks like a collection of blog posts. I figured I might as well
post them to a blog, so <strong>here we go!</strong></p>
]]></content>
  </entry>
  
</feed>

