<?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>b4r7 &#187; piccì</title>
	<atom:link href="http://www.valeriovendrame.it/blog/cat/picci/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.valeriovendrame.it/blog</link>
	<description>blocco note 2.0</description>
	<lastBuildDate>Fri, 29 Jan 2010 18:27:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows&#8217; God Mode</title>
		<link>http://www.valeriovendrame.it/blog/windows-god-mode/</link>
		<comments>http://www.valeriovendrame.it/blog/windows-god-mode/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 18:27:14 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[han detto]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=221</guid>
		<description><![CDATA[A vostro rischio e pericolo, provate.
Create un nuovo collegamento (click dx -&#62; Nuovo -&#62; Collegamento) con il seguente percorso:
explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
Chiamatelo come volete, doppio click
Oppure
Create una nuova cartella (click dx -&#62; Nuovo -&#62; Cartella) con il seguente nome:
Modalità Dio.{ED7BA470-8E54-465E-825C-99712043E01C}
Entrate nella cartella
Non resta altro che godervi la modalità dio.
Testati su Windows Vista Home Premium SP2 x86.
Funzionano anche [...]]]></description>
			<content:encoded><![CDATA[<p>A vostro rischio e pericolo, provate.</p>
<blockquote><p>Create un nuovo collegamento (click dx -&gt; Nuovo -&gt; Collegamento) con il seguente percorso:<br />
<code>explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}</code><br />
Chiamatelo come volete, doppio click</p></blockquote>
<p>Oppure</p>
<blockquote><p>Create una nuova cartella (click dx -&gt; Nuovo -&gt; Cartella) con il seguente nome:<br />
<code>Modalità Dio.{ED7BA470-8E54-465E-825C-99712043E01C}</code><br />
Entrate nella cartella</p></blockquote>
<p>Non resta altro che godervi la <strong>modalità dio</strong>.</p>
<p>Testati su Windows Vista Home Premium SP2 x86.<br />
Funzionano anche su Vista x64, 7 x32, 7 x64 - si mormora.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/windows-god-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>convert for windows</title>
		<link>http://www.valeriovendrame.it/blog/convert-for-windows/</link>
		<comments>http://www.valeriovendrame.it/blog/convert-for-windows/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 03:10:28 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[cazzeggi]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=193</guid>
		<description><![CDATA[Convert is a free and easy to use unit conversion program that will convert the most popular units of distance, temperature, volume, time, speed, mass, power, density, pressure, energy and many others, including the ability to create custom conversions!
Screenshot

System Requirements
Convert  will run on the following supported operating systems:

Windows 95
Windows NT 4
Windows 98
Windows 98SE
Windows ME
Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Convert is a free and easy to use unit conversion program that will convert the most popular units of distance, temperature, volume, time, speed, mass, power, density, pressure, energy and many others, including the ability to create custom conversions!</p>
<h3>Screenshot</h3>
<p style="text-align: center;"><a href="http://joshmadison.com/software/convert-for-windows/"><img class="aligncenter size-full wp-image-204" title="convertAni" src="http://www.valeriovendrame.it/blog/wp-content/uploads/2009/09/convertAni.gif" alt="convertAni" width="395" height="306" /></a></p>
<h3>System Requirements</h3>
<p>Convert  will run on the following supported operating systems:</p>
<ul>
<li>Windows 95</li>
<li>Windows NT 4</li>
<li>Windows 98</li>
<li>Windows 98SE</li>
<li>Windows ME</li>
<li>Windows 2000</li>
<li>Windows XP</li>
<li>Windows 2003</li>
<li>Windows Vista</li>
<li>Windows 7</li>
<li>Anything that runs <a href="http://www.winehq.org/">Wine</a> (not officially supported) [Convert runs quite well on Linux and UNIX using <a href="http://www.winehq.org/">Wine</a>.  If you do this, you may need to change the tab layout to use a single row by going into <strong>Options &gt; Preferences &gt; Tabs</strong>, and clear the <strong>Multiple Lines</strong> option]</li>
</ul>
<p><strong>If your operating system is not listed above, Convert will not run on it.</strong></p>
<h3>Download Types</h3>
<p>There are two ways to download Convert.</p>
<ul>
<li><a href="http://joshmadison.com/software/dl/?dl=convertExe4.10">ConvertSetup.exe</a> (780kb) is a full InstallShield installation which sets up directories, icons, and supports uninstallation. This download is recommended for most users.</li>
<li><a href="http://joshmadison.com/software/dl/?dl=convertZip4.10">convert.zip</a> (153kb) is a ZIP file of just the executable. You can unZIP it with your favorite ZIP tool and just run the executable. This download is recommended for experienced users.</li>
</ul>
<h3>Other Information</h3>
<ul>
<li><a href="http://joshmadison.com/article/frequently-asked-questions">Frequently Asked Questions</a></li>
<li><a href="http://joshmadison.com/article/convert-suggestions">Suggestions</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/convert-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>camel case con PHP</title>
		<link>http://www.valeriovendrame.it/blog/camel-case-con-php/</link>
		<comments>http://www.valeriovendrame.it/blog/camel-case-con-php/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 18:48:40 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=183</guid>
		<description><![CDATA[&#60;?php
$testo = "qualCOSA che vuOI mettere in Camel CASE";
echo ucwords(strtolower($testo)); //Qualcosa Che Vuoi Mettere In Camel Case
?&#62;
strtolower: http://it.php.net/manual/en/function.strtolower.php
ucwords: http://it.php.net/manual/en/function.ucwords.php
]]></description>
			<content:encoded><![CDATA[<pre>&lt;?php
$testo = "qualCOSA che vuOI mettere in Camel CASE";
echo <span style="color: red;">ucwords(strtolower($testo))</span>; //Qualcosa Che Vuoi Mettere In Camel Case
?&gt;</pre>
<p>strtolower: <a title="strtolower - php.net" href="http://it.php.net/manual/en/function.strtolower.php">http://it.php.net/manual/en/function.strtolower.php</a><br />
ucwords: <a title="uwords - php.net" href="http://it.php.net/manual/en/function.ucwords.php">http://it.php.net/manual/en/function.ucwords.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/camel-case-con-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eliminare .svn</title>
		<link>http://www.valeriovendrame.it/blog/eliminare-svn/</link>
		<comments>http://www.valeriovendrame.it/blog/eliminare-svn/#comments</comments>
		<pubDate>Sun, 03 May 2009 21:58:55 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[cazzeggi]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=145</guid>
		<description><![CDATA[Windows:
for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do (
rd /s /q "%%i"
)
Linux:
find ./ -name .svn -exec rm -rf {} +
Mac (OS 10.5):
find . -name .svn -exec rm -rf {} \;
presi dalla rete e collezionati, non si sa mai. per chi come me &#232; su winzozz, il primo codice basta salvarlo con [...]]]></description>
			<content:encoded><![CDATA[<p>Windows:</p>
<pre>for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do (
rd /s /q "%%i"
)</pre>
<p>Linux:</p>
<pre>find ./ -name .svn -exec rm -rf {} +</pre>
<p>Mac (OS 10.5):</p>
<pre>find . -name .svn -exec rm -rf {} \;</pre>
<p>presi dalla rete e collezionati, non si sa mai. per chi come me &egrave; su winzozz, il primo codice basta salvarlo con estensione bat e lanciarlo nella cartella a cui vogliamo togliere le <em>.svn</em> .. con vizta ho dovuto spostarlo in alcune sotto-cartelle. non ho provato su linuz. non ho mc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/eliminare-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>slug_me</title>
		<link>http://www.valeriovendrame.it/blog/slug_me/</link>
		<comments>http://www.valeriovendrame.it/blog/slug_me/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 23:36:17 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[meditazioni]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=133</guid>
		<description><![CDATA[a better (?) version of toAscii function by Matteo Spinelli
function slug_me($str, $replace=array(), $delimiter='-', $charset='ISO-8859-1') {
	$str = iconv($charset, 'UTF-8', $str);
	if (!empty($replace)) { $str = str_replace((array)$replace, ' ', $str); }
	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_&#124;+ -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_&#124;+ -]+/", $delimiter, $clean);
	return $clean;
}
]]></description>
			<content:encoded><![CDATA[<p>a better (?) version of <a href="http://cubiq.org/the-perfect-php-clean-url-generator/12"><strong>toAscii</strong> function by Matteo Spinelli</a></p>
<pre>function slug_me($str, $replace=array(), $delimiter='-', $charset='ISO-8859-1') {
	$str = iconv($charset, 'UTF-8', $str);
	if (!empty($replace)) { $str = str_replace((array)$replace, ' ', $str); }
	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_|+ -]+/", $delimiter, $clean);
	return $clean;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/slug_me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shitbox!</title>
		<link>http://www.valeriovendrame.it/blog/shitbox/</link>
		<comments>http://www.valeriovendrame.it/blog/shitbox/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 22:36:03 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[cazzeggi]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[vaneggi]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=125</guid>
		<description><![CDATA[
se sta nascendo un "piccolo giacomo" inatteso... (il -ehm- logo si chiama appunto 'Little Jack') 
strano che la Littizzetto non l'abbia ancora notato.. o se l'ha fatto non me ne sono accorto! beh appena, se, la vedr&#242; a che tempo che fa che ne parler&#224;, sar&#242; proprio curioso di vedere la faccia di Fazio! sempre [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.valeriovendrame.it/blog/wp-content/uploads/2009/04/shitbox-homepage.png" alt="shitbox-homepage" title="shitbox-homepage" width="305" height="374" class="aligncenter size-full wp-image-126" /><br />
<em>se sta nascendo un "piccolo giacomo" inatteso... (il -ehm- logo si chiama appunto 'Little Jack') </em><br />
strano che la Littizzetto non l'abbia ancora notato.. o se l'ha fatto non me ne sono accorto! beh appena, se, la vedr&ograve; a che tempo che fa che ne parler&agrave;, sar&ograve; proprio curioso di vedere la faccia di Fazio! sempre che non abbia gi&agrave; trattato l'argomento..</p>
<blockquote><p>Shit Box is a lightweight portable cardboard toilet, made specifically for outdoor use. The box pops up from a convenient 14 inch flat pack to a rigid, reusable, comfortable toilet. Each box comes with ten degradable poo bags.</p></blockquote>
<p>via: <a href="http://www.thebrowncorporation.com/">http://www.thebrowncorporation.com/</a></p>
<p>bene.. e ora che ora google ha associato le parole <em>cacca, pup&ugrave;, merda</em> e <em>shit</em> a <em>luciana littizzetto, fabio fazio</em> e <em>che tempo che fa</em>, dovrei un numero sporpositato di visite, no? e chi credesse di aver trovato l'abbinamento littizzetto-merda o fazio-merda, beh si sbaglia! lucianina cara e fabio caro, ve vojo ben, siete dei grandi!</p>
<p>PS: a chi portei inviare questa sottospecie di "articolo"? a pusatilla!! siiiiiiiiiiiiii</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/shitbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The perfect PHP clean url generator</title>
		<link>http://www.valeriovendrame.it/blog/the-perfect-php-clean-url-generator/</link>
		<comments>http://www.valeriovendrame.it/blog/the-perfect-php-clean-url-generator/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 22:12:40 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[han detto]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=122</guid>
		<description><![CDATA[via: http://cubiq.org/the-perfect-php-clean-url-generator/12
In my hunt for the perfect clean url (smart url, slug, permalink, whatever) generator I've always slipped in some exception or bug that made the function a piece of junk. But I recently found an easy solution I hope I could call "definitive".
Clean url generators are crucial for search engine optimization or just to [...]]]></description>
			<content:encoded><![CDATA[<p>via: <a href="http://cubiq.org/the-perfect-php-clean-url-generator/12">http://cubiq.org/the-perfect-php-clean-url-generator/12</a></p>
<blockquote><p>In my hunt for the perfect clean url (smart url, slug, permalink, whatever) generator I've always slipped in some exception or bug that made the function a piece of junk. But I recently found an easy solution I hope I could call "definitive".</p>
<p>Clean url generators are crucial for search engine optimization or just to tidy up the site navigation. They are even more important if you work with international characters, accented vowels <code>/à, è, ì, .../</code>, cedilla <code>/ç/</code>, dieresis <code>/ë/</code>, tilde <code>/ñ/</code> and so on.</p>
<p>First of all we need to strip all special characters and punctuation away. This is easily accomplished with something like:</p>
<pre>function toAscii($str) {
	$clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $str);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_|+ -]+/", '-', $clean);

	return $clean;
}</pre>
<p>With our <code>toAscii</code> function we can convert a string like <em>“Hi! I’m the title of your page!”</em> to <code>hi-im-the-title-of-your-page</code>. This is nice, but what happens with a title like <em>“A piñata is a paper container filled with candy”</em>?<br />
The result will be <code>a-piata-is-a-paper-container-filled-with-candy</code>, which is not cool. We need to convert all special characters to the closest ascii character equivalent.</p>
<p>There are many ways to do this, maybe the easiest is by using <a href="http://www.php.net/iconv">iconv</a>.</p>
<pre>setlocale(LC_ALL, 'en_US.UTF8');
function toAscii($str) {
	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_| -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_| -]+/", '-', $clean);

	return $clean;
}</pre>
<p>I always work with UTF-8 but you can obviously use any character encoding recognized by your system. The <em>piñata</em> text is now transliterated into <code>a-pinata-is-a-paper-container-filled-with-candy</code>. Lovable.<br />
If they are not Spanish, users will hardly search your site for the word <em>piñata</em>, they will most likely search for <em>pinata</em>. So you may want to store both versions in your database. You may have a <em>title</em> field with the actual displayed text and a <em>slug</em> field containing its ascii version counterpart.</p>
<p>We can add a delimiter parameter to our function so we can use it to generate both clean urls and slugs (in newspaper editing, a slug is a short name given to an article that is in production, <a tooltip="linkalert-tip" href="http://en.wikipedia.org/wiki/Slug_%28production%29">source</a>).</p>
<pre>setlocale(LC_ALL, 'en_US.UTF8');
function toAscii($str, $delimiter='-') {
	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_|+ -]+/", $delimiter, $clean);

	return $clean;
}

// echo toAscii("A piñata is a paper container filled with candy.", ' ');
// returns: a pinata is a paper container filled with candy
</pre>
<p>There’s one more thing. The string <em>“I’ll be back!”</em> is converted to <code>ill-be-back</code>. This may or may not be an issue depending on your application. If you use the function to generate a searchable slug for example, looking for “ill” would return the famous Terminator quote that probably isn’t what you wanted.</p>
<pre>setlocale(LC_ALL, 'en_US.UTF8');
function toAscii($str, $replace=array(), $delimiter='-') {
	if( !empty($replace) ) {
		$str = str_replace((array)$replace, ' ', $str);
	}

	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_|+ -]+/", $delimiter, $clean);

	return $clean;
}</pre>
<p>You can now pass custom delimiters to the function. Calling <code>toAscii("I'll be back!", "'")</code> you’ll get <code>i-ll-be-back</code>. Also note that the apostrophe is replaced before the string is converted to ascii as character encoding conversion may lead to weird results, for example <code>é</code> is converted to <code>'e</code>, so the apostrophe needs to be parsed before the string is mangled by iconv.</p>
<p>The function seems now complete. Lets stress test it.</p>
<pre>echo toAscii("Mess'd up --text-- just (to) stress /test/ ?our! `little` \\clean\\ url fun.ction!?--&gt;");
returns: messd-up-text-just-to-stress-test-our-little-clean-url-function

echo toAscii("Perché l'erba è verde?", "'"); // Italian
returns: perche-l-erba-e-verde

echo toAscii("Peux-tu m'aider s'il te plaît?", "'"); // French
returns: peux-tu-m-aider-s-il-te-plait

echo toAscii("Tänk efter nu – förr'n vi föser dig bort"); // Swedish
returns: tank-efter-nu-forrn-vi-foser-dig-bort

echo toAscii("ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ");
returns: aaaaaaaeceeeeiiiidnooooouuuuyssaaaaaaaeceeeeiiiidnooooouuuuyy

echo toAscii("Custom`delimiter*example", array('*', '`'));
returns: custom-delimiter-example

echo toAscii("My+Last_Crazy|delimiter/example", '', ' ');
returns: my last crazy delimiter example
</pre>
<p>I’m sure we are far from perfection and probably some php/regex guru will soon bury me under my ignorance suggesting an über-simple alternative to my function. What do you thing?</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/the-perfect-php-clean-url-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w3c validators</title>
		<link>http://www.valeriovendrame.it/blog/w3c-validators/</link>
		<comments>http://www.valeriovendrame.it/blog/w3c-validators/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:05:04 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=118</guid>
		<description><![CDATA[Leggendo l&#39;ormai famoso articolo di Robin Good (e anche per esperienza diretta) ho scoperto che rendere un sito accessibile sul web pu&#242; essere davvero una sfida estenuante, ma grazie agli strumenti che tra un attimo t&#39; illustrer&#242;, il tuo sito avr&#224; sicuramente quella marcia in pi&#249; che pu&#242; fare la differenza! 
Devi sapere che le [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Leggendo l&#39;ormai famoso <a rel="nofollow" target="_blank" href="http://www.masternewmedia.org/it/2008/11/27/testare_la_compatibilita_di_un_sito_sui.htm">articolo di <b>Robin Good</b></a> (e anche per esperienza diretta) ho scoperto che rendere un <b>sito accessibile</b> sul web pu&ograve; essere davvero una sfida estenuante, ma grazie agli strumenti che tra un attimo t&#39; illustrer&ograve;, il tuo sito avr&agrave; sicuramente quella marcia in pi&ugrave; che pu&ograve; fare la differenza! <br />
Devi sapere che le tecnologie utilizzate per creare i siti web, cosi come i <a rel="nofollow" target="_blank" href="http://it.wikipedia.org/wiki/TCP/IP"><span style="font-family: Verdana;"><b>protocolli internet</b></span></a>sono definiti da alcuni standard ai quali bisogna attenersi per assicurarsi di avere un sito (dal punto di vista del codice) in regola. </p>
<p>Sono certo che ti starai chiedendo <b>chi crea questi standard e come fare per attenersi ad essi</b>... bene devi sapere che questi standard sono creati dal <a rel="nofollow" target="_blank" href="http://www.w3.org/"><span style="font-family: Verdana;"><b>W3C</b></span></a> (Word Wide Web Consortium) il W3C &egrave; un consorzio internazionale senza fini di lucro, che ha il compito di definire gli standard condivisi per il funzionamento e la gestione del web.<br />
Vediamo quindi come sfruttare gli <b>strumenti offerti da W3C</b> per assicurarti di avere un <b>codice conforme agli standard</b>!</p>
<p><span id="more-83"></span></p>
<p><b>Per le tue pagine che contengono marcatori HTML, XHTML, SMIL, MathML, etc </b> puoi utilizzare il <a rel="nofollow" target="_blank" href="http://validator.w3.org/"><span style="font-size: small;"><b>validatore di marcatori </b></span></a>  </p>
<p><img alt="w3c" src="http://www.squirob.com/wp-content/uploads/w3c_html_val(1).png" title="w3c" class="aligncenter" width="500"  /><br />
Come puoi vedere &egrave; semplicissimo da usare! Basta inserire l&#39;indirizzo del tuo sito e cliccare sul pulsante <b>Check </b> oppure puoi scegliere di inviare un file da analizzare nel caso il tuo sito non sia online cliccando sulla tab <b>Validate by File Upload</b>, o ancora puoi inserire direttamente il codice da analizzare cliccando sulla tab <b>Validate by Direct Input</b>.</p>
<p>Un altro strumento utilissimo che W3C ti mette a disposizione &egrave; il  <a rel="nofollow" target="_blank" href="http://validator.w3.org/checklink"> <b>Link Checker</b></a> che verifica la validit&agrave; di tutti i link presenti all&#39;indirizzo immesso!<br />
Per i tuoi <b><a rel="nofollow" target="_blank" href="http://it.wikipedia.org/wiki/Really_simple_syndication">RSS feed</a></b> invece w3c ti mette a disposizione il  <a rel="nofollow" target="_blank" href="http://validator.w3.org/feed/"><span style="font-size: small;"><b>Feed Validator</b></span></a>; anche in questo caso ti baster&agrave; inserire il link dei tuoi feed e cliccare sul pulsante Check.<br />
Per i tuoi <a rel="nofollow" target="_blank" href="http://it.wikipedia.org/wiki/Foglio_di_stile"><b>fogli di stile CSS</b></a> invece puoi utilizzare il <a rel="nofollow" target="_blank" href="http://jigsaw.w3.org/css-validator/"><span style="font-size: small;"><b>CSS Validator</b></span></a> sempre con la stessa facilit&agrave; d&#39;utilizzo degli altri strumenti</p>
<p>Non poteva mancare poi uno strumento per la convalida dei tuoi file  <a rel="nofollow" target="_blank" href="http://it.wikipedia.org/wiki/XML">XML</a> ecco quindi che w3c mette a tua disposizione l&#39;<a rel="nofollow" target="_blank" href="http://www.w3.org/2001/03/webdata/xsv"><b>XML Schema Validator</b></a> questo validator ti mette a disposizione due modalit&agrave; di utilizzo: link o file.</p>
<p>Ognuno degli strumenti che ti ho illustrato ti fornir&agrave; un dettagliato report sui problemi rilevati e alcune indicazioni per risolverli, e tutto questo a costo 0!</p>
</blockquote>
<p>via <a href="http://www.squirob.com/software-web-based/web-incrementa-laccessibilita-del-tuo-sito-a-costo-0.html">http://www.squirob.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/w3c-validators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stampante bloccata</title>
		<link>http://www.valeriovendrame.it/blog/stampante-bloccata/</link>
		<comments>http://www.valeriovendrame.it/blog/stampante-bloccata/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 18:44:29 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[cazzeggi]]></category>
		<category><![CDATA[piccì]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=83</guid>
		<description><![CDATA[
&#232; sufficiente creare un file .bat e farlo partire all'occorrenza, con questo codice:
@echo off
net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler
Come sbloccare la coda di stampa della vostra stampante
Sar&#224; capitato anche voi che la stampante si blocchi sulla coda di stampa; questo crea l&#39;impossibilit&#224; di continuare a stampare ed appare l&#39;icona di una stampante sulla barra [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-94" title="Stampante" src="http://www.valeriovendrame.it/blog/wp-content/uploads/2009/03/7126-pittux-imprimante.png" alt="Stampante" width="256" height="256" /><br />
&egrave; sufficiente creare un file <em>.bat</em> e farlo partire all'occorrenza, con questo codice:</p>
<pre>@echo off
net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler</pre>
<blockquote><p>Come sbloccare la coda di stampa della vostra stampante<br />
Sar&agrave; capitato anche voi che la stampante si blocchi sulla coda di stampa; questo crea l&#39;impossibilit&agrave; di continuare a stampare ed appare l&#39;icona di una stampante sulla barra delle applicazioni (vicino all&#39;orologio). Se si apre la finestra si vedr&agrave; che la coda di stampa &egrave; bloccata.<br />
Solitamente si tenta di annullare sospendendo o eliminando l&#39;operazione di stampa che blocca tutte le seguenti con un risultato vano: vi &egrave; per&ograve; una soluzione, riavviare lo spooler di stampa.<br />
Per fare ci&ograve; basta aprire il prompt dei comandi (Start/Esegui: cmd) e digitare quanto segue:<br />
<code>net stop spooler</code><br />
Dopo aver dato "invio" come risposta riceverete: Servizio Spooler di stampa arrestato. Ora lo spooler si &egrave; arrestato, per poter stampare dobbiamo riavviarlo digitando:<br />
<code>net start spooler</code><br />
Se tutto ci&ograve; &egrave; troppo lungo, potete creare un file di batch (.bat), ovvero un eseguibile pronto all&#39;uso.<br />
Basta scrivere in un file di testo, quanto segue:<br />
<code>@echo off</code><br />
<code>net stop spooler</code><br />
<code>net start spooler</code><br />
Salvatelo come .bat e non .txt, magari nominandolo in maniera da ricordarlo per esempio: "Ripristina_coda_di_stampa.bat"<br />
Salvatelo dove vi &egrave; pi&ugrave; comodo ed avviatelo ogni volta che si presenta la necessit&agrave; di sbloccare la coda di stampa.</p></blockquote>
<p>via: <a href="http://www.pc-facile.com/news/come_sbloccare_coda_stampa_vostra_stampante/56060.htm">www.pc-facile.com</a> | <a href="http://dany21.wordpress.com/2008/02/19/come-sbloccare-la-coda-di-stampa-della-vostra-stampante/">dany21.wordpress.com</a></p>
<p>aggiornamento via: <a title="Annullamento stampa" href="http://support.microsoft.com/kb/946737/it">support.microsoft.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/stampante-bloccata/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>xampp su ubuntu</title>
		<link>http://www.valeriovendrame.it/blog/xampp-su-ubuntu/</link>
		<comments>http://www.valeriovendrame.it/blog/xampp-su-ubuntu/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 11:18:13 +0000</pubDate>
		<dc:creator>Valerio Vendrame</dc:creator>
				<category><![CDATA[piccì]]></category>
		<category><![CDATA[siti]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.valeriovendrame.it/blog/?p=64</guid>
		<description><![CDATA[per quanto riguarda XAMPP &#232; pi&#249; semplice di quanto pensassi:
http://ubuntuforums.org/showthread.php?t=223410
This is a how-to for setting up a web development environment easily. This guide will install the XAMPP lampp stack into /opt, setup an easy way to start it up and shut it down, and link a folder in your home directory to the webserver.
WARNING
This guide [...]]]></description>
			<content:encoded><![CDATA[<p>per quanto riguarda XAMPP &egrave; pi&ugrave; semplice di quanto pensassi:<br />
<a href="http://ubuntuforums.org/showthread.php?t=223410" rel="nofollow">http://ubuntuforums.org/showthread.php?t=223410</a><br />
This is a how-to for setting up a web development environment easily. This guide will install the XAMPP lampp stack into /opt, setup an easy way to start it up and shut it down, and link a folder in your home directory to the webserver.</p>
<p><strong>WARNING</strong><br />
This guide is aimed at a development environment only and should not be used as a public webserver. To setup a public webserver follow the directions on the Ubuntu wiki <a href="https://help.ubuntu.com/community/ApacheMySQLPHP" rel="nofollow" target="_blank">https://help.ubuntu.com/community/ApacheMySQLPHP</a></p>
<p>As this is Ubuntu, all the major parts of a typical web server are included (in the main repo, or on the Ubuntu Server CD) and this is a great way to setup a server. The ubuntu developers have prepared a great web server and have made the process as seemless as possible. </p>
<p>But what if even the official way is still to complicated? What if you just want a quick web server for development?</p>
<p>Fortunately there is the XAMPP project: <a href="http://www.apachefriends.org/en/xampp.html" rel="nofollow">http://www.apachefriends.org/en/xampp.html</a>. The XAMPP project bundles Apache, PHP4 &amp; 5, Perl, mySQL, and a bunch of other utilities/applications into an simple package for Mac OSX, Windows, Solaris, and Linux. Obviously this HOWTO only deals with the linux version.</p>
<p>For those of you with already existing Apache/mySQL/php installations it installs everything into /opt so it doesn't conflict with any other installation, and it is completely setup and ready to run.</p>
<p><strong>Install XAMPP</strong><br />
Two easy steps:<br />
- Download the most recent version of XAMPP: (at time of writing 1.6.7)<br />
<a href="http://prdownloads.sourceforge.net/xampp/xampp-linux-1.6.7.tar.gz?download" rel="nofollow" target="_blank">http://prdownloads.sourceforge.net/xampp/xampp-linux-1.6.7.tar.gz?download</a><br />
(Source URL: <a href="http://www.apachefriends.org/it/xampp-linux.html#374" rel="nofollow" target="_blank">http://www.apachefriends.org/it/xampp-linux.html#374</a>)<br />
- Extract the archive to /opt using sudo: (make sure you are in the directory that you downloaded the archive to)
<pre>sudo tar xvfz xampp-linux-1.6.7.tar.gz -C /opt</pre>
<p><strong>Start XAMPP</strong><br />
To start it up, open a terminal and type this:</p>
<pre>sudo /opt/lampp/lampp start</pre>
<p><strong>Stop XAMPP</strong><br />
To stop it, open a terminal and type this:</p>
<pre>sudo /opt/lampp/lampp stop</pre>
<p><strong>Additional XAMPP commands</strong><br />
To see additional commands, open a terminal and type this:</p>
<pre>sudo /opt/lampp/lampp</pre>
<p><strong>Sweet XAMPP Control Panel</strong></p>
<p><img src="http://img108.imageshack.us/img108/5647/screenshotxamppcontrolpanelfj6.png" alt="img108.imageshack.us/img108/5647/screenshotxamppcontrolpanelfj6.png" style="border: 0px none ;"/></p>
<p>To use the sweet gtk/python control panel:<br />
Run in a terminal:
<pre>gedit ~/.local/share/applications/xampp-control-panel.desktop</pre>
<p>Paste the following into the open file and save and exit.</p>
<pre>[Desktop Entry]
Comment=Start/Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo "python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py"
Icon[en_CA]=/usr/share/icons/Tango/scalable/devices/network-wired.svg
Encoding=UTF-8
Terminal=false
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start/Stop XAMPP
Type=Application
Icon=/usr/share/icons/Tango/scalable/devices/network-wired.svg</pre>
<p>"XAMPP Control Panel" will show up in your applications menu under Internet. Use the Alacarte Menu Editor to move it around.</p>
<p><strong>Test to see if XAMPP is running</strong><br />
Once XAMPP is up and running open firefox and go to: <a href="http://localhost/" rel="nofollow" target="_blank">http://localhost/</a></p>
<p>You should see the XAMPP test page:<br />
<img src="http://static.apachefriends.org/images/380.jpg" alt="static.apachefriends.org/images/380.jpg" style="border: 0px none ;"/></p>
<p><strong>Location of files and uploading</strong><br />
XAMPP by default uses /opt/lampp/htdocs as the root web directory. The easiest way to start working on files is to link a folder in your home directory into this directory.<br />
My user name is peter so I have /home/peter/public_html linked to /opt/lampp/htdocs/peter. So if I navigate to <a href="http://localhost/peter/" rel="nofollow" target="_blank">http://localhost/peter/</a> I get a listing of all the files/folders in that directory. (As long is there isn't a index.php/html/etc file)<br />
To set this up, run in a terminal:<br />
- Make public_html directory in home directory:
<pre>mkdir ~/public_html</pre>
<p>- Link to /opt/lampp/htdocs
<pre>sudo ln -s ~/public_html /opt/lampp/htdocs/$USER</pre>
<p>Now any files and folders you place in ~/public_html will be published to your personal webserver.<br />
Bookmark <a href="http://localhost/username" rel="nofollow" target="_blank">http://localhost/username</a> to make this easy to access.</p>
<p><strong>WARNING - SECURITY</strong><br />
<a href="http://www.apachefriends.org/en/xampp-linux.html#381" rel="nofollow" target="_blank">http://www.apachefriends.org/en/xampp-linux.html#381</a></p>
<p>Open holes:<br />
- The MySQL administrator (root) has no password.<br />
- The MySQL daemon is accessible via network.<br />
- ProFTPD uses the password "lampp" for user "nobody".<br />
- PhpMyAdmin is accessible via network.<br />
- Examples are accessible via network.<br />
- MySQL and Apache running under the same user (nobody). </p>
<p>This doesn't leave your whole system wide open, but someone could hack your XAMPP installation, so be wary.<br />
To fix most of the security weaknesses open a terminal and run:
<pre>sudo /opt/lampp/lampp security</pre>
<p><strong>Feedback</strong><br />
Please read <a href="http://www.ubuntuforums.org/showpost.php?p=1310039&amp;postcount=5" rel="nofollow" target="_blank"> this post</a>.</p>
<p>---- EDIT - July 28, 2006 ----<br />
Minor Edits<br />
---- EDIT - August 1, 2006 ----<br />
Re-did xampp control panel shortcut to make it easier.<br />
---- EDIT - August 16, 2006 ----<br />
Added warning for public web servers and edited intro to make it more accurate.<br />
---- EDIT - September 1, 2006 ----<br />
Added sudo to security command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valeriovendrame.it/blog/xampp-su-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
