<?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"
	>

<channel>
	<title>YAB &#187; 2008 &#187; February</title>
	<atom:link href="http://blog.alexgirard.com/2008/02/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alexgirard.com</link>
	<description>Yet Another Blog</description>
	<pubDate>Sat, 15 Nov 2008 01:14:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>[Git] Gitorious on Ubuntu</title>
		<link>http://blog.alexgirard.com/git-gitorious-on-ubuntu/</link>
		<comments>http://blog.alexgirard.com/git-gitorious-on-ubuntu/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 18:56:23 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[gitorious]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/2008/02/28/git-gitorious-on-ubuntu/</guid>
		<description><![CDATA[This is the bash history to install and run Gitorious on a Ubuntu server (you need ruby-dev, rails, mongrel and git-core installed to continue).
Some pitfalls:

Texpow is not installing because of Onigurama, so download it and build it from sources
Problem: &#8220;cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/lib/oregexp.so&#8220;. Solution: sudo ldconfig


git clone [...]]]></description>
			<content:encoded><![CDATA[<p>This is the bash history to install and run <a href="http://gitorious.org">Gitorious</a> on a Ubuntu server (you need ruby-dev, rails, mongrel and git-core installed to continue).</p>
<p>Some pitfalls:</p>
<ul>
<li>Texpow is not installing because of Onigurama, so download it and build it from sources</li>
<li>Problem: &#8220;<em>cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/lib/oregexp.so</em>&#8220;. Solution: <strong>sudo ldconfig</strong></li>
</ul>
<pre class='prettyprint'>
git clone git://gitorious.org/gitorious/mainline.git  gitorious
cd gitorious
sudo apt-get install libopenssl-ruby1.8
sudo gem install mime-types textpow -y
cp config/gitorious.sample.yml config/gitorious.yml; nano config/gitorious.yml
nano config/database.yml
rake db:migrate
mongrel_rails start
</pre>
<p>Then open your browser to <a href="http://localhost:3000">http://localhost:3000</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/git-gitorious-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Ruby] Behaviour Driven Development with RSpec</title>
		<link>http://blog.alexgirard.com/ruby-behaviour-driven-development-with-rspec/</link>
		<comments>http://blog.alexgirard.com/ruby-behaviour-driven-development-with-rspec/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 21:50:23 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[feevy]]></category>

		<category><![CDATA[merb]]></category>

		<category><![CDATA[rspec]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/2008/02/24/ruby-behaviour-driven-development-with-rspec/</guid>
		<description><![CDATA[During the rewritting of Feevy.com with Merb, I&#8217;m discovering RSpec, a framework to be sure your code behave nicely.
Follow and join Feevy rewrite on Gitorious
Instead of normal test-units, you describe how your app/model should behave, which give a more-human conversation when you read your test:

  it "should create a feed from website http://blog.feevy.com" do

 [...]]]></description>
			<content:encoded><![CDATA[<p>During the rewritting of <a href="http://feevy.com">Feevy.com</a> with <a href="http://merbivore.com">Merb</a>, I&#8217;m discovering <a href="http://rspec.info">RSpec</a>, a framework to be sure your code behave nicely.</p>
<p><a href="http://gitorious.org/projects/feevy">Follow and join Feevy rewrite on Gitorious</a></p>
<p>Instead of normal test-units, you describe how your app/model should behave, which give a more-human conversation when you read your test:</p>
<pre class="prettyprint">
  it "should create a feed from website http://blog.feevy.com" do

    feed = Feed.new :website => "http://blog.feevy.com"

    feed.valid?(:save).should == true

    feed.link.should == "http://blog.feevy.com/feed/"
    feed.website.should == "http://blog.feevy.com"
    feed.title.should == "Feevy Blog"

  end
</pre>
<p>To re-initialize your database between each test:</p>
<pre class="prettyprint">
  before(:each) do
      Feed.delete_all
  end
</pre>
<p>Next step: <a href="http://dannorth.net/whats-in-a-story">writing Feevy stories</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/ruby-behaviour-driven-development-with-rspec/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Wordpress] Latest images attachment widget</title>
		<link>http://blog.alexgirard.com/wordpress-latest-images-attachment-widget/</link>
		<comments>http://blog.alexgirard.com/wordpress-latest-images-attachment-widget/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 12:17:46 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[widget]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[attachment]]></category>

		<category><![CDATA[pictures]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/2008/02/16/wordpress-latest-images-attachment-widget/</guid>
		<description><![CDATA[Quick and dirty, a simple widget to display latest images attachment with a link to related post.
Update, more widget options::

Change Title
Set picture count
Set link destination to post or file
Select category to display

Attachement Viewer widget on Wordpress Extend
]]></description>
			<content:encoded><![CDATA[<p>Quick and dirty, a simple widget to display latest images attachment with a link to related post.</p>
<p>Update, more widget options::</p>
<ul>
<li>Change Title</li>
<li>Set picture count</li>
<li>Set link destination to post or file</li>
<li>Select category to display</li>
</ul>
<p><a href='http://wordpress.org/extend/plugins/attachment-viewer/' title='Attachement Viewer widget'>Attachement Viewer widget on Wordpress Extend</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/wordpress-latest-images-attachment-widget/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
