<?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>Me, Myself And I</title>
	<atom:link href="http://palleas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://palleas.com</link>
	<description></description>
	<lastBuildDate>Wed, 16 Mar 2011 07:10:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Associative arrays using YAML for services configuration in Symfony2</title>
		<link>http://palleas.com/2011/03/16/associative-arrays-using-yaml-for-services-configuration-in-symfony2/</link>
		<comments>http://palleas.com/2011/03/16/associative-arrays-using-yaml-for-services-configuration-in-symfony2/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 07:10:40 +0000</pubDate>
		<dc:creator>Palleas</dc:creator>
				<category><![CDATA[Symfony2]]></category>

		<guid isPermaLink="false">http://palleas.com/?p=66</guid>
		<description><![CDATA[Yesterday, I was toying with Symfony2 and its dependency injection container when I ran into a really stupid problem : I was unable to pass an array as an argument of a service class&#8217; constructor. Yes, it is as stupid as it sound. Despite the fact that I previously used XML to describe my services, [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I was toying with <a href="http://symfony.com">Symfony2</a> and its dependency injection container when I ran into a really stupid problem : I was unable to pass an array as an argument of a service class&#8217; constructor. Yes, it is as stupid as it sound. Despite the fact that I previously <a href="https://github.com/Palleas/LifestreamBundle/blob/dev/Resources/config/config.xml">used XML to describe my services</a>, I decided to use YAML for that specific Bundle. Bad idea.</p>
<p>After a couple of minutes, struggling with a stupid piece of YAML, I finally found a solution that made YML looks ugly to me :</p>
<p><script src="https://gist.github.com/870694.js"></script> </p>
<p>As far as I&#8217;m concerned, I think I&#8217;ll agree with <a href="http://twitter.com/caefer">@caefer</a> and <a href="http://test.ical.ly/2011/03/01/do-you-want-yaml-with-the-symfony2-application-i-think-i-prefer-xml-to-go-with-the-bundle/">go back to XML for services configuration</a>. I used to think that being able to choose between YAML, PHP and XML for configuration was convenient only because some people may prefer XML over YML, but not anymore : being able to choose between PHP, XML and YML makes you able to use the syntax <strong>that fits</strong> (XML for services, YML for basic configuration and routing&#8230;).</p>
]]></content:encoded>
			<wfw:commentRss>http://palleas.com/2011/03/16/associative-arrays-using-yaml-for-services-configuration-in-symfony2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SummerCSS : refresh your CSS !</title>
		<link>http://palleas.com/2011/03/02/summercss-refresh-your-css/</link>
		<comments>http://palleas.com/2011/03/02/summercss-refresh-your-css/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 21:44:41 +0000</pubDate>
		<dc:creator>Palleas</dc:creator>
				<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://palleas.com/?p=39</guid>
		<description><![CDATA[(Ok, this is probably one of the crappiest extension name, ever). I&#8217;m working on a project at work which needs me to do some design modifications. I used not to be a big fan of CSS but since I started to play with compass, I must admit it started to be fun. In line with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://palleas.com/wp-content/uploads/2011/03/summercss_github.png"><img src="http://palleas.com/wp-content/uploads/2011/03/summercss_github.png" alt="" title="summercss_github" width="500" class="aligncenter size-full wp-image-41" /></a></p>
<p>(Ok, this is probably one of the crappiest extension name, ever).</p>
<p>I&#8217;m working on a project at work which needs me to do some design modifications. I used not to be a big fan of CSS but since I started to play with <a href="http://compass-style.org/">compass</a>, I must admit it started to be fun. In line with &laquo;&nbsp;Hey my job is cool, I&#8217;m using kick-ass tools&nbsp;&raquo; I needed a Firefox extension which would refresh the loaded CSS in my page. This way, I would be able to see the changes I made without having to wait (too long). I found a couple of extensions and a bookmarklet (thanks to <a href="http://naholyr.fr">naholyr</a>) with the most clever idea ever : adding a &laquo;&nbsp;random&nbsp;&raquo; token to the link tag and let the browser refresh its target. With that In mind I thought it would be nice to finally give a try to jetpack&#8230;</p>
<p>&#8230; and kids, that&#8217;s the story of how I developed my very first Firefox add-on.</p>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/summercss/">See SummerCSS in firefox addons website</a></li>
<li><a href="https://github.com/Palleas/SummerCSS">Do whatever you want with it on github</a></li>
<li><a href="https://jetpack.mozillalabs.com/">Learn more about JetPack</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palleas.com/2011/03/02/summercss-refresh-your-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How I turned a folder into a git submodule</title>
		<link>http://palleas.com/2011/02/02/how-i-turned-a-folder-into-a-git-submodule/</link>
		<comments>http://palleas.com/2011/02/02/how-i-turned-a-folder-into-a-git-submodule/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 19:42:38 +0000</pubDate>
		<dc:creator>Palleas</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://palleas.com/?p=20</guid>
		<description><![CDATA[Today I wanted to share a specific folder on github, and only a folder. The whole application was already versioned by git and there was no point in sharing it, that&#8217;s why I wanted to turn it into a submodule. I asked on twitter what was the best way to do so, as I was [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to share a specific folder on <a href="https://github.com/palleas">github</a>, and only a folder. The whole application was already versioned by git and there was no point in sharing it, that&#8217;s why I wanted to turn it into a submodule. I asked on twitter what was the best way to do so, as I was going to &laquo;&nbsp;mv&nbsp;&raquo; my folder somewhere else and turn it in a new git repository. Problem is, I didn&#8217;t want to loose my history. That&#8217;s when (thanks to <a href="http://twitter.com/#!/korbik">@Korbik</a>) I discovered the <a href="http://progit.org/book/ch6-4.html">filter-branch</a> command which is one of the numerous ways to rewrite a git history.</p>
<pre><code>Palleas% git clone ~/Sites/lifestream/.git ls_tmp
Cloning into ls_tmp...
done.
Palleas% cd ls_tmp
Palleas% git filter-branch --subdirectory-filter \
    src/Application/LifestreamBundle HEAD
Rewrite c27b09db989960909e720d66034073315b3bb968 (16/16)
Ref 'refs/heads/dev' was rewritten
Palleas% git remote add origin [new url]
Palleas% git push origin master</code></pre>
<p>This command permits to change the root directory of a repository. By changing it to the directory I wanted to extract, I was basically saying &laquo;&nbsp;please remove every single commit which is not related to my folder&nbsp;&raquo;. That done, all I had to do was to push it to another remote and add it back to my application but as a submodule this time.</p>
]]></content:encoded>
			<wfw:commentRss>http://palleas.com/2011/02/02/how-i-turned-a-folder-into-a-git-submodule/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

