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

<channel>
	<title>Riding The Breeze</title>
	<atom:link href="http://www.iliveinperego.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iliveinperego.com</link>
	<description>Yes !</description>
	<pubDate>Mon, 05 Jan 2009 16:41:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Snow</title>
		<link>http://www.iliveinperego.com/2009/01/snow/</link>
		<comments>http://www.iliveinperego.com/2009/01/snow/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:41:31 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
		
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=186</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<div id="attachment_187" class="wp-caption aligncenter" style="width: 614px"><img class="size-full wp-image-187" title="Perego under the snow" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/snow_perego.jpg" alt="Perego under the snow" width="604" height="452" /><p class="wp-caption-text">Perego under the snow</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/01/snow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get back Insert media button in WPMU</title>
		<link>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/</link>
		<comments>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 19:58:14 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[WP - Plugins]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=127</guid>
		<description><![CDATA[This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog&#8217;s post and all my customers were asking for it.
I found the plugin &#8220;Allow Embedded Videos&#8221; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#8217;t show up.
Download it here 
]]></description>
			<content:encoded><![CDATA[<p>This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog&#8217;s post and all my customers were asking for it.</p>
<p>I found the plugin &#8220;Allow Embedded Videos&#8221; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#8217;t show up.</p>
<p><a title="Download the plugin" href="http://www.iliveinperego.com/wp-content/uploads/media_button.php-source">Download it here </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/11/insert-media-button-wpmu-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The chemical wave !</title>
		<link>http://www.iliveinperego.com/2008/07/the-chemical-wave/</link>
		<comments>http://www.iliveinperego.com/2008/07/the-chemical-wave/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 20:46:57 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Music]]></category>

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

		<guid isPermaLink="false">http://www.iliveinperego.com/the-chemical-wave</guid>
		<description><![CDATA[Well, the festival still have to &#8220;grow&#8221; &#8230; In Arezzo was something else, but I&#8217;m sure next year will already better. We were there mainly for the Chemical Brothers but we also got some other cool artists like Bugo and Sud Sound System.
We also went at the Elettrowave, the electronic side of the festival. The [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_za" class="wp-caption aligncenter" style="width: 435px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="play" value="false" /><param name="src" value="http://www.youtube.com/v/W-Zf-fF8fs8&amp;hl=it&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/W-Zf-fF8fs8&amp;hl=it&amp;fs=1" play="false"></embed></object><br />
<p class="wp-caption-text">The Chemical Brothers - Italia Wave </p></div>
<p>Well, the festival still have to &#8220;grow&#8221; &#8230; In Arezzo was something else, but I&#8217;m sure next year will already better. We were there mainly for the Chemical Brothers but we also got some other cool artists like <a title="Bugo - Official Web Site" href="http://www.bugo-net.it/">Bugo</a> and <a title="Sud Sound System - Official Web Site" href="http://www.sudsoundsystem.com/">Sud Sound System</a>.</p>
<p>We also went at the <em>Elettrowave</em>, the electronic side of the festival. The location couldn&#8217;t be better: an old fortress by the sea !</p>
<div id="attachment_126" class="wp-caption aligncenter" style="width: 343px"><img class="size-full wp-image-126" title="Fortezza Vecchia - Livorno - Italia" src="http://www.iliveinperego.com/wp-content/uploads/2008/07/2497210490_3d99462b98.jpg" alt="Fortezza Vecchia - Livorno - Via Flickr thanks to livornoalone" width="333" height="500" /><p class="wp-caption-text">Fortezza Vecchia - Livorno - Via Flickr thanks to livornoalone</p></div>
<p>See you next year Livorno !</p>
<p>PS : Someone told me that the tower of the &#8220;Fortezza Vecchia&#8221; in Livorno is taller than the tower of Pisa. Is it true ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/07/the-chemical-wave/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Marcus Miller - EstivalJazz 2008</title>
		<link>http://www.iliveinperego.com/2008/07/marcus-miller-estivaljazz-2008/</link>
		<comments>http://www.iliveinperego.com/2008/07/marcus-miller-estivaljazz-2008/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 20:36:19 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Music]]></category>

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

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

		<guid isPermaLink="false">http://www.iliveinperego.com/marcus-miller-estivaljazz-2008</guid>
		<description><![CDATA[Yesterday I went up to Chiasso directly after work, there I met Sma and we went together to Lugano to see Marcus Miller  playing at Estivaljazz 2008.
Great show, we also managed to sit in front of the stage. The clarinet/saxophone player on the left was my hero, he was moving like a spring while [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_124" class="wp-caption aligncenter" style="width: 610px"><img class="size-full wp-image-124" title="Marcus Miller - Estivaljazz '08 - Lugano - Picture by Andrea Perotti via Flickr" src="http://www.iliveinperego.com/wp-content/uploads/2008/07/marcus_miller_lugano.jpg" alt="" width="600" height="399" /><p class="wp-caption-text">Marcus Miller - Estivaljazz &#39;08 - Lugano - Picture by Andrea Perotti via Flickr</p></div>
<p>Yesterday I went up to Chiasso directly after work, there I met Sma and we went together to <strong>Lugano</strong> to see <strong>Marcus Miller </strong> playing at <strong>Estivaljazz 2008</strong>.</p>
<p>Great show, we also managed to sit in front of the stage. The clarinet/saxophone player on the left was my hero, he was moving like a spring while blowing like hell and was the only one who could compete with Miller. <strong>Alex Han</strong> his name, and 20 his age !</p>
<p>So, if you pass by Lugano the first weekend of July don&#8217;t forget about the <a title="Estivaljazz - Official website" href="http://www.estivaljazz.ch/">EstivalJazz</a> !</p>
<p><em>PS: As usual I didn&#8217;t have any camera with me. I took the picture from Flickr, <a href="http://www.flickr.com/photos/andyimage/tags/marcusmiller/">here the complete gallery » </a> - </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/07/marcus-miller-estivaljazz-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automatic vHost with Apache</title>
		<link>http://www.iliveinperego.com/2008/05/automatic-vhost-with-apache/</link>
		<comments>http://www.iliveinperego.com/2008/05/automatic-vhost-with-apache/#comments</comments>
		<pubDate>Mon, 19 May 2008 20:41:48 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

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

		<guid isPermaLink="false">http://www.iliveinperego.com/automatic-vhost-with-apache</guid>
		<description><![CDATA[In my development machine i wanted to have a specific vHost for each project. Something that would allow me to type URL like:

 http://wordpress-test1.lan/
 http://phpmyadmin.lan/
 http://project1.lan/

I started to set for each one a vHost in Apache but after a while I&#8217;ve found myself with too many vHost files.
So I started to search for a more [...]]]></description>
			<content:encoded><![CDATA[<p>In my development machine i wanted to have a specific vHost for each project. Something that would allow me to type URL like:</p>
<ul>
<li> http://wordpress-test1.lan/</li>
<li> http://phpmyadmin.lan/</li>
<li> http://project1.lan/</li>
</ul>
<p>I started to set for each one a vHost in Apache but after a while I&#8217;ve found myself with too many vHost files.</p>
<p>So I started to search for a more easy and fast way, and here it is:</p>
<p><strong>Note:</strong> you need to install Apache mod_rewrite to make things work.</p>
<p>Preamble:</p>
<ol>
<li>You have Apache installed, and your DocumentRoot is <em>/var/www/</em></li>
<li>You have mod_rewrite installed and enabled</li>
<li>You can modify the <em>/etc/hosts</em> file</li>
</ol>
<p>Let&#8217;s say we want to install a test/demo version of Wordpress and access it from the URL http://wp-test.lan/</p>
<ol>
<li>We download and untar Wordpress in <em>/var/www/wp-test/</em></li>
<li>We tell our machine to resolve the domain wp-test.lan with the IP 127.0.0.1. To make this we add a line to our hosts file.<code>hpatoio@namazu:~$ sudo su -<br />
[sudo] password for hpatoio:<br />
root@namazu:~#echo &#8220;127.0.0.1 wp-test.lan&#8221; &gt;&gt; /etc/hosts<br />
root@namazu:~#exit<br />
hpatoio@namazu:~$</code></li>
<li>Now we have to change Apache config. Open <em>/etc/apache2/sites-anabled/000-default</em> with your favorite editor and add these lines inside the <em>&lt;VirtualHost *&gt;</em> directive:<code>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.lan$<br />
RewriteRule    ^(.+)$ /%1$1</code> Basically :</p>
<ul>
<li>The first line turns the mod_rewrite on</li>
<li>The second one tells Apache to keep in the host part of the URL (HTTP_HOST) everything that stands before &#8220;.lan&#8221;</li>
<li>Finally the third line insert the string matched before (%1) between the host and the resource part (directory + file + query string) of the requested URL</li>
</ul>
<li>Restart Apache</li>
<p><code>hpatoio@namazu:~$sudo /etc/init.d/apache2 restart</code><br />
Now if open your browser and you point it to the URL <em>http://wp-test.lan/</em> you should see the WP installation page. Right ?
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/05/automatic-vhost-with-apache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Carnival !!</title>
		<link>http://www.iliveinperego.com/2008/02/carnival/</link>
		<comments>http://www.iliveinperego.com/2008/02/carnival/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 20:30:18 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Party]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/carnival</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<div id="attachment_120" class="wp-caption aligncenter" style="width: 438px"><img class="size-full wp-image-120" title="Carnival" src="http://www.iliveinperego.com/wp-content/uploads/2008/02/carnival__207.jpg" alt="???" width="428" height="640" /><p class="wp-caption-text">???</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2008/02/carnival/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Critical Mass Lecco</title>
		<link>http://www.iliveinperego.com/2007/11/critical-mass-lecco/</link>
		<comments>http://www.iliveinperego.com/2007/11/critical-mass-lecco/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 20:32:52 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Party]]></category>

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

		<guid isPermaLink="false">http://www.iliveinperego.com/critical-mass-lecco</guid>
		<description><![CDATA[It has to start somewhere,
it has to start sometime !
Which better place than here ?
Which better time than now ?
]]></description>
			<content:encoded><![CDATA[<blockquote><p>It has to start somewhere,<br />
it has to start sometime !<br />
Which better place than here ?<br />
Which better time than now ?</p></blockquote>
<div id="attachment_cm" class="wp-caption aligncenter" style="width: 435px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/nKX0g7FGSMI" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/nKX0g7FGSMI" wmode="transparent"></embed></object><p class="wp-caption-text">Critical Mass Lecco 2008</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/11/critical-mass-lecco/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clusone &#8216;07</title>
		<link>http://www.iliveinperego.com/2007/10/clusone-07/</link>
		<comments>http://www.iliveinperego.com/2007/10/clusone-07/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 20:59:29 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Party]]></category>

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

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

		<guid isPermaLink="false">http://www.iliveinperego.com/clusone-07</guid>
		<description><![CDATA[Like the last 4 years, few days ago, I was in Clusone for the Estate di S.Martino, I love this village and the feeling you get during the happening. Lovely wine, traditional food and true friends &#8230; need more to be happy ?
If the next year you wanna come mark this site: www.bandabidu.org.
]]></description>
			<content:encoded><![CDATA[<div id="attachment_119" class="wp-caption aligncenter" style="width: 360px"><img class="size-full wp-image-119" title="Clusone 07" src="http://www.iliveinperego.com/wp-content/uploads/2007/12/clusone.jpg" alt="Giusy, Kathrin and me. Thanks to Adeline (on the other side of the camera" width="350" height="263" /><p class="wp-caption-text">Giusy, Kathrin and me. Thanks to Adeline (on the other side of the camera</p></div>
<p>Like the last 4 years, few days ago, I was in Clusone for the <em>Estate di S.Martino</em>, I love this village and the feeling you get during the happening. Lovely wine, traditional food and true friends &#8230; need more to be happy ?</p>
<p>If the next year you wanna come mark this site: <a title="Bandabidù - Estate di San Martino - Clusone" href="http://www.bandabidu.org/">www.bandabidu.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/10/clusone-07/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Got pictures !</title>
		<link>http://www.iliveinperego.com/2007/09/got-pictures/</link>
		<comments>http://www.iliveinperego.com/2007/09/got-pictures/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 20:51:00 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Party]]></category>

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

		<guid isPermaLink="false">http://www.iliveinperego.com/got-picture</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_114" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-114" title="Reading and writing in Amsterdam !" src="http://www.iliveinperego.com/wp-content/uploads/2007/09/simovale.jpg" alt="Reading and writing in Amsterdam !" width="500" height="435" /><p class="wp-caption-text">Reading and writing in Amsterdam !</p></div>
<div id="attachment_116" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-116" title="Sotto la panza ..." src="http://www.iliveinperego.com/wp-content/uploads/2007/09/panza.jpg" alt="Sotto la panza ..." width="500" height="493" /><p class="wp-caption-text">Under the belly ...</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/09/got-pictures/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSV export from MySQL</title>
		<link>http://www.iliveinperego.com/2007/09/csv-export-from-mysql/</link>
		<comments>http://www.iliveinperego.com/2007/09/csv-export-from-mysql/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 15:17:36 +0000</pubDate>
		<dc:creator>simone</dc:creator>
		
		<category><![CDATA[Computer]]></category>

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

		<category><![CDATA[Things I forget]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/csv-export-from-mysql</guid>
		<description><![CDATA[If you have access on the machine with MySQL and you need to export all tables in a database you can use:
hpatoio@namazu:~$ mysqldump -uroot -p DATABASE_NAME -T '/home/simone/export_csv' --fields-terminated-by "," --fields-enclosed-by '"' --lines-terminated-by "\n"
the script will create a files for each table of the DB and will place it in export_csv.
If you need to export [...]]]></description>
			<content:encoded><![CDATA[<p>If you have access on the machine with MySQL and you need to export all tables in a database you can use:</p>
<p><code>hpatoio@namazu:~$ mysqldump -uroot -p DATABASE_NAME -T '/home/simone/export_csv' --fields-terminated-by "," --fields-enclosed-by '"' --lines-terminated-by "\n"</code></p>
<p>the script will create a files for each table of the DB and will place it in <em>export_csv</em>.</p>
<p>If you need to export a custom resultset or you need to export data from a remote MySQL server on your machine you can use this command :</p>
<p><code>hpatoio@namazu:~$ mysql -uroot -h HOSTNAME -p DATABASE_NAME -B -e "select field1,field2 ... fieldX from \`TABLE_NAME\`;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' &gt; my_export.csv</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/09/csv-export-from-mysql/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
