<?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>jpcamargo &#187; code</title>
	<atom:link href="http://jpcamargo.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpcamargo.com</link>
	<description>ruby &#039;mind.rand&#039; &#124; awk &#039;{ print $1 }&#039;</description>
	<lastBuildDate>Mon, 10 May 2010 17:41:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>google profile</title>
		<link>http://jpcamargo.com/2009/09/29/google-profile/</link>
		<comments>http://jpcamargo.com/2009/09/29/google-profile/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 18:11:00 +0000</pubDate>
		<dc:creator>jp</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[geocities]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http:///2009/09/29/google-profile</guid>
		<description><![CDATA[Even if you don&#8217;t care too much about it, I think you should update your google profile.
Just use this link http://www.google.com/profiles and edit your personal information&#8230; All I want is to have my friend&#8217;s birthdays on my google calendar (contacts), without adding it myself :D
]]></description>
			<content:encoded><![CDATA[<p>Even if you don&#8217;t care too much about it, I think you should update your google profile.</p>
<p>Just use this link <a href="http://www.google.com/profiles">http://www.google.com/profiles</a> and edit your personal information&#8230; All I want is to have my friend&#8217;s birthdays on my google calendar (contacts), without adding it myself :D</p>
]]></content:encoded>
			<wfw:commentRss>http://jpcamargo.com/2009/09/29/google-profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>home computing</title>
		<link>http://jpcamargo.com/2009/09/24/home-computing/</link>
		<comments>http://jpcamargo.com/2009/09/24/home-computing/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:52:00 +0000</pubDate>
		<dc:creator>jp</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http:///2009/09/24/home-computing</guid>
		<description><![CDATA[I’ve always had bigger plans than I should for the computer(s) I have at home, now I’m planning on actually using 3 machines, with 4 screens in my personal computer desk. One of them being a TV.
My initial idea was to use a 13&#8243; macbook (with a second monitor) to control 2 other linux machines, [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve always had bigger plans than I should for the computer(s) I have at home, now I’m planning on actually using 3 machines, with 4 screens in my personal computer desk. One of them being a TV.</p>
<p>My initial idea was to use a 13&#8243; macbook (with a second monitor) to control 2 other linux machines, one being an application server, and the other one a media server (on a monitor/TV).</p>
<p>Something like this<br />
<img src="http://jotape.org/assets/2009/9/24/home_screens.png" alt="" /></p>
<p>But I might turn the media server into a hackintosh instead. The app server will be running on an ubuntu jaunty, only accessible via ssh and all that.</p>
<p>After reading more about freenas, it makes me wonder if I should try something with a storage server + media/app server instead… oh well.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpcamargo.com/2009/09/24/home-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>car free day</title>
		<link>http://jpcamargo.com/2009/09/22/car-free-day/</link>
		<comments>http://jpcamargo.com/2009/09/22/car-free-day/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 12:00:00 +0000</pubDate>
		<dc:creator>jp</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http:///2009/09/22/car-free-day</guid>
		<description><![CDATA[I wish&#8230; I bet people are protesting against it. No, seriously, it looks like there are more cars around than a normal day.
Go go http://www.worldcarfree.net/wcfd/ !
]]></description>
			<content:encoded><![CDATA[<p>I wish&#8230; I bet people are protesting against it. No, seriously, it looks like there are more cars around than a normal day.</p>
<p>Go go <a href="http://www.worldcarfree.net/wcfd/">http://www.worldcarfree.net/wcfd/</a> !</p>
]]></content:encoded>
			<wfw:commentRss>http://jpcamargo.com/2009/09/22/car-free-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dual wan routers</title>
		<link>http://jpcamargo.com/2009/09/21/dual-wan-routers/</link>
		<comments>http://jpcamargo.com/2009/09/21/dual-wan-routers/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:03:00 +0000</pubDate>
		<dc:creator>jp</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[htc hero]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[things I want]]></category>

		<guid isPermaLink="false">http:///2009/09/21/dual-wan-routers</guid>
		<description><![CDATA[I&#8217;m looking for a dual wan router, but since it is for my home network, it must be c-h-e-a-p.
I found a D-Link Di-lb604 that seems to solve my problems, but it was discontinued, making it harder to find.
Does anyone know about any other router that satisfies my needs?
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m looking for a dual wan router, but since it is for my home network, it must be c-h-e-a-p.</p>
<p>I found a <a href="http://www.dlink.com/products/?pid=452">D-Link Di-lb604</a> that seems to solve my problems, but it was discontinued, making it harder to find.</p>
<p>Does anyone know about any other router that satisfies my needs?</p>
]]></content:encoded>
			<wfw:commentRss>http://jpcamargo.com/2009/09/21/dual-wan-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git, pushing to multiple repositories</title>
		<link>http://jpcamargo.com/2009/09/21/git-pushing-to-multiple-repositories/</link>
		<comments>http://jpcamargo.com/2009/09/21/git-pushing-to-multiple-repositories/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 21:25:00 +0000</pubDate>
		<dc:creator>jp</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[boat]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dolphin]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http:///2009/09/21/git-pushing-to-multiple-repositories</guid>
		<description><![CDATA[I was looking for a way to keep more than one repository updated when I&#8217;m working on personal projects, don&#8217;t ask. So I found some useful information I&#8217;m going to post here for future reference.
Example part of a &#8220;.git/config&#8221; file:
[remote 'all']
    url=ssh://user&#38;#64;server/repos/g0.git
    url=ssh://user&#38;#64;server/repos/g1.git
    url=ssh://user&#38;#64;server/repos/g2.git
   [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a way to keep more than one repository updated when I&#8217;m working on personal projects, don&#8217;t ask. So I found some useful information I&#8217;m going to post here for future reference.</p>
<p>Example part of a &#8220;.git/config&#8221; file:</p>
<pre><code>[remote 'all']
    url=ssh://user&amp;#64;server/repos/g0.git
    url=ssh://user&amp;#64;server/repos/g1.git
    url=ssh://user&amp;#64;server/repos/g2.git
    url=ssh://user&amp;#64;server/repos/g3.git</code></pre>
<p>With that &#8220;git push all&#8221; should push to all the remotes simultaneously.</p>
<p>If you have:</p>
<pre><code>[branch 'master']
    remote = g0
    merge = refs/heads/master
[remote 'g0']
    url = ssh://user&amp;#64;server/repos/g0.git
    fetch = +refs/heads/*:refs/remotes/g0/*</code></pre>
<p>Then &#8220;pulls&#8221; and &quot;fetch&quot;&#8217;s while on the master branch should only only target <code>ssh://user&amp;#64;server/repos/g0.git</code>.</p>
<p>Better yet:</p>
<pre><code>[branch 'master']
    remote = origin
    merge = refs/heads/master
[remote 'origin']
    url = ssh://user&amp;#64;server/repos/g0.git
    fetch = +refs/heads/*:refs/remotes/g0/*</code></pre>
<p>Then <code>ssh://user&amp;#64;server/repos/g0.git</code> is the default remote (&#8220;origin&#8221;) for pulls and fetches if no remote name is specified.</p>
<p><a href="http://marc.info/?l=git&amp;m=116231242118202&amp;w=2">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jpcamargo.com/2009/09/21/git-pushing-to-multiple-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
