<?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>Mio Blogo</title>
	<atom:link href="http://www.paglayan.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paglayan.com/blog</link>
	<description>YAB (yet another blog)</description>
	<lastBuildDate>Thu, 03 Dec 2009 14:44:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>recursive search and replace with grep and sed</title>
		<link>http://www.paglayan.com/blog/2009/12/recursive-search-and-replace-with-grep-and-sed/</link>
		<comments>http://www.paglayan.com/blog/2009/12/recursive-search-and-replace-with-grep-and-sed/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 14:44:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby, Rails & Prg]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=38</guid>
		<description><![CDATA[grep will do a first find and return the matched file names
xargs will pass each file name with its path to sed
and obviously sed will edit inline and replace the contents
grep -rl &#8220;oldword&#8221; ./  &#124; xargs sed -i  &#8217;s/oldword/newword/&#8217;
]]></description>
			<content:encoded><![CDATA[<p>grep will do a first find and return the matched file names<br />
xargs will pass each file name with its path to sed<br />
and obviously sed will edit inline and replace the contents</p>
<p>grep -rl &#8220;oldword&#8221; ./  | xargs sed -i  &#8217;s/oldword/newword/&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/12/recursive-search-and-replace-with-grep-and-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu bootable RAID 10 how to</title>
		<link>http://www.paglayan.com/blog/2009/11/ubuntu-bootable-raid-10-how-to/</link>
		<comments>http://www.paglayan.com/blog/2009/11/ubuntu-bootable-raid-10-how-to/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 17:00:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby, Rails & Prg]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=34</guid>
		<description><![CDATA[how to install ubuntu server on raid 10
Provided you have 4 hard drives,
boot on any live disk
open a console
Partition your four disk all the same
Repeat these steps for your four disks,
using the appropriate devices: e.g. sda, sdb, sdc, sdd,
fdisk /dev/sda
n p 1 (and pick enough space for boot)
t 1 fd (makes the partition Linux auto [...]]]></description>
			<content:encoded><![CDATA[<p>how to install ubuntu server on raid 10</p>
<p>Provided you have 4 hard drives,</p>
<p>boot on any live disk<br />
open a console</p>
<p>Partition your four disk all the same</p>
<p>Repeat these steps for your four disks,<br />
using the appropriate devices: e.g. sda, sdb, sdc, sdd,</p>
<p>fdisk /dev/sda<br />
n p 1 (and pick enough space for boot)<br />
t 1 fd (makes the partition Linux auto array)<br />
a 1 (makes the partition bootable)<br />
n p 2 (and pick most of space, leave enough for swap on the next one)<br />
t 2 fd<br />
n p 3 (and pick the rest of space, this one will be swap)<br />
t 3 fd<br />
w (writes partition table and exits)<br />
(eof repeat for sdb, sdc, sdd)</p>
<p>so now you&#8217;ll have /dev/sda1 /dev/sda2 and /dev/sda3<br />
and so on for sdb sdc and sdd after doing partitioning for all the four disks,</p>
<p>now create the raid devices,</p>
<p>mdadm &#8211;create /dev/md0 &#8211;level=1 &#8211;raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1<br />
(these are all the bootable ones, will be set for /boot later, note that is array 1 )</p>
<p>mdadm &#8211;create /dev/md1 &#8211;level=10 &#8211;raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2<br />
(these are for /, will be set later)</p>
<p>mdadm &#8211;create /dev/md2 &#8211;level=10 &#8211;raid-devices=4 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3<br />
(these are the swap)</p>
<p>now format the array devices<br />
just format them,<br />
do not ever think on putting a partition on top of an md device</p>
<p>mkfs.ext3 /dev/md0<br />
mkfs.ext3 /dev/md1<br />
mkswap /dev/md2</p>
<p>after that,<br />
reboot using your install drive,<br />
when going to partition, select manual,<br />
it won&#8217;t see the devices,<br />
click on manage array options and then on finish,<br />
this is so the installer loads the array tools,<br />
it will go back to partition dialog and will show the three devices devices now,</p>
<p>pick the first one, tell to use ext3 and mountpoint /boot<br />
pick the second one, tell to use ext3 and mountpoint /<br />
pick the third one, use as swap</p>
<p>note that you don&#8217;t need to format, because you already did.<br />
and if you try formatting it will confuse the installer.</p>
<p>ok with the warnings and it will install like nothing happended<br />
will boot from /dev/md0 which is an array 1 without problems,<br />
and will use the rest of the system as array10</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/11/ubuntu-bootable-raid-10-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stimulus money, again.</title>
		<link>http://www.paglayan.com/blog/2009/11/stimulus-money-again/</link>
		<comments>http://www.paglayan.com/blog/2009/11/stimulus-money-again/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 04:07:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Politics and other controversial stuff]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=31</guid>
		<description><![CDATA[Stimulus money.
Big and complex. If easy, it wouldn&#8217;t be such a drag nor material for intense debate.
Some abstractions can be made to see it simply and get at least a bit from it. Figure this: Bank lends to Person. Person cannot pay. Person loses house. Bank loses money. Bank can go kaput. Government gives people [...]]]></description>
			<content:encoded><![CDATA[<p>Stimulus money.</p>
<p>Big and complex. If easy, it wouldn&#8217;t be such a drag nor material for intense debate.<br />
Some abstractions can be made to see it simply and get at least a bit from it. Figure this: Bank lends to Person. Person cannot pay. Person loses house. Bank loses money. Bank can go kaput. Government gives people tax money to dumb Bank. Bank&#8217;s saved. Person&#8217;s not. How lame. That without considering the government overhead that implies giving money to the bank. What if the government just lends the money to Person? A win-win probably?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/11/stimulus-money-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell vim and screen pair programming</title>
		<link>http://www.paglayan.com/blog/2009/11/shell-vim-and-screen-pair-programming/</link>
		<comments>http://www.paglayan.com/blog/2009/11/shell-vim-and-screen-pair-programming/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 21:18:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby, Rails & Prg]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=28</guid>
		<description><![CDATA[allow screen to support sharing
#&#62;sudo chmod u+s /usr/bin/screen
#&#62;sudo chmod 755 /var/run/screen
set a guest user account in the host machine
screen -S pair
Ctrl-a :multiuser on
Ctrl-a :acladd guest
vim
the remote user logs in as guest
ssh guest@your_accessible_ip
screen -x local_user/pair  (where local_user is your local account running screen)
]]></description>
			<content:encoded><![CDATA[<p>allow screen to support sharing<br />
#&gt;sudo chmod u+s /usr/bin/screen<br />
#&gt;sudo chmod 755 /var/run/screen</p>
<p>set a guest user account in the host machine</p>
<p>screen -S pair<br />
Ctrl-a :multiuser on<br />
Ctrl-a :acladd guest<br />
vim</p>
<p>the remote user logs in as guest</p>
<p>ssh guest@your_accessible_ip<br />
screen -x local_user/pair  (where local_user is your local account running screen)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/11/shell-vim-and-screen-pair-programming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>to blog or not to blog</title>
		<link>http://www.paglayan.com/blog/2009/11/to-blog-or-not-to-blog/</link>
		<comments>http://www.paglayan.com/blog/2009/11/to-blog-or-not-to-blog/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 20:57:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Blog]]></category>
		<category><![CDATA[Politics and other controversial stuff]]></category>
		<category><![CDATA[Ruby, Rails & Prg]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=25</guid>
		<description><![CDATA[It&#8217;s mainly due to uncle Bob Martin&#8217;s twit on how lame we as a society become in terms of not speaking our minds due to unreasonable extreme politeness that I decided  stop procrastinating and write.
It is said we shouldn&#8217;t be talking or writing about politics, religion, abortion, drug legalization, gender changing, or other society sensible [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s mainly due to <a href="http://twitter.com/unclebobmartin/status/5533400823">uncle Bob Martin&#8217;s twit</a> on how lame we as a society become in terms of not speaking our minds due to unreasonable extreme politeness that I decided  stop procrastinating and write.</p>
<p>It is said we shouldn&#8217;t be talking or writing about politics, religion, abortion, drug legalization, gender changing, or other society sensible issue  if you want to keep friends.</p>
<p>When it comes to opinionated Ruby programming code bloging is more complicated. My friends and I can become quite judgmental and hurt mutual feelings, but friends are mine to keep as I love them and they probably do back.</p>
<p>I stand as a democrat but when it comes to guns, abortion and economy I divert from some of the core values.</p>
<p>In other venue of things I am not a mac nor a PC, but a Linux, with Ubuntu as my preferred distro. And btw, a vim rather than an emacs.<br />
That said, Write on!</p>
<p>Keep tuned for more coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/11/to-blog-or-not-to-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://www.paglayan.com/blog/2009/08/23/</link>
		<comments>http://www.paglayan.com/blog/2009/08/23/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 00:31:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Blog]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/2009/08/23/</guid>
		<description><![CDATA[Hello this is before

after
]]></description>
			<content:encoded><![CDATA[<p>Hello this is before</p>
<p><img class="alignnone size-medium wp-image-22" title="card" src="http://www.paglayan.com/blog/wp-content/uploads/2009/08/card-300x166.png" alt="card" width="300" height="166" /></p>
<p>after</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2009/08/23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It takes $700Bn to learn what not to do with $700Bn</title>
		<link>http://www.paglayan.com/blog/2008/10/it-takes-700bn-to-learn-what-not-to-do-with-700bn/</link>
		<comments>http://www.paglayan.com/blog/2008/10/it-takes-700bn-to-learn-what-not-to-do-with-700bn/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 15:32:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Blog]]></category>
		<category><![CDATA[bailout]]></category>
		<category><![CDATA[ecomics]]></category>
		<category><![CDATA[mortgages]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=19</guid>
		<description><![CDATA[   

The bailout money buys from troubled financial companies bad assets that no one in its sane mind would buy. This is a survival ticket for the companies in bad shape. But when the worries are about credit, there is no way to guaranty that credit will exist because of saving the bad [...]]]></description>
			<content:encoded><![CDATA[<p><!-- ======================================================= --> <!-- Created by AbiWord, a free, Open Source wordprocessor.  --> <!-- For more information visit http://www.abisource.com.    --> <!-- ======================================================= --></p>
<div>
<p>The bailout money buys from troubled financial companies bad assets that no one in its sane mind would buy. This is a survival ticket for the companies in bad shape. But when the worries are about credit, there is no way to guaranty that credit will exist because of saving the bad companies.</p>
<p style="text-align: left;" dir="ltr">
<p style="text-align: left;" dir="ltr">In a nutshell, the banks go like &#8220;thanks for buying this crap from me, I am not broken now. But I will be cautious about lending, and I won&#8217;t to those with poor credit&#8221;.</p>
<p style="text-align: left;" dir="ltr">
<p style="text-align: left;" dir="ltr">So, what are we solving, the bank bankruptcies or the credit chain? Yes, the first option only.</p>
<p style="text-align: left;" dir="ltr">
<p style="text-align: left;" dir="ltr">The right use of bailout money would be let the banks sink, and ensure that a pool of money exists to finance home buyers.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2008/10/it-takes-700bn-to-learn-what-not-to-do-with-700bn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got Openmoko Neo-Freerunner!</title>
		<link>http://www.paglayan.com/blog/2008/07/got-openmoko-neo-freerunner/</link>
		<comments>http://www.paglayan.com/blog/2008/07/got-openmoko-neo-freerunner/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 15:26:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Blog]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=16</guid>
		<description><![CDATA[A great linux device, and the envy of those brickable iphones from the fruit brand.
http://us.direct.openmoko.com
]]></description>
			<content:encoded><![CDATA[<p>A great linux device, and the envy of those brickable iphones from the fruit brand.</p>
<p><a title="Openmoko Store" href="http://us.direct.openmoko.com/" target="_self">http://us.direct.openmoko.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2008/07/got-openmoko-neo-freerunner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gl is booting up</title>
		<link>http://www.paglayan.com/blog/2008/06/gl-is-booting-up/</link>
		<comments>http://www.paglayan.com/blog/2008/06/gl-is-booting-up/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 18:33:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Honda GL1100 '81]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=15</guid>
		<description><![CDATA[Hi,
After some time looking for the right moment, and after suffering several week-ends with bad weather, I finally finished fixing my bike, it boots-up (geeky talk for starts) fine, and all is good.
There&#8217;s a valve making some noise at high revs and with the engine pushing, but that&#8217;s for next winter.
]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>After some time looking for the right moment, and after suffering several week-ends with bad weather, I finally finished fixing my bike, it boots-up (geeky talk for starts) fine, and all is good.</p>
<p>There&#8217;s a valve making some noise at high revs and with the engine pushing, but that&#8217;s for next winter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2008/06/gl-is-booting-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All parts are in,</title>
		<link>http://www.paglayan.com/blog/2008/03/all-parts-are-in/</link>
		<comments>http://www.paglayan.com/blog/2008/03/all-parts-are-in/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 16:27:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Honda GL1100 '81]]></category>

		<guid isPermaLink="false">http://www.paglayan.com/blog/?p=14</guid>
		<description><![CDATA[But still waiting for good weather on Sunday, last two snowed.
Great sites to buy Honda parts from where I got bolts and some missing rubber items.
Cresceentmooncycles.com -&#62; rubber
Ronayers.com -&#62; rubber
m-and-d.com -&#62; bolts
let&#8217;s see how this next weekend goes,
]]></description>
			<content:encoded><![CDATA[<p>But still waiting for good weather on Sunday, last two snowed.</p>
<p>Great sites to buy Honda parts from where I got bolts and some missing rubber items.</p>
<p>Cresceentmooncycles.com -&gt; rubber<br />
Ronayers.com -&gt; rubber<br />
m-and-d.com -&gt; bolts</p>
<p>let&#8217;s see how this next weekend goes,</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paglayan.com/blog/2008/03/all-parts-are-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
