<?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>Jason Lawton&#039;s Blog</title>
	<atom:link href="http://jasonlawton.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasonlawton.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 29 Dec 2011 04:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Question about Shopp</title>
		<link>http://jasonlawton.com/blog/question-about-shopp/</link>
		<comments>http://jasonlawton.com/blog/question-about-shopp/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 04:53:13 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shopp]]></category>
		<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1613</guid>
		<description><![CDATA[Can the shopp plugin present products in their categories but with a breakdown like so? This is how woocommerce does it. First level of categories: Then clicking on &#8220;Functional&#8221; brings up the categories in functional: Then clicking on &#8220;Vases&#8221; finally &#8230; <a href="http://jasonlawton.com/blog/question-about-shopp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Can the shopp plugin present products in their categories but with a breakdown like so? This is how woocommerce does it.</p>
<p>First level of categories:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2011/12/Screen-Shot-2011-12-28-at-11.46.42-PM.png" border="0" alt="Screen Shot 2011 12 28 at 11 46 42 PM" width="311" height="270" /></p>
<p>Then clicking on &#8220;Functional&#8221; brings up the categories in functional:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2011/12/Screen-Shot-2011-12-28-at-11.46.53-PM.png" border="0" alt="Screen Shot 2011 12 28 at 11 46 53 PM" width="327" height="276" /></p>
<p>Then clicking on &#8220;Vases&#8221; finally brings up the items in the &#8220;Vases&#8221; category.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2011/12/Screen-Shot-2011-12-28-at-11.48.59-PM.png" border="0" alt="Screen Shot 2011 12 28 at 11 48 59 PM" width="331" height="323" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/question-about-shopp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamically load content in Twitter Bootstrap modal boxes</title>
		<link>http://jasonlawton.com/blog/dynamically-load-content-in-twitter-bootstrap-modal-boxes/</link>
		<comments>http://jasonlawton.com/blog/dynamically-load-content-in-twitter-bootstrap-modal-boxes/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 03:53:42 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter bootstrap]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1608</guid>
		<description><![CDATA[I’m working on a small personal project, and experimenting with some new (to me) things. I’m using CodeIgniter as a PHP framework and Twitter’s Bootstrap for the layout and design. Bootstrap is actually a conglomeration of other neat concepts nicely &#8230; <a href="http://jasonlawton.com/blog/dynamically-load-content-in-twitter-bootstrap-modal-boxes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I’m working on a small personal project, and experimenting with some new (to me) things. I’m using <a href="http://codeigniter.com">CodeIgniter</a> as a PHP framework and <a href="http://twitter.github.com/bootstrap">Twitter’s Bootstrap</a> for the layout and design. Bootstrap is actually a conglomeration of other neat concepts nicely packaged, one that I’ve already been using, the <a href="http://960gs">960 Grid System</a> (although their’s is slightly modified), and <a href="http://lesscss.org">LESS.css</a> which I’m totally loving.</p>
<p>One of the issues I ran into pretty quickly is Modal dialog boxes. I have a view in my web app where the user is presented with a table of data, and they can click on the table row to edit that data. The edit box is a modal popup that is filled in with the data for them to edit.</p>
<p>While the Bootstrap framework has <a href="http://twitter.github.com/bootstrap/javascript.html#modal">javascript plugins</a> for modal dialog boxes, it doesn’t have a “standard” way of loading content into them, aside from statically.</p>
<p>After googling around I came across two sites that each provided part of the answer I was looking for. The first site I found was at <a href="http://thephuse.com/design-and-usability/clickable-table-rows-with-jquery/">ThePhuse.com</a> were I found an article outlining a good way of implementing clickable table rows. The second site was more specifically about <a href="http://blog.chewxy.com/2011/10/dynamically-loading-content-in-twitter-bootstrap-tabs/">loading dynamic content into Bootstraps&#8217; tabs</a>.</p>
<p>I took the two sites and mashed up the knowledge and came up with the following code:</p>
<pre class="wp-code-highlight prettyprint">
&lt;!-- this is the table that shows the user information --&gt;
&lt;table class=&quot;zebra-striped&quot;&gt;
	&lt;thead&gt;
		&lt;tr&gt;
			&lt;th&gt;#&lt;/th&gt;
			&lt;th&gt;First Name&lt;/th&gt;
			&lt;th&gt;Last Name&lt;/th&gt;
			&lt;th&gt;Email&lt;/th&gt;
		&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
		&lt;?php
		$fields = array('id','first_name','last_name','email');
		foreach ($data as $user) { ?&gt;
		&lt;tr data-href=&quot;/users/edit/&lt;?php echo $user-&gt;id; ?&gt;/1&quot;&gt;
			&lt;?php foreach ($fields as $field) { ?&gt;
			&lt;td&gt;&lt;?php echo $user-&gt;$field; ?&gt;&lt;/td&gt;
			&lt;?php } ?&gt;
		&lt;/tr&gt;
		&lt;?php } ?&gt;
	&lt;/tbody&gt;
&lt;/table&gt;

&lt;!-- this is the placeholder for the modal box --&gt;
&lt;div id=&quot;modal-editUser&quot; class=&quot;modal hide&quot;&gt;
	&lt;!-- content will go here --&gt;
&lt;/div&gt;

&lt;!-- this is the code that makes it all happen --&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
	jQuery( function($) {
		// find all tr's with a data-href attribute
		$('tbody tr[data-href]').click( function() {
			// copy the data-href value to the modal for later use
			$('#modal-editUser').attr('data-href',$(this).attr('data-href'));
			// show the modal window
			$('#modal-editUser').modal({show: true , backdrop : true , keyboard: true});
		}).find('a').hover( function() {
			// unbind it in case I put some a tags in the table row eventually
			$(this).parents('tr').unbind('click');
		}, function() {
			$(this).parents('tr').click( function() {
				// rebind it
				$('#modal-editUser').attr('data-href',$(this).attr('data-href'));
				$('#modal-editUser').modal({show: true , backdrop : true , keyboard: true});
			});
		});

		// when the modal show event fires, load the url that was copied to the data-href attribute
		$('#modal-editUser').bind('show', function() {
			$(this).load($(this).attr('data-href'));
		});
	});
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/dynamically-load-content-in-twitter-bootstrap-modal-boxes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advanced Custom Fields modification</title>
		<link>http://jasonlawton.com/blog/advanced-custom-fields-modification/</link>
		<comments>http://jasonlawton.com/blog/advanced-custom-fields-modification/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 01:37:03 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1607</guid>
		<description><![CDATA[I needed to add an extra function to the Advanced Custom Fields plugin. I&#8217;m posting this here for whenever the plugin gets updated and if the author hasn&#8217;t added this helpful function. /*-------------------------------------------------------------------------------------- * * get_field_label * * @author Jason &#8230; <a href="http://jasonlawton.com/blog/advanced-custom-fields-modification/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I needed to add an extra function to the <a href="http://wordpress.org/extend/plugins/advanced-custom-fields/" target="_blank">Advanced Custom Fields</a> plugin. I&#8217;m posting this here for whenever the plugin gets updated and if the author hasn&#8217;t added this helpful function.</p>
<pre class="wp-code-highlight prettyprint">/*--------------------------------------------------------------------------------------
*
*	get_field_label
*
*	@author Jason Lawton
*	@since 2.1.4
*
*-------------------------------------------------------------------------------------*/

function get_field_label($field_name, $post_id = false, $options = array())
{

	global $post;
	global $wpdb;
	global $acf;

	$return_id = isset($options['return_id']) ? $options['return_id'] : false;

	// tables
	$acf_values = $wpdb-&amp;gt;prefix.'acf_values';
	$acf_fields = $wpdb-&amp;gt;prefix.'acf_fields';
	$wp_postmeta = $wpdb-&amp;gt;prefix.'postmeta';

	if(!$post_id)
	{
		$post_id = $post-&amp;gt;ID;
	}
	elseif($post_id == &quot;options&quot;)
	{
		$post_id = 0;
	}

	$sql = &quot;SELECT f.label, m.meta_value as value, v.id, f.type, f.options, v.sub_field_id, v.order_no
		FROM $wp_postmeta m
		LEFT JOIN $acf_values v ON m.meta_id = v.value
		LEFT JOIN $acf_fields f ON v.field_id = f.id
		WHERE f.name = '$field_name' AND m.post_id = '$post_id' ORDER BY v.order_no ASC&quot;;

	$results = $wpdb-&amp;gt;get_results($sql);

	// no value
	if(!$results)
	{
		return false;
	}

	// normal field
	$field = $results[0];

	// repeater field
	if($field-&amp;gt;type == 'repeater')
	{
		$return_array = array();

		foreach($results as $result)
		{
			$sql2 = &quot;SELECT type, name, options
			FROM $acf_fields
			WHERE id = '$result-&amp;gt;sub_field_id'&quot;;

			$sub_field = $wpdb-&amp;gt;get_row($sql2);

			// format the sub field value
			if($acf-&amp;gt;field_method_exists($sub_field-&amp;gt;type, 'format_value_for_api'))
			{
				if(@unserialize($sub_field-&amp;gt;options))
				{
					$sub_field-&amp;gt;options = unserialize($sub_field-&amp;gt;options);
				}
				else
				{
					$sub_field-&amp;gt;options = array();
				}

				$result-&amp;gt;value = $acf-&amp;gt;fields[$sub_field-&amp;gt;type]-&amp;gt;format_value_for_api($result-&amp;gt;value, $sub_field-&amp;gt;options);
			}

			// only add the value if it is not null or false
			if($result-&amp;gt;value != '' || $result-&amp;gt;value != false)
			{
				if($return_id)
				{
					$return_array[$result-&amp;gt;order_no][$sub_field-&amp;gt;name]['id'] = (int) $result-&amp;gt;id;
					$return_array[$result-&amp;gt;order_no][$sub_field-&amp;gt;name]['value'] = $result-&amp;gt;value;
				}
				else
				{
					$return_array[$result-&amp;gt;order_no][$sub_field-&amp;gt;name] = $result-&amp;gt;value;
				}

			}

		}

		// if empty, just return false
		if(empty($return_array))
		{
			$return_array = false;
		}

		return $return_array;

	}

	$value = $field-&amp;gt;label;

	if($return_id)
	{
		$return_array = array(
			'id'	=&amp;gt;	(int) $field-&amp;gt;id,
			'value'	=&amp;gt;	$value,
		);
		return $return_array;
	}

	return $value;

}</pre>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/advanced-custom-fields-modification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Apps that I use</title>
		<link>http://jasonlawton.com/blog/iphone-apps-that-i-use/</link>
		<comments>http://jasonlawton.com/blog/iphone-apps-that-i-use/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 17:19:22 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1604</guid>
		<description><![CDATA[A friend just got an iPhone, and was wondering what apps were good. Here&#8217;s a list of apps I use. (Yes all of these links go through an affiliate, so if you buy something I *might* get money for it &#8230; <a href="http://jasonlawton.com/blog/iphone-apps-that-i-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A friend just got an iPhone, and was wondering what apps were good. Here&#8217;s a list of apps I use.</p>
<p>(Yes all of these links go through an affiliate, so if you buy something I *might* get money for it one day. I&#8217;m not holding my breath)</p>
<p><strong>My Apps<br />
</strong>How could I have forgotten the apps that I have written?!</p>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fmini-golf-pad%252Fid378132067%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Mini Golf Pad</a> &#8211; Keep score on your iPhone instead of that dumb pencil and paper!</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fdrop-it%252Fid405527388%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">DropIt</a> &#8211; Save files/bookmarks off the internet onto your iPhone</li>
</ul>
<div><strong>Photography</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fcrop-for-free%252Fid317856070%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Crop for Free</a> - Crop a photo in your camera roll</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fid329670577%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Camera+</a> - A better camera app?</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Finstagram%252Fid389801252%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Instagram</a> - Post and share photos with filtered effects</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fhipstamatic%252Fid342115564%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Hipstamatic</a> - Same as Instagram</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fluminance%252Fid443465287%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Luminance</a> - Simple photo editor</li>
</ul>
<div><strong>Note Taking/Todo</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fsimplenote%252Fid289429962%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">SimpleNote</a> - Take notes and sync them to a website, accessible via Notational Velocity on the Mac</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fshopshop-shopping-list%252Fid288350249%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">ShopShop</a> - Shopping list app</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fproducteev%252Fid306289289%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Producteev</a> - My new favorite todo list app</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ftodo%252Fid282778557%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Todo</a> - My divvious favorite todo list app</li>
</ul>
<div><strong>Video Streaming</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fair-video-watch-your-videos%252Fid306550020%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Air Video</a> - THE BEST &#8211; Stream videos from your computer to your iPhone</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fnetflix%252Fid363590051%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Netflix</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Foptimum%252Fid387231038%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Optimum</a> - Watch TV on your iPhone, set the DVR, etc</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fhbo%252Fid343753047%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">HBO</a> - I&#8217;ve actually never used this app</li>
</ul>
<div><strong>Audio</strong></div>
<div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fpocket-casts%252Fid414834813%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Pocket Casts</a> &#8211; A great podcast app, although it&#8217;s buggy in iOS 5 right now</li>
</ul>
</div>
<div><strong>Reading</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Finstapaper%252Fid288545208%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Instapaper</a> - Keeps articles to read later, formats them without all the ad bullshit</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Freeder%252Fid325502379%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Reeder</a> - RSS Reader that doesn&#8217;t crash</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fibooks%252Fid364709193%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">iBooks</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fkindle%252Fid302584613%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Kindle</a> - Sync&#8217;s with your amazon account so you can get a copy of all the books on your Kindle</li>
</ul>
<div><strong>Navigation</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fmotionx-gps-drive%252Fid328095974%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">MotionX GPS Drive</a> - Great GPS, buy the voice guidance for a year for $20</li>
</ul>
<div><strong>Utility</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Finfinitlight%252Fid399277601%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Infinitlight</a> - The only flashlight you&#8217;ll ever need</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fgas-cubby-fuel-economy-mpg%252Fid295905460%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Gas Cubby</a> - Track your gas mileage if you are OCD like me</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Frunkeeper%252Fid300235330%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Runkeeper</a> - Track your workouts if you are OCD like me</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fdropbox%252Fid327630330%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Dropbox</a> - Sync files to the internet</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fboxcar%252Fid321493542%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Boxcar</a> - Notifications to your phone for services you probably haven&#8217;t heard of.</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fiteleport-jaadu-vnc-for-iphone%252Fid286470485%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">iTeleport</a> - Great VNC client for the iPhone</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ffind-my-iphone%252Fid376101648%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Find my iPhone</a> - Find your iPhone (or your wifes)</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fwolframalpha%252Fid334989259%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Wolfram Alpha</a> - Look up ANYTHING &#8211; get stats on it</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fredlaser-barcode-scanner-qr%252Fid312720263%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">RedLaser</a> - Barcode scanner (currently the only app I have that reads QR codes)</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fremote%252Fid284417350%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Remote</a> - Control iTunes on the computer</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fconvert-the-unit-calculator%252Fid325758140%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Convert</a> - Convert units, I use it mostly when cooking</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fsquare%252Fid335393788%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Square</a> - Accept credit card payments</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fchase-mobile-sm%252Fid298867247%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Chase</a> - Access your (my) bank account</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fshazam%252Fid284993459%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Shazam</a> - Identify a song by listening to it</li>
</ul>
<div><strong>Games</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fjetpack-joyride%252Fid457446957%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Jetpack Joyride</a> - You&#8217;re a guy with a jetpack made of machine guns. Need I say more?</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fthe-last-rocket%252Fid429747672%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">The Last Rocket</a> - Cool pixel game where you&#8217;re a rocket, very NES like.</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fzombie-highway%252Fid376412160%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Zombie Highway</a> - You&#8217;re on a highway, shooting zombies</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fhanging-with-friends%252Fid440784937%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Hanging with Friends</a> - Hangman with friends</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fedge%252Fid300896018%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Edge</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fanother-world-20th-anniversary%252Fid460076328%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Another World</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ftiny-tower%252Fid422667065%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Tiny Tower</a> - I am too obsessed with this game</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fsuper-stickman-golf%252Fid397049430%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Super Stick Golf</a> - Fun mini golf-esque game</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fbejeweled-2-blitz%252Fid284832142%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Bejeweled 2</a> - Another addition</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fcarcassonne%252Fid375295479%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Carcassonne</a> - I wish I was better at this game</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fzen-bound-2-universal%252Fid363308208%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Zen Bound 2</a> - For when you want to tie wooden things up while listening to chill music</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ftiny-wings%252Fid417817520%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Tiny Wings</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fsolebon-solitaire%252Fid283179414%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Solebon</a> - The only solitaire game you need</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fdiner-dash-full%252Fid289530584%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Diner Dash</a> - The women love it!</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fmad-skills-motocross%252Fid410229362%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Mad Skills MX</a> - Like Excitebike</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fstrategery%252Fid298908505%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Strategery</a> - Like Risk</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fcrosswords%252Fid284036524%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Crosswords</a> - Like Crossword Puzzles</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fwurdle%252Fid287712243%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Wurdle</a> - Like Boggle</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fcanabalt%252Fid333180061%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Canabalt</a> - The original (?) forever running game</li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fstair-dismount-universal%252Fid326469137%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Stair Dismount</a> - Push a guy down stairs. It&#8217;s awesome.</li>
</ul>
<div><strong>Social</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fmeebo%252Fid351727311%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Meebo</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fechofon-for-twitter%252Fid286756410%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Echofon</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fgoogle%252Fid447119634%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Google+</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fid428851691%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Tweetbot</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ftwitter%252Fid333903271%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Twitter</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ffoursquare%252Fid306934924%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Foursquare</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fgowalla%252Fid304510106%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Gowalla</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Ffacebook%252Fid284882215%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Facebook</a></li>
</ul>
<div><strong>Sports</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fespn-scorecenter%252Fid317469184%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">ESPN Scorecenter</a></li>
</ul>
<div><strong>Other</strong></div>
<ul>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fstarbucks%252Fid331177714%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Starbucks</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fyelp%252Fid284910350%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Yelp</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fimdb-movies-tv%252Fid342792525%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">IMDB</a></li>
<li><a href="http://click.linksynergy.com/fs-bin/stat?id=GZm7nAKgm3s&amp;offerid=146261&amp;type=3&amp;subid=0&amp;tmpid=1826&amp;RD_PARM1=http%253A%252F%252Fitunes.apple.com%252Fus%252Fapp%252Fweatherbug%252Fid281940292%253Fmt%253D8%2526uo%253D4%2526partnerId%253D30" target="_blank">Weatherbug</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/iphone-apps-that-i-use/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dreams</title>
		<link>http://jasonlawton.com/blog/dreams/</link>
		<comments>http://jasonlawton.com/blog/dreams/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 10:21:19 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dreams]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/dreams/</guid>
		<description><![CDATA[The past two nights (mornings really) I&#8217;ve had the weirdest dreams. But they&#8217;re both along the same plot of &#8220;situation you can&#8217;t get out of&#8221;. Monday morning around 5am I had a dream that the earth was being invaded by &#8230; <a href="http://jasonlawton.com/blog/dreams/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The past two nights (mornings really) I&#8217;ve had the weirdest dreams. But they&#8217;re both along the same plot of &#8220;situation you can&#8217;t get out of&#8221;.</p>
<p>Monday morning around 5am I had a dream that the earth was being invaded by aliens and we had to survive. I woke up and couldn&#8217;t fall back to sleep because every time I tried my mind would start racing with ideas an situations on how to survive in this apocalypse. Where would I get a gun, the gun shop down the street. Where would I get medicine, I&#8217;d have to raid the riteaid nearby. And so on, until I got tired of doing that and just got up at 6.</p>
<p>Then this morning a similar dream. This time it was me and a group of people breaking into a hospital/medical facility and stealing money. And then having to escape without getting caught. I wasn&#8217;t even being chased, it was just that I ha to take precautions and plan out situations in case something happened.</p>
<p>It&#8217;s not only weird that I remember my dreams, I never do, but it&#8217;s weird that I remember them two days in a row, and that they&#8217;re basically the same dream.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/dreams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting Media into iTunes</title>
		<link>http://jasonlawton.com/blog/sorting-media-into-itunes/</link>
		<comments>http://jasonlawton.com/blog/sorting-media-into-itunes/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 03:14:01 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[appletv]]></category>
		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1597</guid>
		<description><![CDATA[I recently bought an Apple TV, and I totally love it. But in order to watch stuff on it, I needed to convert a lot of files to its m4v format. To do so, I followed this tutorial in three &#8230; <a href="http://jasonlawton.com/blog/sorting-media-into-itunes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently bought an Apple TV, and I totally love it. But in order to watch stuff on it, I needed to convert a lot of files to its m4v format. To do so, I followed this tutorial in three parts:</p>
<p><a href="http://www.mactalk.com.au/content/organising-media-hazel-part-1-1017/">﻿http://www.mactalk.com.au/content/organising-media-hazel-part-1-1017/</a></p>
<p><a href="http://www.mactalk.com.au/content/organising-media-hazel-pt-2-986/">http://www.mactalk.com.au/content/organising-media-hazel-pt-2-986/</a></p>
<p><a href="http://www.mactalk.com.au/content/organising-media-hazel-pt-3-1024/">﻿http://www.mactalk.com.au/content/organising-media-hazel-pt-3-1024/</a></p>
<p>I haven&#8217;t done part three with the renaming yet, and I had to hack some scripts to take care of FLAC conversion to MP3s, and then I&#8217;m using HandBrakeCLI to convert files instead of Quicktime, but it&#8217;s working out really well. I&#8217;ll have to expand on it when I get some more time.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/sorting-media-into-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set a value in a View Controller from the Application Delegate</title>
		<link>http://jasonlawton.com/blog/set-a-value-in-a-view-controller-from-the-application-delegate/</link>
		<comments>http://jasonlawton.com/blog/set-a-value-in-a-view-controller-from-the-application-delegate/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 12:06:23 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1593</guid>
		<description><![CDATA[I was stuck on this for a bit, so I&#8217;m posting it here for my own needs really. If  you have an app that needs content set up when it loads, you might want to use -viewDidLoad. The problem with &#8230; <a href="http://jasonlawton.com/blog/set-a-value-in-a-view-controller-from-the-application-delegate/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was stuck on this for a bit, so I&#8217;m posting it here for my own needs really.</p>
<p>If  you have an app that needs content set up when it loads, you might want to use -viewDidLoad. The problem with that is that now that there&#8217;s multitasking in iOS, -viewDidLoad doesn&#8217;t get called all the time when the app &#8220;starts&#8221;. Instead, what you want to use is -applicationDidBecomeActive:</p>
<p>Let&#8217;s say i have a view named MainViewController, and a label (input area) on the view called targetURL, and when the app becomes active I want to set that URL from some datasource, here&#8217;s how to do it:</p>
<blockquote>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">- (<span style="color: #cd00a3;">void</span>)applicationDidBecomeActive:(<span style="color: #7925ac;">UIApplication</span> *)application</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008b00;"><span style="color: #e50000;"><span style="color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #430083;"><span style="color: #000000;"><span style="white-space: pre;"> </span>&#8230; code to get data &#8230;</span></span></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;"><span style="color: #3a8288;"><span style="color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #cd00a3;">self</span><span style="color: #000000;">.</span>mainViewController<span style="color: #000000;">.</span>targetURL<span style="color: #000000;">.</span><span style="color: #7925ac;">text</span><span style="color: #000000;"> = someData;</span></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">}</p>
</blockquote>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/set-a-value-in-a-view-controller-from-the-application-delegate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with iOS clipboard</title>
		<link>http://jasonlawton.com/blog/dealing-with-ios-clipboard/</link>
		<comments>http://jasonlawton.com/blog/dealing-with-ios-clipboard/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 17:37:55 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1591</guid>
		<description><![CDATA[I want to make Drop It even better, version 1.0 was a &#8220;just get it done and in the store&#8221; kind of deal. Now it&#8217;s time to make it better. Step 1, make it so you don&#8217;t have to paste &#8230; <a href="http://jasonlawton.com/blog/dealing-with-ios-clipboard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I want to make Drop It even better, version 1.0 was a &#8220;just get it done and in the store&#8221; kind of deal. Now it&#8217;s time to make it better. Step 1, make it so you don&#8217;t have to paste the url in there if you&#8217;ve already copied it. I know, it&#8217;s not that big a deal, but if an app can remove one step from the process that you&#8217;re going to do anyway, then the app makes your life just a little bit easier, and that provides a positive user experience.</p>
<p>I ended up using <a href="http://mobileorchard.com/new-in-iphone-30-tutorial-series-part-3-copy-paste-with-uipasteboard/">this page on MobileOrchard</a> to figure out how to grab the contents of the clipboard (or pasteboard, in iOS terms).</p>
<blockquote><p>UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];</p></blockquote>
<p>And then to get the contents of the latest copied string:</p>
<blockquote><p>NSString *string = pasteboard.string;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/dealing-with-ios-clipboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Post Types in WordPress 3.0 Links</title>
		<link>http://jasonlawton.com/blog/custom-post-types-in-wordpress-3-0-links/</link>
		<comments>http://jasonlawton.com/blog/custom-post-types-in-wordpress-3-0-links/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 03:00:15 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1589</guid>
		<description><![CDATA[One of the major improvements in WordPress 3.0 is the addition of Custom Post Types. This basically allows you to add a bit of code via the functions.php file, or better yet, through a plugin that let&#8217;s you create your &#8230; <a href="http://jasonlawton.com/blog/custom-post-types-in-wordpress-3-0-links/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the major improvements in WordPress 3.0 is the addition of Custom Post Types. This basically allows you to add a bit of code via the functions.php file, or better yet, through a plugin that let&#8217;s you create your own content type that is tailored to your (and your clients) needs. In this post I&#8217;ll outline the pages that helped me write my first plugin and post type.</p>
<p>Here&#8217;s WordPress&#8217;s documentation for <a href="http://codex.wordpress.org/Custom_Post_Types">Custom Post Types</a></p>
<p>These <a href="http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0/">two</a> <a href="http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/?allcomments">pages</a> offer a good walk-through of creating a Custom Post Type and how to customize the columns on the manage page for those posts. It covers creating the post type, as well as adding meta boxes and customizing the manage page.</p>
<p>Justin Tadlock offers a <a href="http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress">great rundown</a> of all the options available when creating the post type.</p>
<p>Here&#8217;s WordPress documentation on <a href="http://codex.wordpress.org/Writing_a_Plugin">Writing a Plugin</a>.</p>
<p>This <a href="http://cogdogblog.com/2010/06/06/put-on-your-hazmat-suits/">post</a> helped me figure out how to get meta data onto the manage post page. Hint, it&#8217;s get_post_meta(post_id, key, true)</p>
<p>These two excellent posts helped me the most, <a href="http://wptheming.com/2010/08/custom-metabox-for-post-type/">adding a custom metabox</a>, and <a href="http://wptheming.com/2010/08/how-to-make-an-events-custom-post-type/">creating an event custom post type</a> (which was actually what i was doing)</p>
<p>Here&#8217;s a crazy post about <a href="http://www.deluxeblogtips.com/2010/04/how-to-create-meta-box-wordpress-post.html">making better meta boxes</a>, but it&#8217;s over my head right now.</p>
<p>Apparently any time someone says &#8220;Add this code to functions.php&#8221; that means that you can also add the code to your plugin page. I did to get my custom post types on the homepage, using the code from <a href="http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page">Justin Tadlock</a>.</p>
<p>When using permalinks, I had to fix my plugin to be called on the &#8216;init&#8217; function, which I discovered via <a href="http://wordpress.org/support/topic/upgrading-to-version-30-must-read#post-1556621">this page</a>.</p>
<p>I wanted to add a new &#8220;single-&lt;post type&gt;.php&#8221; page, but I didn&#8217;t want it to go in a theme folder. I wanted it to be in the plugin directly. After a little googling and searching, I found the code to do it on <a href="http://codex.wordpress.org/Plugin_API/Filter_Reference/_single_template">WordPress&#8217; own site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/custom-post-types-in-wordpress-3-0-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing UISlider in iPhone</title>
		<link>http://jasonlawton.com/blog/customizing-uislider-in-iphone/</link>
		<comments>http://jasonlawton.com/blog/customizing-uislider-in-iphone/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 02:57:53 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[developement]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[uislider]]></category>

		<guid isPermaLink="false">http://jasonlawton.com/blog/?p=1587</guid>
		<description><![CDATA[Go from this&#8230; To this! I&#8217;m writing an app where I needed to make the thumb nub of a slider (UISlider in the Objective-C vernacular) smaller. Above: On the left is the UISlider thumb normal size, and on the right &#8230; <a href="http://jasonlawton.com/blog/customizing-uislider-in-iphone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Go from this&#8230;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2010/07/boring-slider.png" border="0" alt="boring slider" width="310" height="117" /></p>
<p>To this!</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2010/07/less-boring-slider.png" border="0" alt="less boring slider" width="305" height="93" /></p>
<p>I&#8217;m writing an app where I needed to make the thumb nub of a slider (UISlider in the Objective-C vernacular) smaller.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://jasonlawton.com/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-10-at-6.39.30-PM.png" border="0" alt="UISlider thumbs" width="382" height="178" /></p>
<p>Above: On the left is the UISlider thumb normal size, and on the right is the size I want. Obviously the pic is blown up.</p>
<p>To change the slider thumb to our custom image, place the following code in viewDidLoad:</p>
<blockquote><p>UIImage *sliderThumb = [UIImage imageNamed:@"uislider-thumb.png"];<br />[slider setThumbImage:sliderThumb forState:UIControlStateNormal];<br />[slider setThumbImage:sliderThumb forState:UIControlStateHighlighted];﻿</p></blockquote>
<p>If you don&#8217;t add the second setThumbImage: forState:UIControlStateHighlighted, I believe the thumb pic will disappear when you put your finger on it. Not that you&#8217;d be able to tell, since your fingers will be covering it.</p>
<p>When I ran this code I ran into a weird issue, the track disappeared! This only happened in iOS 3.1.3 (where I tested it) but not on iOS 4.0. To remedy this I decided to go the whole way and customize the track images as well. Yes, images plural, there are actually two images that make up the UISlider track. One is the minimum image, or the track image that appears to the left of the thumb, and the other is the maximum image, or the image that appears to the right of the thumb.</p>
<p>To change the track image for the UISlider, use this code, again in viewDidLoad:</p>
<blockquote><p>UIImage *sliderMinimum = [[UIImage imageNamed:@"uislider-left.png"] stretchableImageWithLeftCapWidth:4 topCapHeight:0];<br />[slider setMinimumTrackImage:sliderMinimum forState:UIControlStateNormal];<br />UIImage *sliderMaximum = [[UIImage imageNamed:@"uislider-right.png"] stretchableImageWithLeftCapWidth:4 topCapHeight:0];<br />[slider setMaximumTrackImage:sliderMaximum forState:UIControlStateNormal];</p></blockquote>
<p>A small note here, the leftCapWidth is the width of the left side of the image, and the track is a 1 pixel wide slice repeated horizontally across the width of the track, and then the rightCapWidth is the same as the leftCapWidth. This might lead you to believe that you can make an image that is a minimum of 3px wide. 1 pixel border on the left and right, and 1 pixel in the middle. I tried it, and it didn&#8217;t really work out too well, so what I ended up doing was making it 9 pixels wide and setting the leftCapWidth to 4.</p>
<p>That&#8217;s all you really need to get started customizing your sliders. Obviously you need to make a slider either in a NIB and hook it up in the .h/.m file, or do it programmatically in the .h/.m file.</p>
<p>Hope this helps!</p>
<p>This article was the jumping off point for me to customize the slider: <a href="http://www.applausible.com/blog/?p=250">http://www.applausible.com/blog/?p=250﻿</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jasonlawton.com/blog/customizing-uislider-in-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

