<?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>Sean&#039;s Blog</title>
	<atom:link href="http://seanbehan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Add Additional Sub Directories to the Default Rails Test:Unit File Structure</title>
		<link>http://seanbehan.com/ruby-on-rails/how-to-add-additional-sub-directories-to-the-default-rails-testunit-file-structure/</link>
		<comments>http://seanbehan.com/ruby-on-rails/how-to-add-additional-sub-directories-to-the-default-rails-testunit-file-structure/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 21:44:54 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[rake]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[sub directories]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1496</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script src="https://gist.github.com/1635859.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/how-to-add-additional-sub-directories-to-the-default-rails-testunit-file-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a Date Time Snippet in Sublime Text 2 (Dynamic Signature with Time Stamp)</title>
		<link>http://seanbehan.com/environment/how-to-create-a-date-time-snippet-in-sublime-text-2-dynamic-signature-with-time-stamp/</link>
		<comments>http://seanbehan.com/environment/how-to-create-a-date-time-snippet-in-sublime-text-2-dynamic-signature-with-time-stamp/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 20:45:09 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[environment]]></category>
		<category><![CDATA[date time sublime snippet]]></category>
		<category><![CDATA[signature]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[sublime text 2]]></category>
		<category><![CDATA[text editors]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1493</guid>
		<description><![CDATA[You&#8217;ll have to create a new plugin. From the menu bar select Tools > New Plugin Copy the Python script from the signature.py file. Remember to replace your email address (it&#8217;s example.com). Save the file, signature.py, is fine. Next open up Preferences > Key Bindings &#8211; Default and add a new entry. ctl+alt+s will add [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ll have to create a new plugin. From the menu bar select</p>
<p>Tools > New Plugin</p>
<p>Copy the Python script from the signature.py file. Remember to replace your email address (it&#8217;s example.com).<br />
Save the file, signature.py, is fine. Next open up Preferences > Key Bindings &#8211; Default and add a new entry. </p>
<p>ctl+alt+s will add the snippet to the first line of your file.</p>
<p><script src="https://gist.github.com/1608593.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/environment/how-to-create-a-date-time-snippet-in-sublime-text-2-dynamic-signature-with-time-stamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transform Matching Text with Gsub in Ruby and Regular Expression</title>
		<link>http://seanbehan.com/ruby/transform-matching-text-with-gsub-in-ruby-and-regular-expression/</link>
		<comments>http://seanbehan.com/ruby/transform-matching-text-with-gsub-in-ruby-and-regular-expression/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 21:31:58 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[gsub]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1489</guid>
		<description><![CDATA[Here is a gist that demonstrates how easy it is to transform text using #gsub and a block with Ruby. For more helpful string extensions in Ruby check out our Ruby Gem on GitHub https://github.com/AgilionApps/rails_extensions]]></description>
			<content:encoded><![CDATA[<p>Here is a gist that demonstrates how easy it is to transform text using #gsub and a block with Ruby.</p>
<p><script src="https://gist.github.com/1591261.js?file=gsub.rb"></script></p>
<p>For more helpful string extensions in Ruby check out our Ruby Gem on GitHub <a href="https://github.com/AgilionApps/rails_extensions">https://github.com/AgilionApps/rails_extensions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/transform-matching-text-with-gsub-in-ruby-and-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Output with Test:Unit, AutoTest and Ruby 1.9</title>
		<link>http://seanbehan.com/ruby/color-output-with-testunit-autotest-and-ruby-1-9/</link>
		<comments>http://seanbehan.com/ruby/color-output-with-testunit-autotest-and-ruby-1-9/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 19:31:52 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[autotest]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[workarounds]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1486</guid>
		<description><![CDATA[If you are testing using Test:Unit (rather than RSpec) and you&#8217;re using Ruby 1.9.* colorized output of your tests using Autotest will not be immediately available. Since, 1.9 comes with mini test the test/unit/ui/console/testrunner.rb script is not loaded and not available and will break your tests. The solution is to require Test:Unit version 2.0.0 in [...]]]></description>
			<content:encoded><![CDATA[<p>If you are testing using Test:Unit (rather than RSpec) and you&#8217;re using Ruby 1.9.* colorized output of your tests using Autotest will not be immediately available. Since, 1.9 comes with mini test the test/unit/ui/console/testrunner.rb script is not loaded and not available and will break your tests. </p>
<p>The solution is to require Test:Unit version 2.0.0 in your Gemfile, require the testrunner.rb script in test/test_helper.rb and reopen and implement the guess_color_availability method. </p>
<p><script src="https://gist.github.com/1575327.js"> </script></p>
<p>Then you can just run the autotest command (or bundle exec autotest) from your project directory. When you save a file your tests will be run for the file that has been changed and the results will be fully colorized!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/color-output-with-testunit-autotest-and-ruby-1-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Merge a YAML File Into a Single Hash in Ruby</title>
		<link>http://seanbehan.com/ruby/how-to-merge-a-yaml-file-into-a-single-hash-in-ruby/</link>
		<comments>http://seanbehan.com/ruby/how-to-merge-a-yaml-file-into-a-single-hash-in-ruby/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 19:23:09 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[data structures]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[yaml]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1483</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script src="https://gist.github.com/1571559.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/how-to-merge-a-yaml-file-into-a-single-hash-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class </title>
		<link>http://seanbehan.com/ruby/class/</link>
		<comments>http://seanbehan.com/ruby/class/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 16:02:10 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1464</guid>
		<description><![CDATA[# Define a class with a class method &#34;find&#34; # Usage # Apple.find(&#34;macintosh&#34;) class Apple def self.find(variety) # code goes here end end # Same as above but notice the lack of self prefix before the method name # Usage # Apple.find(&#34;macintosh&#34;) class Apple class &#60;&#60; self def find(variety) # code goes here end end [...]]]></description>
			<content:encoded><![CDATA[<pre class="wp-code-highlight prettyprint">

# Define a class with a class method &quot;find&quot;
# Usage
# Apple.find(&quot;macintosh&quot;)
class Apple
   def self.find(variety)
      # code goes here
   end
end

# Same as above but notice the lack of self prefix before the method name
# Usage
# Apple.find(&quot;macintosh&quot;)
class Apple
   class &lt;&lt; self
      def find(variety)
         # code goes here
      end
   end
end
</pre>
<p>See the full pastie here: <a href="http://pastie.org/2580020">http://pastie.org/2580020</a></p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing GitHub Issue State in Git Commit Message</title>
		<link>http://seanbehan.com/posts/changing-issue-state-in-git-commit-message-for/</link>
		<comments>http://seanbehan.com/posts/changing-issue-state-in-git-commit-message-for/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 23:43:31 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://seanbehan.com/posts/changing-issue-state-in-git-commit-message-for/</guid>
		<description><![CDATA[Changing issue state in git commit message for Github issues fixes #xxx fixed #xxx fix #xxx closes #xxx close #xxx closed #xxx Example git commit -am'complete bug fix closes #123']]></description>
			<content:encoded><![CDATA[<p>Changing issue state in git commit message for Github issues </p>
<pre class="wp-code-highlight prettyprint">
fixes #xxx
fixed #xxx
fix #xxx
closes #xxx
close #xxx
closed #xxx
</pre>
<p>Example</p>
<pre class="wp-code-highlight prettyprint">
git commit -am'complete bug fix closes #123'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/posts/changing-issue-state-in-git-commit-message-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Regex</title>
		<link>http://seanbehan.com/tips-snippets/email-regex/</link>
		<comments>http://seanbehan.com/tips-snippets/email-regex/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 03:38:52 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[tips & snippets]]></category>
		<category><![CDATA[email parsing]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1445</guid>
		<description><![CDATA[Regular Expression that Matches Email Addresses: /\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b/]]></description>
			<content:encoded><![CDATA[<p>Regular Expression that Matches Email Addresses:</p>
<pre class="wp-code-highlight prettyprint">
/\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b/
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/tips-snippets/email-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Tips and Tricks</title>
		<link>http://seanbehan.com/vim/vim-tips-and-tricks/</link>
		<comments>http://seanbehan.com/vim/vim-tips-and-tricks/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 17:29:12 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[text editors]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1434</guid>
		<description><![CDATA[The following tips and tricks can be put into your .vimrc file Remap jj to esc imap jj &#38;lt;Esc&#38;gt; Quickly leave edit mode and back to visual mode with jj. This is probably the fastest key combination possible and one of the most frequent key combinations while editing in vim. Remap semicolon &#8220;;&#8221; nnoremap ; [...]]]></description>
			<content:encoded><![CDATA[<p>The following tips and tricks can be put into your .vimrc file</p>
<p>Remap jj to esc </p>
<pre class="wp-code-highlight prettyprint">imap jj &amp;lt;Esc&amp;gt;</pre>
<p>Quickly leave edit mode and back to visual mode with jj. This is probably the fastest key combination possible and one of the most frequent key combinations while editing in vim.</p>
<p>Remap semicolon &#8220;;&#8221;</p>
<pre class="wp-code-highlight prettyprint">nnoremap ; :</pre>
<p>Instead of shift, semicolon (which produces a colon) just remap the semicolon to a colon while in visual mode. </p>
<p>You can alias commands with vim </p>
<pre class="wp-code-highlight prettyprint">command Tab, :tabnew</pre>
<p>The only caveat is that your alias must start with a capital letter.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/vim/vim-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Upgrade RVM on Mac OS X</title>
		<link>http://seanbehan.com/ruby/how-to-upgrade-rvm-on-mac-os-x/</link>
		<comments>http://seanbehan.com/ruby/how-to-upgrade-rvm-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 00:04:15 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[upgrading]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1431</guid>
		<description><![CDATA[I had an old version of rvm installed and wanted to upgrade. So old in fact that the resource for upgrading no longer existed. rvm update just returned a 301, redirect. Luckily, the following worked # checks out from repo rvm update --head # will reload rvm environment rvm reload # finally, the upgrade command [...]]]></description>
			<content:encoded><![CDATA[<p>I had an old version of rvm installed and wanted to upgrade. So old in fact that the resource for upgrading no longer existed. </p>
<pre class="wp-code-highlight prettyprint">
rvm update
</pre>
<p>just returned a 301, redirect. </p>
<p>Luckily, the following worked</p>
<pre class="wp-code-highlight prettyprint">
# checks out from repo
rvm update --head
# will reload rvm environment
rvm reload
# finally, the upgrade command works!
rvm get latest
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby/how-to-upgrade-rvm-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

