<?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>Riding The Breeze &#187; Computer</title>
	<atom:link href="http://www.iliveinperego.com/category/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iliveinperego.com</link>
	<description>Yes !</description>
	<lastBuildDate>Fri, 12 Feb 2010 09:46:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SVN External with different username</title>
		<link>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/</link>
		<comments>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:34:33 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=262</guid>
		<description><![CDATA[Today I had to add and SVN external project to my wordpress based project, nothing strange but the fact that the external project (NextGen Gallery) is hosted on Google Code and the authentication is different from my main repository.
After a bit of search I&#039;ve found that you can specify the user for external resource by [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to add and SVN external project to my wordpress based project, nothing strange but the fact that the external project (<a title="NextGen Gallery on GoogleCode" href="http://code.google.com/p/nextgen-gallery/"><em>NextGen Gallery</em></a>) is hosted on <em>Google Code</em> and the authentication is different from my main repository.</p>
<p>After a bit of search I&#039;ve found that you can specify the user for external resource by adding it before the domain with a @ so, for me the sintax was:</p>
<blockquote><p>nextgen-gallery https://<strong>simone.fumagalli</strong>@nextgen-gallery.googlecode.com/svn/trunk/</p></blockquote>
<p>Once you set up the SVN property give an update to the working folder and Eclipse will ask for the password.</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 879px"><img class="size-full wp-image-270" title="SVN External with a different username in Eclipse" src="http://www.iliveinperego.com/wp-content/uploads/2009/12/svn-external.jpg" alt="SVN External with a different username in Eclipse" width="869" height="834" /><p class="wp-caption-text">SVN External with a different username in Eclipse</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/12/svn-external-with-different-username/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An illustrated guide to eight ways to kill an idea</title>
		<link>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/</link>
		<comments>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 09:08:03 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=256</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div id="attachment_257" class="wp-caption aligncenter" style="width: 610px"><img class="size-full wp-image-257 " title="An illustrated guide to eight ways to kill an idea" src="http://www.iliveinperego.com/wp-content/uploads/2009/12/ideia.jpg" alt="An illustrated guide to eight ways to kill an idea" width="600" height="1680" /><p class="wp-caption-text">So, tell me, who kills good ideas ?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/12/an-illustrated-guide-to-eight-ways-to-kill-an-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom thumbnails for NGG galleries</title>
		<link>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/</link>
		<comments>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 22:23:43 +0000</pubDate>
		<dc:creator>hpatoio</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[WP - Plugins]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/?p=195</guid>
		<description><![CDATA[[NB] This feature will be available in NGG 1.2 You can already test it by checking out the trunck version from here
This is a small extension for NextGen Gallery, it allow you to specify which area NGG must use to generate the the thumbnail.
Quite often the thumbnails generated by NGG do not show the &#034;right&#034; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[NB]</strong> <em>This feature will be available in NGG 1.2 You can already test it by checking out the trunck version from <a title="NGG SVN repository" href="http://code.google.com/p/nextgen-gallery/source/checkout">here</a></em></p>
<p>This is a small extension for NextGen Gallery, it allow you to specify which area NGG must use to generate the the thumbnail.</p>
<p>Quite often the thumbnails generated by NGG do not show the &#034;right&#034; part of the picture, this happen especially when you have a gallery with people, where you want to show in the thumb the face and not the belly.</p>
<h3>Demo</h3>
<p><a title="Demo galleries" href="http://www.iliveinperego.com/ngg-custom-thumbnail-test-gallery/">Have a look here</a> where you can see two galleries (same pictures) the first with the standard and the second with custom thumbnails.</p>
<h3>Installation</h3>
<p>First unpack the archive to the NGG root directory, then open <strong><em>manage-images.php</em></strong> and modify line 338 from</p>
<p><code>&lt;img class="thumb" src="&lt;?php echo $picture-&gt;thumbURL; ?&gt;" &lt;?php echo $thumbsize ?&gt; /&gt;</code></p>
<p>to</p>
<p><code>&lt;img class="thumb" id="thumb&lt;?php echo $pid ?&gt;" src="&lt;?php echo $picture-&gt;thumbURL; ?&gt;" &lt;?php echo $thumbsize ?&gt; /&gt;</code></p>
<p>and add this line at the end of <strong><em>nggallery.php</em></strong></p>
<p><code>include_once (dirname (__FILE__)."/admin/custom_thumbnails.php");</code></p>
<h3>Download</h3>
<p>Here the package for the version 0.2 it ONLY works with WP 2.7 and NGG 1.0</p>
<p><a title="Download version 0.1" href="http://www.iliveinperego.com/ngg_custom_thumbnail_02.zip">Download Version 0.2</a></p>
<h3>Screenshots</h3>
<div id="attachment_200" class="wp-caption alignleft" style="width: 310px"><a href="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot1.png"><img class="size-medium wp-image-200" title="List with &quot;Edit thumbnail&quot; action" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot1-300x132.png" alt="List with &quot;Edit thumbnail&quot; action" width="300" height="132" /></a><p class="wp-caption-text">List with &quot;Edit thumbnail&quot; action</p></div>
<div id="attachment_201" class="wp-caption alignleft" style="width: 310px"><a href="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot3.png"><img class="size-medium wp-image-201" title="Popup for area selection" src="http://www.iliveinperego.com/wp-content/uploads/2009/01/screenshot3-300x132.png" alt="Popup for area selection" width="300" height="132" /></a><p class="wp-caption-text">Popup for area selection</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2009/01/custom-thumbnails-for-ngg-galleries/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</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&#039;s post and all my customers were asking for it.
I found the plugin &#034;Allow Embedded Videos&#034; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#039;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&#039;s post and all my customers were asking for it.</p>
<p>I found the plugin &#034;Allow Embedded Videos&#034; (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn&#039;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>
		<slash:comments>3</slash:comments>
		</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>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally ! What you see is what you mean</title>
		<link>http://www.iliveinperego.com/2007/08/finally-what-you-see-is-what-you-mean/</link>
		<comments>http://www.iliveinperego.com/2007/08/finally-what-you-see-is-what-you-mean/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 17:47:47 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/finally-what-you-see-is-what-you-mean</guid>
		<description><![CDATA[I was looking for a good and clean editor for one of my customers, and I end up to WYMeditor !
That&#039;s the way I like, that&#039;s the way I meant !
]]></description>
			<content:encoded><![CDATA[<p>I was looking for a good and clean editor for one of my customers, and I end up to <a href="http://www.wymeditor.org/en/">WYMeditor</a> !</p>
<p>That&#039;s the way I like, that&#039;s the way I meant !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/08/finally-what-you-see-is-what-you-mean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add days to a date in javascript</title>
		<link>http://www.iliveinperego.com/2007/05/add-days-to-a-date-in-javascript/</link>
		<comments>http://www.iliveinperego.com/2007/05/add-days-to-a-date-in-javascript/#comments</comments>
		<pubDate>Wed, 30 May 2007 15:20:57 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Things I forget]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/add-days-to-a-date-in-javascript</guid>
		<description><![CDATA[shiftDay = 10
var myDate = new Date();
myDate.setDate(myDate.getUTCDate() + shiftDay)
day   = myDate.getUTCDate()
month = myDate.getUTCMonth()*1 + 1
year  = myDate.getUTCFullYear()
This code is quite easy: 

shiftDay hold the number of days you want to add, if you need to go backwards you can set it to a negative value.
myDate is set to the current date
At the end we will [...]]]></description>
			<content:encoded><![CDATA[<p><code>shiftDay = 10<br />
var myDate = new Date();<br />
myDate.setDate(myDate.getUTCDate() + shiftDay)<br />
day   = myDate.getUTCDate()<br />
month = myDate.getUTCMonth()*1 + 1<br />
year  = myDate.getUTCFullYear()</code></p>
<p>This code is quite easy<em>: </em></p>
<ul>
<li><em>shiftDay</em> hold the number of days you want to add, if you need to go backwards you can set it to a negative value.</li>
<li><em>myDate</em> is set to the current date</li>
<li>At the end we will have the data we need in <em>day</em>, <em>month</em> and <em>year.</em></li>
<li><em>getUTCMonth</em> return the current month shifted back by one (January is 0, February is 1 and so on) that&#039;s why we add 1. We multiply the value returned by <em>getUTCMonth</em> by one to cast it to integer.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/05/add-days-to-a-date-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails API with the AJAX flavor</title>
		<link>http://www.iliveinperego.com/2007/05/rails-api-with-the-ajax-flavor/</link>
		<comments>http://www.iliveinperego.com/2007/05/rails-api-with-the-ajax-flavor/#comments</comments>
		<pubDate>Thu, 10 May 2007 07:47:30 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Travelling on Rails]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/rails-api-with-the-ajax-flavor</guid>
		<description><![CDATA[http://www.railsbrain.com/
]]></description>
			<content:encoded><![CDATA[<p>http://www.railsbrain.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/05/rails-api-with-the-ajax-flavor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSSQL &#124; Convert unix timestamp to date</title>
		<link>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/</link>
		<comments>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 12:37:48 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Things I forget]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/mssql-convert-unix-timestamp-to-date</guid>
		<description><![CDATA[select dateadd(ss, {field_name}, '19700101')
]]></description>
			<content:encoded><![CDATA[<p><code>select dateadd(ss, {field_name}, '19700101')</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/04/mssql-convert-unix-timestamp-to-date/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails cheat sheet</title>
		<link>http://www.iliveinperego.com/2007/03/ruby-on-rails-cheat-sheet/</link>
		<comments>http://www.iliveinperego.com/2007/03/ruby-on-rails-cheat-sheet/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 08:28:29 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Travelling on Rails]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/ruby-on-rails-cheat-sheet</guid>
		<description><![CDATA[All the commands you need in one page

RoR cheat sheet

]]></description>
			<content:encoded><![CDATA[<p>All the commands you need in one page</p>
<ul>
<li><a title="RoR cheat sheet" href="http://blog.nanorails.com/pages/rails_1.1_cheat_sheet">RoR cheat sheet</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/03/ruby-on-rails-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
