<?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>ldlabs.org - Blog &#187; internet</title>
	<atom:link href="http://www.ldlabs.org/blog/tag/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ldlabs.org/blog</link>
	<description>Linux Tips &#38; c.</description>
	<lastBuildDate>Tue, 24 Jan 2012 08:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Convertire caratteri accentati in caratteri con apice in javascript</title>
		<link>http://www.ldlabs.org/blog/2011/03/05/convertire-caratteri-accentati-in-caratteri-con-apice-in-javascript/</link>
		<comments>http://www.ldlabs.org/blog/2011/03/05/convertire-caratteri-accentati-in-caratteri-con-apice-in-javascript/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 12:41:42 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[code tips]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=661</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Può sempre servire convertire alcuni caratteri accentati nelle corrispondenti versioni accentate (soprattutto quando i passaggi del testo son molti, magari ci sta di mezzo anche un db o uno dei nodi intermedi non è sotto il nostro controllo). Questo è il codice che converte tutti i caratteri accentati per la stringa passata come parametro: 1 [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Può sempre servire convertire alcuni caratteri accentati nelle corrispondenti versioni accentate (soprattutto quando i passaggi del testo son molti, magari ci sta di mezzo anche un db o uno dei nodi intermedi non è sotto il nostro controllo).</p>
<p>Questo è il codice che converte tutti i caratteri accentati per la stringa passata come parametro:</p>

<div class="wp_codebox"><table><tr id="p6612"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p661code2"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> convertCharacters<span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	conv_map <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #3366CC;">'À'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'A<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'à'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'a<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Á'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'A<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'á'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'a<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">'È'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'E<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'è'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'e<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'É'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'E<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'é'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'e<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">'Ì'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'I<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'ì'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'i<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Í'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'I<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'í'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'i<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">'Ò'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'O<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'ò'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'o<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Ó'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'O<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'ó'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'o<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">'Ù'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'U<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'ù'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'u<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Ú'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'U<span style="color: #000099; font-weight: bold;">\'</span>'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'ú'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'u<span style="color: #000099; font-weight: bold;">\'</span>'</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #000066; font-weight: bold;">in</span> conv_map<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		string <span style="color: #339933;">=</span> string.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> RegExp<span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;g&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> conv_map<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> 
&nbsp;
	<span style="color: #000066; font-weight: bold;">return</span> string<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Buon lavoro!</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F03%2F05%2Fconvertire-caratteri-accentati-in-caratteri-con-apice-in-javascript%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/03/05/convertire-caratteri-accentati-in-caratteri-con-apice-in-javascript/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/03/05/convertire-caratteri-accentati-in-caratteri-con-apice-in-javascript/"  data-text="Convertire caratteri accentati in caratteri con apice in javascript" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/03/05/convertire-caratteri-accentati-in-caratteri-con-apice-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript shell</title>
		<link>http://www.ldlabs.org/blog/2011/03/01/javascript-shell/</link>
		<comments>http://www.ldlabs.org/blog/2011/03/01/javascript-shell/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 14:44:19 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[recensione]]></category>
		<category><![CDATA[code tips]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=630</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Mi serviva un modo per testare uno scriptino in javascript al volo e mi sono imbattuto in questa pagina: Script carino e soprattutto molto utile in caso di emergenza! Da annotare! Tweet]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Mi serviva un modo per testare uno scriptino in javascript al volo e mi sono imbattuto in <a href="http://www.squarefree.com/shell/shell.html" target="_blank">questa</a> pagina:</p>
<p><img class="alignnone img_post colorbox-630" title="JavaScript shell" src="http://www.ldlabs.org/blog/wp-content/uploads/manual/javascript_shell.PNG" alt="" width="658" height="268" /></p>
<p>Script carino e soprattutto molto utile in caso di emergenza!</p>
<p>Da annotare! <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-630' /> </p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F03%2F01%2Fjavascript-shell%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/03/01/javascript-shell/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/03/01/javascript-shell/"  data-text="javascript shell" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/03/01/javascript-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wolfram Alpha</title>
		<link>http://www.ldlabs.org/blog/2009/05/18/wolfram-alpha/</link>
		<comments>http://www.ldlabs.org/blog/2009/05/18/wolfram-alpha/#comments</comments>
		<pubDate>Mon, 18 May 2009 09:43:59 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[recensione]]></category>
		<category><![CDATA[annunci]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=500</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Avrete senz&#8217;altro sentito tutti parla di Wolfram Alpha in questi giorni, un motore di ricerca semantico al quale fare una domanda e attendersi una risposta ben precisa . Possiamo ad esempio chiedere la soluzione ad una equazione di secondo grado, wolfram ci risponderà con lo studio della funzione, oppure possiamo ricercare &#8220;John Lennon&#8221; ricevendo informazioni [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Avrete senz&#8217;altro sentito tutti parla di <strong>Wolfram Alpha</strong> in questi giorni, un motore di ricerca semantico al quale fare una domanda e attendersi una risposta ben precisa .</p>
<p>Possiamo ad esempio chiedere la soluzione ad una equazione di secondo grado, <em>wolfram</em> ci risponderà con lo studio della funzione, oppure possiamo ricercare &#8220;<em>John Lennon</em>&#8221; ricevendo informazioni sulla vita del noto musicista.</p>
<p>Ora che avete capito più o meno il funzionamento del motore di ricerca, passiamo a qualcosa di un pò più divertente <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-500' /> </p>
<p>Provate a chiedere &#8220;<a href="http://www33.wolframalpha.com/input/?i=What+is+your+name%3F" target="_blank"><em>What&#8217;s your name?</em></a>&#8220;.</p>
<p>Provate a chiedere &#8220;<a href="http://www33.wolframalpha.com/input/?i=Hello" target="_blank"><em>Hello</em></a>&#8220;.</p>
<p>Sempre più difficile <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley colorbox-500' /> , chiedete &#8220;<a href="http://www33.wolframalpha.com/input/?i=How+many+roads+must+a+man+walk+down+before+you+can+call+him+a+man%3F" target="_blank"><em>How many roads must a man walk down before you can call him a man?</em></a>&#8220;.</p>
<p>Chiedete &#8220;<a href="http://www33.wolframalpha.com/input/?i=Where+am+I%3F" target="_blank"><em>Where am I?</em></a>&#8220;.</p>
<p>Chiedete &#8220;<a href="http://www33.wolframalpha.com/input/?i=What+is+the+answer+to+life%3F" target="_blank"><em>What is the answer to life?</em></a>&#8220;.</p>
<p>Ed infine una chicca per i più nerd&#8230; conoscete la <a href="http://it.wikipedia.org/wiki/Classi_di_complessit%C3%A0_P_e_NP" target="_blank"><em>Teoria della complessità computazionale</em></a>? Provate a chiedere la risposta a <em>Wolfram</em>, &#8220;<em><a href="http://www.wolframalpha.com/input/?i=P%3DNP%3F" target="_blank">P = NP</a></em>&#8220;.</p>
<p>Promette bene, non credete? <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley colorbox-500' /> </p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F05%2F18%2Fwolfram-alpha%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/05/18/wolfram-alpha/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/05/18/wolfram-alpha/"  data-text="Wolfram Alpha" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/05/18/wolfram-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>firefox 3.5 ancora più nuovo</title>
		<link>http://www.ldlabs.org/blog/2009/05/17/firefox-35-ancora-piu-nuovo/</link>
		<comments>http://www.ldlabs.org/blog/2009/05/17/firefox-35-ancora-piu-nuovo/#comments</comments>
		<pubDate>Sun, 17 May 2009 10:32:04 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[annunci]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[program]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=492</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Oltre alle già famose novità che verranno introdotte dalla versione 3.5 del noto browser web (supporto a JSON, la modalità di Browsing Privata, il nuovo motore javascript TraceMonkey, supporto ad HTML5 e molto altro) si è deciso anche di modificare l&#8217;icona: Solo un refresh della vecchia, ma aggiunge ancora un altra novità a questa attesissima [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Oltre alle già famose novità che verranno introdotte dalla versione <em>3.5</em> del noto browser web (supporto a <a href="http://blog.mozilla.com/webdev/2009/02/12/native-json-in-firefox-31/" target="_blank">JSON</a>, la modalità di <em>Browsing Privata</em>, il nuovo motore javascript <a href="https://wiki.mozilla.org/JavaScript:TraceMonkey" target="_blank">TraceMonkey</a>, supporto ad <em>HTML5</em> e molto altro) si è deciso anche di modificare l&#8217;icona:</p>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 290px"><a rel="attachment wp-att-493" href="http://www.ldlabs.org/blog/wp-content/uploads/2009/05/fireofx3_5_logo.png"><img class="size-full wp-image-493 colorbox-492" title="fireofx3_5_logo" src="http://www.ldlabs.org/blog/wp-content/uploads/2009/05/fireofx3_5_logo.png" alt="Nuova icona di Firefox" width="280" height="223" /></a><p class="wp-caption-text">Nuova icona di Firefox</p></div>
<p>Solo un refresh della vecchia, ma aggiunge ancora un altra novità a questa attesissima nuova relase.</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F05%2F17%2Ffirefox-35-ancora-piu-nuovo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/05/17/firefox-35-ancora-piu-nuovo/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/05/17/firefox-35-ancora-piu-nuovo/"  data-text="firefox 3.5 ancora più nuovo" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/05/17/firefox-35-ancora-piu-nuovo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>8bit radio</title>
		<link>http://www.ldlabs.org/blog/2009/05/17/8bit-radio/</link>
		<comments>http://www.ldlabs.org/blog/2009/05/17/8bit-radio/#comments</comments>
		<pubDate>Sun, 17 May 2009 10:15:50 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[varie]]></category>
		<category><![CDATA[web radio]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=490</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Stanchi delle solita musica? Volete cambiare? Se a questo ci aggiungete un pò di voglia di riascoltare le colonne sonore della nostra infanzia, le mitiche canzoni che, dal GameBoy al Nintendo, ci hanno accompagnato per tanti anni, non vi resta che puntare il vostro browser su http://www.8bitfm.com/ e mettervi in ascolto. Buon divertimento Tweet]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Stanchi delle solita musica? Volete cambiare?</p>
<p>Se a questo ci aggiungete un pò di voglia di riascoltare le colonne sonore della nostra infanzia, le mitiche canzoni che, dal <strong>GameBoy</strong> al <strong>Nintendo</strong>, ci hanno accompagnato per tanti anni, non vi resta che puntare il vostro browser su <a href="http://www.8bitfm.com/" target="_blank">http://www.8bitfm.com/</a> e mettervi in ascolto.</p>
<p>Buon divertimento <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley colorbox-490' /> </p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F05%2F17%2F8bit-radio%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/05/17/8bit-radio/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/05/17/8bit-radio/"  data-text="8bit radio" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/05/17/8bit-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FoolDns &#8220;apre la beta&#8221;</title>
		<link>http://www.ldlabs.org/blog/2009/03/31/fooldns-apre-la-beta/</link>
		<comments>http://www.ldlabs.org/blog/2009/03/31/fooldns-apre-la-beta/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 17:34:33 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[annunci]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=164</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Dopo mesi di beta testing &#8220;ristretta&#8221; ecco l&#8217;annuncio di Matteo Flora con il quale permette a tutti di provare i nuovi DNS per proteggere la privacy e (a quanto pare) anche per aiutarvi contro i worm. http://fooldns.com/beta.html Buoni FoolDns Tweet]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Dopo mesi di beta testing &#8220;ristretta&#8221; ecco l&#8217;<a href="http://www.lastknight.com/2009/03/31/fooldns-contro-conficker/">annuncio</a> di <em>Matteo Flora</em> con il quale permette a tutti di provare i nuovi DNS per proteggere la privacy e (a quanto pare) anche per aiutarvi contro i worm.</p>
<p><a href="http://fooldns.com/beta.html">http://fooldns.com/beta.html</a></p>
<p>Buoni <strong>FoolDns</strong></p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F03%2F31%2Ffooldns-apre-la-beta%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/03/31/fooldns-apre-la-beta/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/03/31/fooldns-apre-la-beta/"  data-text="FoolDns &#8220;apre la beta&#8221;" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/03/31/fooldns-apre-la-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Undo send (g)mail</title>
		<link>http://www.ldlabs.org/blog/2009/03/20/undo-send-gmail/</link>
		<comments>http://www.ldlabs.org/blog/2009/03/20/undo-send-gmail/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 16:13:22 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[recensione]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=143</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Ogni tanto potrebbe capitare di voler annullare l&#8217;invio di una mail e spulciando tra le novità del GmailLabs ho trovato un&#8217;opzione che permette di farlo. Per qualche secondo dopo l&#8217;invio rimane un link che permette di annullare la partenza della mail, ecco un esempio: Il tempo che si ha per annullare l&#8217;invio è veramente esiguo [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Ogni tanto potrebbe capitare di voler annullare l&#8217;invio di una mail e spulciando tra le novità del <em>GmailLabs</em> ho trovato un&#8217;opzione che permette di farlo. Per qualche secondo dopo l&#8217;invio rimane un link che permette di annullare la partenza della mail, ecco un esempio:</p>
<p><a rel="attachment wp-att-144" href="http://www.ldlabs.org/blog/wp-content/uploads/2009/03/gmailundo.png"><img class="aligncenter size-medium wp-image-144 colorbox-143" title="gmailundo" src="http://www.ldlabs.org/blog/wp-content/uploads/2009/03/gmailundo-300x25.png" alt="gmailundo" width="300" height="25" /></a></p>
<p>Il tempo che si ha per annullare l&#8217;invio è veramente esiguo (5s) ma nel gruppo di discussione già si parla di aumentare la personalizzazione di questo periodo&#8230;</p>
<p>Non è poi una gran novità ma reputo sia una di quelle cose che fa sempre comodo avere <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-143' /> </p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F03%2F20%2Fundo-send-gmail%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/03/20/undo-send-gmail/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/03/20/undo-send-gmail/"  data-text="Undo send (g)mail" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/03/20/undo-send-gmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShadowBox JS, media viewer per wordpress</title>
		<link>http://www.ldlabs.org/blog/2009/03/20/shadowbox-js-media-viewer-per-wordpress/</link>
		<comments>http://www.ldlabs.org/blog/2009/03/20/shadowbox-js-media-viewer-per-wordpress/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 15:42:44 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[recensione]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=141</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Precisiamo che si parla di script che permettono di portare in primo piano le immagini presenti sulla propria pagina web. Dopo aver provato un po di script trovati qua e la, mi son messo a cercare tra i plugin di wordpress ed ecco fatto&#8230; Il plugin in questione si chiama ShadowBox JS, l&#8217;installazione è standard, [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Precisiamo che si parla di script che permettono di portare in primo piano le immagini presenti sulla propria pagina web.</p>
<p>Dopo aver provato un po di script trovati qua e la, mi son messo a cercare tra i plugin di wordpress ed ecco fatto&#8230;</p>
<p>Il plugin in questione si chiama <a href="http://wordpress.org/extend/plugins/shadowbox-js/" target="_blank">ShadowBox JS</a>, l&#8217;installazione è standard, l&#8217;ultilizzo semplicissimo&#8230; non bisogna far niente per farlo andare <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley colorbox-141' /> </p>
<p>Al massimo se volete potete aggiungere <em>rel=&#8221;shadowbox&#8221;</em> al link delle vostre immagini per non farla visualizzare come un album.</p>
<p>Buon lavoro.</p>
<p>P.S.<br />
Per le prove utilizzate ovviamente le immagini presenti in qualche mio articolo, ad esempio <a href="http://www.ldlabs.org/blog/2009/03/11/cartelle-condivise-con-virtualbox-ed-altre-cosette/" target="_blank">qui</a> potete vedere come funziona il parametro <em>rel </em>che è stato inserito nelle prime due immagini, nelle ultime due invece no.</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F03%2F20%2Fshadowbox-js-media-viewer-per-wordpress%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/03/20/shadowbox-js-media-viewer-per-wordpress/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/03/20/shadowbox-js-media-viewer-per-wordpress/"  data-text="ShadowBox JS, media viewer per wordpress" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/03/20/shadowbox-js-media-viewer-per-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>proxytunnel, come connettersi ad un server ssh tramite un web proxy</title>
		<link>http://www.ldlabs.org/blog/2009/03/16/proxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy/</link>
		<comments>http://www.ldlabs.org/blog/2009/03/16/proxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 15:43:59 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=115</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Ho sempre avuto problemi a connettermi al mio pc tramite ssh quando sono in facoltà per colpa del proxy web, poi fu la luce&#8230; Per prima cosa impostate il vostro server ssh sulla porta 443 (https) per bypassare eventuali controlli sulla porta. Scaricate ProxyTunnel e successivamente passate a modificare (o creare) il vostro file .ssh/config [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Ho sempre avuto problemi a connettermi al mio pc tramite <em>ssh</em> quando sono in facoltà per colpa del proxy web, poi fu la luce&#8230;</p>
<p>Per prima cosa impostate il vostro server ssh sulla porta <strong>443</strong> <em>(https)</em> per bypassare eventuali controlli sulla porta.</p>
<p>Scaricate <a href="http://proxytunnel.sourceforge.net/download.php" target="_blank">ProxyTunnel</a> e successivamente passate a modificare (o creare) il vostro file<em> .ssh/config</em> in questo modo:</p>
<pre>Host *.miodominio.org
DynamicForward 1080
ProxyCommand PATH_ESEGUIBILE_PROXYTUNNEL/proxytunnel -v -p INDIRIZZO_PROXY:PORTA_PROXY -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"
ServerAliveInterval 30</pre>
<p>ora non vi resta che connettervi normalmente al vostro pc tramite il solito comando:</p>
<pre>$ ssh -p 443 pc.miodominio.org</pre>
<p>Ecco tutto <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-115' /> </p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F03%2F16%2Fproxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/03/16/proxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/03/16/proxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy/"  data-text="proxytunnel, come connettersi ad un server ssh tramite un web proxy" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/03/16/proxytunnel-come-connettersi-ad-un-server-ssh-tramite-un-web-proxy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mysql ip geolocation</title>
		<link>http://www.ldlabs.org/blog/2009/02/10/mysql-ip-geolocation/</link>
		<comments>http://www.ldlabs.org/blog/2009/02/10/mysql-ip-geolocation/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 15:32:45 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=22</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Leggendo qua e la ho mi son ritrovato su questa pagina. tante volte avrei voluto conoscere la localizzazione geografica di un indirizzo ip, per svariati motivi: sapere l&#8217;origine di un mio visitatore per esempio. Bene ora tramite questo database mysql è possibile conoscere (approssimativamente) la localizzazione di un indirizzo ip. Per poterlo utilizzare bisogna avere [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Leggendo qua e la ho mi son ritrovato su <a href="http://blogama.org/node/58" target="_blank">questa pagina</a>. tante volte avrei voluto conoscere la localizzazione geografica di un indirizzo ip, per svariati motivi: sapere l&#8217;origine di un mio visitatore per esempio.<br />
Bene ora tramite questo database mysql è possibile conoscere (approssimativamente) la localizzazione di un indirizzo ip.</p>
<p>Per poterlo utilizzare bisogna avere un server mysql sul quale fare l&#8217;import del database, vi consiglio di farlo tramite la linea di comando del server per non avere problemi data la dimensione del file, questo è il comando da dare:</p>
<blockquote><p><em>source /path/to/ipinfodb.sql</em></p></blockquote>
<p>successivamente è necessario possedere l&#8217;indirizzo ip da ricercare (ovviamente <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley colorbox-22' /> ) nella forma <em>`a.b.c.d`</em> e utilizzando la formula:</p>
<blockquote><p><em>(256*a + b) * 256 + c</em></p></blockquote>
<p>calcolarsi il valore con cui fare la ricerca. Questa è la query:</p>
<blockquote>
<div class="geshifilter"><em>SELECT * FROM `ip_group_city` where `ip_start` &lt;= <span style="text-decoration: line-through;">4881709</span> order by ip_start desc limit 1;</em></div>
</blockquote>
<div class="geshifilter">dove al posto di `<em><span style="text-decoration: line-through;">4881709</span></em>` dovete metterci il risultato dell&#8217;operazione sopra descritta.</div>
<div class="geshifilter">Questo piccolo script php fa tutto questo per voi, dovete solo riempire con server, username, password e database:</div>

<div class="wp_codebox"><table><tr id="p224"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code" id="p22code4"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ip'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span>form action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;searchip.php&quot;</span> method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;get&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;ip&quot;</span> <span style="color: #339933;">/&gt;&lt;</span>br <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">//QUESTO SCRIPT NON È SICURO (NON C'È CONTROLLO SULL'INPUT), UTILIZZATELO SOLO PER DELLE PROVE LOCALI!</span>
&nbsp;
<span style="color: #000088;">$split</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ip'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$COUNT</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">256</span><span style="color: #339933;">*</span><span style="color: #000088;">$split</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$split</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color: #cc66cc;">256</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$split</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$QUERY</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'SELECT * FROM `ip_group_city` where `ip_start` &lt;= '</span><span style="color: #339933;">.</span><span style="color: #000088;">$COUNT</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' order by ip_start desc limit 1;'</span><span style="color: #339933;">;</span>
&nbsp;
<a href="http://www.php.net/mysql_connect"><span style="color: #990000;">mysql_connect</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'username'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.php.net/mysql_select_db"><span style="color: #990000;">mysql_select_db</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;test&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$QUERY</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$arr</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$res</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Country: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$arr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'country_code'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br /&gt;City: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$arr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'city'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<div class="geshifilter">buon lavoro <img src='http://www.ldlabs.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-22' /> </div>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2009%2F02%2F10%2Fmysql-ip-geolocation%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2009/02/10/mysql-ip-geolocation/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2009/02/10/mysql-ip-geolocation/"  data-text="mysql ip geolocation" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2009/02/10/mysql-ip-geolocation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

