<?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>Sam Pierson&#039;s Blog &#187; Tidbits</title>
	<atom:link href="http://sampierson.com/blog/category/tidbits/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ActionController::Base.helpers proxy</title>
		<link>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/</link>
		<comments>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 16:08:07 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[railscast]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=283</guid>
		<description><![CDATA[Tidbit from RailsCast 132:
ActionController::Base.helpers is a proxy object you can use to access Rails view helpers, outside of views, e.g.:


1
ActionController::Base.helpers.pulralize(products.count, 'product')

]]></description>
			<content:encoded><![CDATA[<p>Tidbit from <a href="http://railscasts.com/episodes/132-helpers-outside-views">RailsCast 132</a>:</p>
<p>ActionController::Base.helpers is a proxy object you can use to access Rails view helpers, outside of views, e.g.:<br />
<br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">ActionController::Base.helpers.pulralize(products.count, 'product')</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>helper_method</title>
		<link>http://sampierson.com/blog/software-development/helper_method/</link>
		<comments>http://sampierson.com/blog/software-development/helper_method/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 17:21:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[railscast]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=212</guid>
		<description><![CDATA[Railscast 20 reminded me that

helper_method :name

makes controller method name available in views.
]]></description>
			<content:encoded><![CDATA[<p>Railscast 20 reminded me that</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">helper_method <span style="color:#ff3333; font-weight:bold;">:name</span></pre></div></div>

<p>makes controller method <em>name</em> available in views.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/software-development/helper_method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac os x screenshots</title>
		<link>http://sampierson.com/blog/system-administration/mac-os-x-screenshots/</link>
		<comments>http://sampierson.com/blog/system-administration/mac-os-x-screenshots/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 13:27:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=206</guid>
		<description><![CDATA[As described here, Command-Shift-4 will capture a dragged area of the screen and save it to a file.
Command-Shift-3 will capture the entire screen, or if you have SnapProX running, it activates it.
]]></description>
			<content:encoded><![CDATA[<p>As described <a href="http://digitalmedia.oreilly.com/2006/01/01/mac-os-x-screenshot-secrets.html">here</a>, Command-Shift-4 will capture a dragged area of the screen and save it to a file.</p>
<p>Command-Shift-3 will capture the entire screen, or if you have SnapProX running, it activates it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/mac-os-x-screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard screen sharing built-in</title>
		<link>http://sampierson.com/blog/system-administration/leopard-screen-sharing-built-in/</link>
		<comments>http://sampierson.com/blog/system-administration/leopard-screen-sharing-built-in/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 20:02:33 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=194</guid>
		<description><![CDATA[I keep forgetting where this is, and I can&#8217;t find it in google right now, so lets blog it:  The builtin Screen Sharing tool in Mac OS X Leopard is at:

/System/Library/CoreServices/Screen Sharing.app

Just run it and it will prompt you for a server to connect to.  From the command line use open -a with the [...]]]></description>
			<content:encoded><![CDATA[<p>I keep forgetting where this is, and I can&#8217;t find it in google right now, so lets blog it:  The builtin Screen Sharing tool in Mac OS X Leopard is at:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>System<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>CoreServices<span style="color: #000000; font-weight: bold;">/</span>Screen Sharing.app</pre></div></div>

<p>Just run it and it will prompt you for a server to connect to.  From the command line use <em>open -a</em> with the above path</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/leopard-screen-sharing-built-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing named routes in the rails console</title>
		<link>http://sampierson.com/blog/software-development/testing-named-routes-in-the-rails-console/</link>
		<comments>http://sampierson.com/blog/software-development/testing-named-routes-in-the-rails-console/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:21:15 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=182</guid>
		<description><![CDATA[Just found out how to test named routes in the Rails console here:

script/console
&#62;&#62; app.webpages_url :site =&#62; &#34;foo&#34;
=&#62; &#34;http://www.example.com/foo/webpages&#34;
&#62;&#62;

The mysterious app object is described here.
]]></description>
			<content:encoded><![CDATA[<p>Just found out how to test named routes in the Rails console <a href="http://awprorubyseries.lighthouseapp.com/projects/6454/tickets/105-named-routes-in-console-via-app">here</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">script<span style="color:#006600; font-weight:bold;">/</span>console
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span> app.<span style="color:#9900CC;">webpages_url</span> <span style="color:#ff3333; font-weight:bold;">:site</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;foo&quot;</span>
<span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;http://www.example.com/foo/webpages&quot;</span>
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span></pre></div></div>

<p>The mysterious app object is described <a href="http://clarkware.com/cgi/blosxom/2006/04/04">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/software-development/testing-named-routes-in-the-rails-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to update macports &#8220;recipes&#8221;</title>
		<link>http://sampierson.com/blog/system-administration/how-to-update-macports-recipes/</link>
		<comments>http://sampierson.com/blog/system-administration/how-to-update-macports-recipes/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 02:57:34 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[macports]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=119</guid>
		<description><![CDATA[
sudo port selfupdate

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port selfupdate</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/how-to-update-macports-recipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
