<?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>Michele&#039;s Blog &#187; script</title>
	<atom:link href="http://www.michelem.org/category/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michelem.org</link>
	<description>io, me e michele</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:57:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>AWS EC2 Manage Snapshot Backup with PHP SDK</title>
		<link>http://www.michelem.org/2011/08/11/aws-ec2-manage-snapshot-backup-with-php-sdk/</link>
		<comments>http://www.michelem.org/2011/08/11/aws-ec2-manage-snapshot-backup-with-php-sdk/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 14:05:51 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[snapshot]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=1053</guid>
		<description><![CDATA[This is a simple script based upon AWS SDK PHP to manage volume&#8217;s snapshots. It simply create one snapshot per volume (once you run it) and delete snapshot older then 1 month. Please provide your personal information by copying config-sample.inc.php into config.inc.php. Run the script backup-snapshots.php with your CRON. For example: # Auto AWS Snapshots [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>This is a simple script based upon <a href="http://aws.amazon.com/sdkforphp/">AWS SDK PHP</a> to manage volume&#8217;s snapshots.</p>
<p>It simply create one snapshot per volume (once you run it) and delete snapshot older then 1 month.</p>
<p>Please provide your personal information by copying config-sample.inc.php into config.inc.php.</p>
<p>Run the script backup-snapshots.php with your CRON.</p>
<p>For example:</p>
<pre># Auto AWS Snapshots
00 08   * * *   /usr/bin/php /var/virtual/aws/backup-snapshots.php
00 22   * * *   /usr/bin/php /var/virtual/aws/backup-snapshots.php
00 12   * * 7   /usr/bin/php /var/virtual/aws/backup-snapshots.php</pre>
<p>Download <a href="https://github.com/michelem09/AWS-EC2-Manage-Snapshots-Backup">AWS EC2 Manage Snapshot Backup</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2011/08/11/aws-ec2-manage-snapshot-backup-with-php-sdk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Import/Synchronizing your imap email into Gmail with imapsync</title>
		<link>http://www.michelem.org/2009/03/13/importsynchronizing-your-imap-email-into-gmail-with-imapsync/</link>
		<comments>http://www.michelem.org/2009/03/13/importsynchronizing-your-imap-email-into-gmail-with-imapsync/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 08:54:49 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[import]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=889</guid>
		<description><![CDATA[- Installare &#8220;imapsync&#8221; (su Debian/Ubuntu &#8220;apt-get install imapsync&#8221;) - Procedere alla sincronizzazione con il seguente comando: imapsync --host1 my_mail_server --port1 143 \ --user1 changeme@yourdomain --password1 mypassword \ --host2 imap.gmail.com --port2 993 \ --user2 changeme@gmail.com --password2 mypassword \ --syncinternaldates --ssl2 --noauthmd5 --split1 100 --split2 100 - Se volete sincronizzare solo specifiche direcotry Imap bastera&#8217; aggiungere l&#8217;opzione [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>- Installare &#8220;imapsync&#8221; (su Debian/Ubuntu &#8220;apt-get install imapsync&#8221;)</p>
<p>- Procedere alla sincronizzazione con il seguente comando:</p>
<pre class="brush: bash">
imapsync --host1 my_mail_server --port1 143 \
--user1 changeme@yourdomain --password1 mypassword \
--host2 imap.gmail.com --port2 993 \
--user2 changeme@gmail.com --password2 mypassword \
--syncinternaldates --ssl2 --noauthmd5 --split1 100 --split2 100
</pre>
<p>- Se volete sincronizzare solo specifiche direcotry Imap bastera&#8217; aggiungere l&#8217;opzione <code>"--folder yourfolder"</code></p>
<p>- Se volete prima provare senza che nulla venga toccato aggiungete l&#8217;opzione <code>"--dry"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2009/03/13/importsynchronizing-your-imap-email-into-gmail-with-imapsync/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Screen rotation on ATI Radeon card with xrandr</title>
		<link>http://www.michelem.org/2009/01/19/screen-rotation-on-ati-radeon-card-with-xrandr/</link>
		<comments>http://www.michelem.org/2009/01/19/screen-rotation-on-ati-radeon-card-with-xrandr/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 11:41:13 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[card]]></category>
		<category><![CDATA[graphic]]></category>
		<category><![CDATA[radeon]]></category>
		<category><![CDATA[rotation]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=874</guid>
		<description><![CDATA[Prima di tutto e&#8217; indispensabile installare gli ultimi driver ATI disponibili (al momento il file si chiama ati-driver-installer-8-12-x86.x86_64.run). Installati i driver, va lanciato l&#8217;inserimento dei moduli nel kernel: modprobe fglrx Infine va abilitato il support a RandR per poter modificare al volo il layout dello schermo, cosi&#8217; come la sua rotazione e molte altre cose. [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Prima di tutto e&#8217; indispensabile installare gli ultimi driver <strong>ATI</strong> disponibili (al momento il file si chiama <strong>ati-driver-installer-8-12-x86.x86_64.run</strong>).</p>
<p>Installati i driver, va lanciato l&#8217;inserimento dei moduli nel kernel:</p>
<blockquote><p><code>modprobe fglrx</code></p></blockquote>
<p>Infine va abilitato il support a <strong>RandR</strong> per poter modificare al volo il layout dello schermo, cosi&#8217; come la sua rotazione e molte altre cose.</p>
<blockquote><p><code>aticonfig --set-pcs-str="DDX,EnableRandr12,TRUE"</code></p></blockquote>
<p>A questo punto saremo pronti per effettuare tutte le modifiche che vogliamo. Assicuratevi che X sia partito e da un terminale lanciamo una query con xrandr:</p>
<blockquote><p><code>xrandr -q -d :0</code></p></blockquote>
<p>L&#8217;output sara&#8217; qualcosa di simile a questo:</p>
<blockquote><p>Screen 0: minimum 320 x 200, current 640 x 480, maximum 1600 x 1600<br />
LCD connected 640&#215;480+0+0 (normal left inverted right x axis y axis) 400mm x 300mm<br />
640&#215;480Â Â Â Â Â Â Â  60.0*+<br />
640&#215;400Â Â Â Â Â Â Â  60.0<br />
512&#215;384Â Â Â Â Â Â Â  60.0<br />
400&#215;300Â Â Â Â Â Â Â  60.0<br />
320&#215;240Â Â Â Â Â Â Â  60.0<br />
320&#215;200Â Â Â Â Â Â Â  60.0<br />
DFP_EXTTMDS disconnected (normal left inverted right x axis y axis)<br />
CRT1 connected 640&#215;480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm<br />
1600&#215;1200Â Â Â Â Â  60.0 +<br />
1400&#215;1050Â Â Â Â Â  60.0<br />
1280&#215;1024Â Â Â Â Â  60.0Â Â Â Â  47.0Â Â Â Â  43.0<br />
1440&#215;900Â Â Â Â Â Â  59.9<br />
1280&#215;960Â Â Â Â Â Â  60.0<br />
1152&#215;864Â Â Â Â Â Â  60.0Â Â Â Â  47.0Â Â Â Â  43.0<br />
1280&#215;768Â Â Â Â Â Â  59.9<br />
1280&#215;720Â Â Â Â Â Â  60.0<br />
1024&#215;768Â Â Â Â Â Â  60.0Â Â Â Â  60.0Â Â Â Â  43.5<br />
800&#215;600Â Â Â Â Â Â Â  60.3Â Â Â Â  60.3Â Â Â Â  56.2Â Â Â Â  47.0<br />
720&#215;480Â Â Â Â Â Â Â  60.0<br />
640&#215;480Â Â Â Â Â Â Â  60.0*<br />
640&#215;400Â Â Â Â Â Â Â  59.9<br />
512&#215;384Â Â Â Â Â Â Â  60.0<br />
400&#215;300Â Â Â Â Â Â Â  60.7<br />
320&#215;240Â Â Â Â Â Â Â  60.0<br />
320&#215;200Â Â Â Â Â Â Â  60.1</p></blockquote>
<p>Noterete subito le varie opzioni possibili, per effettuare qualche cambiamento al volo bastera&#8217; interagire con il comando xrandr, se per esempio vorremo <strong>ruotare lo schermo di 90Â°</strong> bastera&#8217; lanciare il seguente comando:</p>
<blockquote><p><code>xrandrÂ  --output CRT1 --rotate left -d :0</code></p></blockquote>
<p>E il gioco e&#8217; fatto :) Per approfondire consiglio la lettura del wiki <a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2">Xorg RandR 1.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2009/01/19/screen-rotation-on-ati-radeon-card-with-xrandr/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yet Another SmackBook Script</title>
		<link>http://www.michelem.org/2008/09/30/yet-another-smackbook-script/</link>
		<comments>http://www.michelem.org/2008/09/30/yet-another-smackbook-script/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 15:15:53 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[friends]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[smackbook]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=798</guid>
		<description><![CDATA[Simple steps to command your macbook hitting it. You need a Leopard Mac OS X to use the script below. This is a bad quality video I took just to demonstrate what you will get. Download AMSTracker, a command-line program that retrieves acceleration data from the Sudden Motion Sensor in Apple notebook computers (Macbook and [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Simple steps to command your macbook hitting it. You need a <strong>Leopard <a href="http://www.michelem.org/tag/macosx/">Mac OS X</a></strong> to use the script below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="349" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/bdWA8DEAX2c&amp;hl=it&amp;fs=1&amp;border=1" /><embed type="application/x-shockwave-flash" width="425" height="349" src="http://www.youtube.com/v/bdWA8DEAX2c&amp;hl=it&amp;fs=1&amp;border=1" allowfullscreen="true"></embed></object></p>
<p>This is a bad quality video I took just to demonstrate what you will get.</p>
<p><strong><a href="http://www.osxbook.com/software/sms/amstracker/">Download AMSTracker</a></strong>, a command-line program that retrieves acceleration data from the <a href="http://www.osxbook.com/book/bonus/chapter10/ams/">Sudden Motion Sensor</a> in Apple notebook computers (Macbook and Macbook Pro has it).</p>
<p><strong><a href="/wp-content/smackbook/smackbook.pl">Download my smackbook.pl</a></strong> modified script. Thanks to the <a href="http://blog.medallia.com/">Medallia blog</a> for the original one (<a href="http://blog.medallia.com/2006/05/smacbook_pro.html">SmackBook Pro</a>)</p>
<p>Put the <strong>AMSTracker</strong> file and the <strong>smackbook.pl</strong> into the same directory (this example is based on the directory: ~/Desktop/smackbook)</p>
<p>If you run the script without arguments it tells you the possible options you can use (only one):</p>
<blockquote><p><code>~/Desktop/smackbook:./smackbook.pl<br />
Possible action arguments are: "places" - "itunes" - "dashboard"<br />
- "desktop" - "expose"</code></p></blockquote>
<p>Action argument explaniation:</p>
<ul>
<li><strong>places</strong>: switch between desktop places (unfortunately the script doesn&#8217;t recognise well if you hit on the left or right)</li>
<li><strong>itunes</strong>: play the next song on the playlist you are on</li>
<li><strong>dashboard</strong>: activate/deactivate the dashboard</li>
<li><strong>desktop</strong>: show/hide the desktop</li>
<li><strong>expose</strong>: activate/deactivate the exposÃ¨</li>
</ul>
<p>You can choose only one action every time you run the script, so decide how you would like to impress your friends, run the command and start smacking your macbook ;)</p>
<blockquote><p><code>~/Desktop/smackbook:./smackbook.pl places<br />
AMS hardware present and initialized</code></p></blockquote>
<p><strong>WARNING</strong></p>
<p>I know it is obvious but remember there is the possibility to damage your macbook hitting it, particularly the hard disk may suffer it. So you have been warned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/09/30/yet-another-smackbook-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Postfix Autoreply/Out-of-Office Virtual HOWTO</title>
		<link>http://www.michelem.org/2008/07/18/postfix-autoreplyout-of-office-virtual-howto/</link>
		<comments>http://www.michelem.org/2008/07/18/postfix-autoreplyout-of-office-virtual-howto/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 09:01:46 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[autoreply]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=742</guid>
		<description><![CDATA[Imbattutomi nell&#8217;arduo problema di trovare un modo per configurare un autorisponditore sul server di posta di un cliente che usa account virtuali e non di sistema, ho finalmente risolto l&#8217;arcano ricordandomi della mitica funzione &#8220;pipe&#8221; di Postfix, ecco come fare: Se avete Postfix configurato su mysql dovrete inanzitutto aggiungere un &#8220;transport&#8221; nella tabella appropriata del [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Imbattutomi nell&#8217;arduo problema di trovare un modo per configurare un autorisponditore sul server di posta di un cliente che usa account virtuali e non di sistema, ho finalmente risolto l&#8217;arcano ricordandomi della mitica funzione &#8220;pipe&#8221; di <a href="http://www.michelem.org/tag/postfix/">Postfix</a>, ecco come fare:</p>
<p>Se avete Postfix configurato su mysql dovrete inanzitutto aggiungere un &#8220;transport&#8221; nella tabella appropriata del tipo:</p>
<blockquote><p>Dominio: &#8220;autoreply.domain.tld&#8221; -&gt; Transport: &#8220;autoreply:&#8221;</p></blockquote>
<p>La stessa cosa puo&#8217; essere fatta se usate i file invece del db:</p>
<blockquote><p><code>/etc/postfix/transport:<br />
autoreply.domain.tld  autoreply:</code></p></blockquote>
<p>Infine per ogni account sul quale volete attivare l&#8217;autoreply occorrera&#8217; riconfigurarlo a dovere. Se avete il db nella tabella FORWARDINGS (o simili) aggiungete qualcosa come:</p>
<blockquote><p>Source: &lt;email&gt;@&lt;domain&gt;<br />
Destination: &lt;email&gt;@&lt;domain&gt;, &lt;email&gt;@&lt;domain&gt;@autoreply.domain.tld</p></blockquote>
<p>Se invece usate i file:</p>
<blockquote><p><code>/etc/postfix/virtual:<br />
&lt;email&gt;@&lt;domain&gt; &lt;email&gt;@&lt;domain&gt;, &lt;email&gt;@&lt;domain&gt;@autoreply.domain.tld</code></p></blockquote>
<p>Ora non resta che implementare l&#8217;<strong>autoreply</strong> vero e proprio su Postfix, per questo occorrera&#8217; creare un semplice <strong>script bash</strong> per l&#8217;invio della mail &#8220;Out of Office&#8221; e dire a Postfix di intercettare i forward precedentemente creati:</p>
<p>Create il file contenente il messaggio standard da inoltrare ai mittenti, tipo:</p>
<blockquote><p><strong>/etc/postfix/autoreply.txt</strong>:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><code>Salve,<br />
mi spiace ma non sono in ufficio, al mio ritorno sara' mia premura<br />
rispondere alla sua mail.<br />
Grazie</code></p>
<p>&#8211;<br />
AutoReply robot at &lt;server@domain&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p></blockquote>
<p>Ora create il semplice script per l&#8217;invio della mail:</p>
<blockquote><p><strong>/usr/local/bin/autoreply</strong>:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><code>#!/bin/bash</code><br />
mail -s&#8221;Out of Office&#8221; -a&#8221;From: &lt;$2&gt;&#8221;Â  $1 &lt; /etc/postfix/autoreply.txt</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p></blockquote>
<p>Non rimane altro che dire a Postfix di usare l&#8217;autoreply appena creato:</p>
<blockquote><p>in <strong>/etc/postfix/master.cf</strong> aggiungete le 2 seguenti righe:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><code>autoreplyÂ Â Â Â Â Â  unixÂ Â Â  -Â Â Â Â Â Â  nÂ Â Â Â Â Â  nÂ Â Â Â Â Â  -Â Â Â Â Â Â  -Â Â Â Â Â Â  pipe<br />
flags= user=mail argv=/usr/local/bin/autoreply $sender $recipient</code></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p></blockquote>
<p>Riavviate Postfix e il gioco e&#8217; fatto, fate attenzione che l&#8217;utente di sistema &#8220;mail&#8221; esista oppure cambiatelo nel master.cf (user=mail)</p>
<p>Questa piccola guida e&#8217; stata scritta grazie alla <a href="http://www.postfix.org/VIRTUAL_README.html#autoreplies">documentazione sui Virtual di Postfix</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/07/18/postfix-autoreplyout-of-office-virtual-howto/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>FriendFeed addicted? Try FriendFeed SPY mashup</title>
		<link>http://www.michelem.org/2008/07/02/friendfeed-addicted-try-friendfeed-spy-mashup/</link>
		<comments>http://www.michelem.org/2008/07/02/friendfeed-addicted-try-friendfeed-spy-mashup/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 13:20:14 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[friends]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[bookmarking]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[spy]]></category>
		<category><![CDATA[stumbleupon]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=732</guid>
		<description><![CDATA[FriendFeed SPY is arrived! Now you can spy on the FriendFeed public timeline in real time without refreshing your browser, like my first mashup Twitter SPY, it grabs the latest news posted by users on FriendFeed and display them. But FriendFeed SPY does something more because you can autenticate against your FriendFeed account to comment [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p><a href="http://www.friendfeedspy.com"><img class="alignnone size-full wp-image-733" title="friendfeedspy" src="http://www.michelem.org/wp-content/uploads/2008/07/friendfeedspy.png" alt="" width="349" height="57" /></a></p>
<p><a href="http://friendfeedspy.com/">FriendFeed SPY</a> is arrived! Now you can spy on the <a href="http://www.friendfeed.com">FriendFeed</a> public timeline in real time without refreshing your browser, like my first <a href="http://www.michelem.org/tag/mashup/">mashup</a> <a href="http://www.michelem.org/2008/04/15/twitter-spy-launched/">Twitter SPY</a>, it grabs the latest news posted by users on FriendFeed and display them. But FriendFeed SPY does something more because you can autenticate against your FriendFeed account to comment and like items on the fly while they scroll down.</p>
<p>FriendFeed SPY can show news by services so you can focus your spying on a single service like <a href="http://www.michelem.org/tag/digg/">Digg</a>, <a href="http://www.michelem.org/tag/stumbleupon">StumbleUpon</a>, <a href="http://www.michelem.org/tag/twitter/">Twitter</a> and so on&#8230;</p>
<p>May be I will update it with some new features so if you have some ideas please leave me a <a href="http://groups.google.com/group/friendfeed-api/browse_thread/thread/8f9978227aac4b02#">feedback</a>.</p>
<p>I hope you like it!</p>
<p>Who speaks about FriendFeed SPY:</p>
<ul>
<li><a href="http://www.profy.com/2008/07/02/friendfeed-spy-friendfeed-mashup/">Profy &#8211; FriendFeed Spy â€“ New Tool to Develop FriendFeed Addiction</a></li>
<li><a href="http://mashable.com/2008/07/02/friendfeed-spy/">Mashable &#8211; FriendFeed Spy Gives You a Quick Fix ofâ€¦Everything</a></li>
<li><a href="http://momb.socio-kybernetics.net/beta/friendfeed-spy">Momb &#8211; FriendFeed SPY</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/07/02/friendfeed-addicted-try-friendfeed-spy-mashup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last(.fm) Music Map &#8211; Discover music events around the world</title>
		<link>http://www.michelem.org/2008/05/29/lastfm-music-map-discover-music-events-around-the-world/</link>
		<comments>http://www.michelem.org/2008/05/29/lastfm-music-map-discover-music-events-around-the-world/#comments</comments>
		<pubDate>Thu, 29 May 2008 09:55:49 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[concerts]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[mashup]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=715</guid>
		<description><![CDATA[Here is my last creation after my first mashup project Twitter SPY, Last(.fm) Music Map is a mashup between Last.fm music social network and Google Maps. You can find your preferred artist&#8217;s music events around the world, just put your artist name and let it find the latest concerts and events. It looks at similar [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p><script type="text/javascript"><!--
        digg_bgcolor = '#fff';
        digg_window = 'new';
        digg_title = 'The Last(.fm) Music Map Mashup!'
        digg_url = 'http://lastmusicmap.com/'
// --></script><br />
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
<p>Here is my last creation after my first mashup project <a href="http://www.michelem.org/2008/04/15/twitter-spy-launched/">Twitter SPY</a>, <a href="http://lastmusicmap.com"><strong>Last(.fm) Music Map</strong></a> is a mashup between <a href="http://last.fm">Last.fm</a> music social network and <a href="http://maps.google.com">Google Maps</a>.</p>
<p>You can find your preferred artist&#8217;s music events around the world, just put your artist name and let it find the latest concerts and events.</p>
<p>It looks at similar artist too so you can easily discover new musicians and add them to your map simply by clicking the name.</p>
<p>I hope you like it and please <a href="http://www.last.fm/forum/21716/_/416033">feedbacks</a> are very welcome.</p>
<p style="text-align: center;"><a href="http://www.michelem.org/wp-content/uploads/2008/05/screenshot-the-lastfm-music-map-discover-music-events-and-concerts-around-the-world-mozilla-firefox.png" rel="lightbox"><img class="alignnone size-medium wp-image-718 aligncenter" title="screenshot-the-lastfm-music-map-discover-music-events-and-concerts-around-the-world-mozilla-firefox" src="http://www.michelem.org/wp-content/uploads/2008/05/screenshot-the-lastfm-music-map-discover-music-events-and-concerts-around-the-world-mozilla-firefox-300x132.png" alt="Last(.fm) Music Map" width="300" height="132" /></a></p>
<p style="text-align: center;"><strong>[ </strong><a href="http://lastmusicmap.com"><strong>Last(.fm) Music Map - Discover music events around the world</strong></a><strong> ]</strong></p>
<p style="text-align: left;">Grazie, gracias and thank you for all the reviews:</p>
<ul>
<li><a href="http://googlemapsmania.blogspot.com/2008/06/finding-concerts-on-google-maps.html">Finding Concerts on Google Maps</a></li>
<li><a href="http://momb.socio-kybernetics.net/beta/lastmusicmap">Last Music Map</a></li>
<li><a rel="bookmark" href="http://www.geekissimo.com/2008/06/14/lastfm-insieme-alle-api-di-google-maps-the-last-music-map/">Last.fm insieme alle API di Google Maps? The Last Music Map</a></li>
<li><a href="http://www.datafull.com/site/noticias/18-06-2008/2087_lastmusicmap-averiguando-los-recitales-de-nuestros-artistas-favoritos">Lastmusicmap, averiguando los recitales de nuestros artistas favoritos</a></li>
<li><a href="http://www.hipersonica.com/2008/06/18-lastmusicmap-todos-los-eventos-de-nuestros-artistas-favoritos">Lastmusicmap, todos los eventos de nuestros artistas favoritos</a></li>
<li><a href="http://www.genbeta.com/2008/06/17-lastmusicmap-conoce-los-proximos-eventos-de-tus-artistas-favoritos">Lastmusicmap, conoce los prÃ³ximos eventos de tus artistas favoritos</a></li>
<li><a id="dnn_ctr370_VFBArticles_hlkTitle" title="Permalink a Last Music Map: Last.Fm + Google Maps" href="http://www.neoteo.com/last-music-map-last-fm-+-google-maps.neo">Last Music Map: Last.Fm + Google Maps</a></li>
<li>and many more&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/05/29/lastfm-music-map-discover-music-events-around-the-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Twitter SPY launched!</title>
		<link>http://www.michelem.org/2008/04/15/twitter-spy-launched/</link>
		<comments>http://www.michelem.org/2008/04/15/twitter-spy-launched/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 13:30:01 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[friends]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[profiles]]></category>
		<category><![CDATA[spy]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twit]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=706</guid>
		<description><![CDATA[Today I&#8217;ve launched my first project based upon the Twitter API. Twitter SPY displays the Twitter public timeline in a fancy and addictive way, thanks to Jquery Javascript framework Twitter SPY scrolls new tweets in real time, very web 2.0 :) Twitter SPY also grabs latest url submitted by users and it displays them, I [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p><a href="http://twitspy.com"><img src="http://twitspy.com/img/twitter_logo.png" alt="" width="400" height="49" /></a></p>
<p>Today I&#8217;ve launched my first project based upon the <a href="http://twitter.com">Twitter</a> <a href="http://groups.google.com/group/twitter-development-talk/web/api-documentation">API</a>. <a href="http://twitspy.com"><strong>Twitter SPY</strong></a> displays the Twitter public timeline in a fancy and addictive way, thanks to <a href="http://jquery.com">Jquery</a> Javascript framework Twitter SPY scrolls new tweets in real time, very web 2.0 :)</p>
<p><a href="http://twitspy.com">Twitter SPY</a> also grabs latest url submitted by users and it displays them, I would like to create some charts when I will have a few records to play with.</p>
<p>I hope you like it and you enjoy this new Twitter game.</p>
<p><a href="http://mashable.com/2008/04/16/twitterspy/">Mashable speaks about Twitter SPY</a>, I hope this server will handle every requests but I&#8217;m afraid it doesn&#8217;t&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/04/15/twitter-spy-launched/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>For loop explained (Bash, PHP, Perl, Phyton)</title>
		<link>http://www.michelem.org/2008/04/11/for-loop-explained-bash-php-perl-phyton/</link>
		<comments>http://www.michelem.org/2008/04/11/for-loop-explained-bash-php-perl-phyton/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 06:23:28 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.michelem.org/?p=705</guid>
		<description><![CDATA[Quante volte vi sara&#8217; capitato di scrivere un ciclo &#8220;for&#8221; nel vostro linguaggio di programmazione preferito per automatizzare un processo o per renderlo piu&#8217; semplice? Ecco come si scrive un ciclo &#8220;for&#8221; in 4 linguaggi di programmazione molto famosi: Bash: for i in $(seq 1 10); do echo $i; done PHP: for ($i=1; $i>=10; $i++) [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Quante volte vi sara&#8217; capitato di scrivere un ciclo &#8220;<strong>for</strong>&#8221; nel vostro linguaggio di programmazione preferito per automatizzare un processo o per renderlo piu&#8217; semplice?</p>
<p>Ecco come si scrive un ciclo &#8220;for&#8221; in 4 linguaggi di programmazione molto famosi:</p>
<p><strong>Bash:</strong></p>
<blockquote><p><code>for i in $(seq 1 10); do echo $i; done</code></p></blockquote>
<p><strong>PHP</strong>:</p>
<blockquote><p><code>for ($i=1; $i>=10; $i++) {<br />
   echo "$i ";<br />
}</code></p></blockquote>
<p><strong>Perl</strong>:</p>
<blockquote><p><code>for ($i=1; $i&lt;=10; $i++) {<br />
   print "$i ";<br />
}</code></p></blockquote>
<p><strong>Phyton:</strong></p>
<blockquote><p><code>for i in range(1, 11):<br />
   print i,</code></p></blockquote>
<p>Per tutti questi script il risultato sarÃ  sempre:</p>
<blockquote><p><code>1 2 3 4 5 6 7 8 9 10</code></p></blockquote>
<p>Provare per credere :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/04/11/for-loop-explained-bash-php-perl-phyton/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Postfix Mail Graph monitoring with Cacti</title>
		<link>http://www.michelem.org/2008/03/06/postfix-mail-graph-monitoring-with-cacti/</link>
		<comments>http://www.michelem.org/2008/03/06/postfix-mail-graph-monitoring-with-cacti/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 11:00:52 +0000</pubDate>
		<dc:creator>michele</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[emails]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[mta]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[traffics]]></category>

		<guid isPermaLink="false">http://www.michelem.org/2008/03/06/postfix-mail-graph-monitoring-with-cacti/</guid>
		<description><![CDATA[Se avete bisogno di graficare su Cacti l&#8217;andamento di un server mail che usa Postfix come MTA, questi semplici step vi saranno di particolare aiuto: Salvate nel vostro server mail lo script mailgraph.pl che trovate all&#8217;interno del download (thanks to David Schweikert) Lanciatelo come root con l&#8217;ozione -d per renderlo demone: ./mailgraph -d (usate &#8211;help [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Se avete bisogno di graficare su Cacti l&#8217;andamento di un server mail che usa Postfix come MTA, questi semplici step vi saranno di particolare aiuto:</p>
<ul>
<li>Salvate nel vostro server mail lo script mailgraph.pl che trovate all&#8217;interno del <strong><a href="/wp-content/postfix-mailgraph.tar.gz">download</a></strong> (thanks to David Schweikert)</li>
<li>Lanciatelo come root con l&#8217;ozione -d per renderlo demone: <em>./mailgraph -d</em> (usate &#8211;help per tutte le opzioni)</li>
</ul>
<blockquote><p>mailgraph.pl scrive dei semplici file di testo con i contatori relativi alla tipologi di traffico mail nella directory /var/tmp:</p>
<p><code># ls -l /var/tmp</code></p>
<p><code>-rw-r--r-- 1 root root 3 2008-03-06 10:25 mailbounced<br />
-rw-r--r-- 1 root root 3 2008-03-06 10:25 mailrecv<br />
-rw-r--r-- 1 root root 3 2008-03-06 10:25 mailrejected<br />
-rw-r--r-- 1 root root 2 2008-03-06 10:25 mailsent<br />
-rw-r--r-- 1 root root 2 2008-03-06 10:25 mailspam<br />
-rw-r--r-- 1 root root 2 2008-03-06 10:25 mailvirus</code></p></blockquote>
<ul>
<li>configurate l&#8217;snmpd.conf del vostro server mail in modo che legga questi file associandoli a degli OID custom, in un modo simile a questo (ricordatevi di riavviare l&#8217;snmpd):</li>
</ul>
<blockquote><p><code>exec   .1.3.6.1.4.1.2021.50 mailcount_sent           /bin/cat /var/tmp/mailsent<br />
exec   .1.3.6.1.4.1.2021.51 mailcount_recv           /bin/cat /var/tmp/mailrecv<br />
exec   .1.3.6.1.4.1.2021.52 mailcount_reject         /bin/cat /var/tmp/mailrejected<br />
exec   .1.3.6.1.4.1.2021.53 mailcount_bounced        /bin/cat /var/tmp/mailbounced<br />
exec   .1.3.6.1.4.1.2021.54 mailcount_spam           /bin/cat /var/tmp/mailspam<br />
exec   .1.3.6.1.4.1.2021.55 mailcount_virus          /bin/cat /var/tmp/mailvirus</code></p></blockquote>
<ul>
<li>ora non resta che aggiungere il template xml (che trovate nel <strong><a href="/wp-content/postfix-mailgraph.tar.gz">download</a></strong>) su Cacti con la funzione import e creare il grafico</li>
</ul>
<p>Per approfondire:</p>
<ul>
<li><a href="http://forums.cacti.net/about1571.html" class="maintitle">Postfix monitoring with David Schweikert&#8217;s Mailgraph?</a></li>
<li><span class="topictitle"></span><a href="http://forums.cacti.net/about6657.html&amp;highlight=postfix" class="topictitle">Walkthrough on Postifx monitoring with Cacti</a></li>
</ul>
<p><a href="http://www.michelem.org/wp-content/uploads/2008/03/postfix_cacti.png" title="Postfix Mail Graph monitoring with Cacti" rel="lightbox[669]"></a></p>
<p style="text-align: center"><a href="http://www.michelem.org/wp-content/uploads/2008/03/postfix_cacti.png" title="Postfix Mail Graph monitoring with Cacti" rel="lightbox"><img src="http://www.michelem.org/wp-content/uploads/2008/03/postfix_cacti.thumbnail.png" alt="Postfix Mail Graph monitoring with Cacti" /></a></p>
<p style="text-align: center" align="center">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michelem.org/2008/03/06/postfix-mail-graph-monitoring-with-cacti/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 1509/1772 objects using disk: basic

Served from: www.michelem.org @ 2012-02-10 12:51:31 -->
