<?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>Simone Caruso</title>
	<atom:link href="http://www.simonecaruso.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonecaruso.com</link>
	<description>IT Consultant</description>
	<lastBuildDate>Fri, 20 Jan 2012 08:09:37 +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>How to create a large file quickly</title>
		<link>http://www.simonecaruso.com/2011/12/how-to-create-a-large-file-quickly/</link>
		<comments>http://www.simonecaruso.com/2011/12/how-to-create-a-large-file-quickly/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 18:42:54 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=440</guid>
		<description><![CDATA[To create a large file VERY quickly (without dumping data into), for example a 20GB file, do like this: dd if=/dev/zero of=mylargefile.img seek=$&#40;&#40; 20 *1024*1024*1024 -1 &#41;&#41; bs=1 count=1 This will create your file in a second without dump zeroes using the classic &#8216;dd&#8217; command: dd if=/dev/zero of=mylargefile.img bs=1M count=$&#40;&#40;20 * 1024&#41;&#41; Useful to create [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2011/12/how-to-create-a-large-file-quickly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Bea Weblogic thread pools with a Perl script</title>
		<link>http://www.simonecaruso.com/2011/10/monitoring-bea-weblogic-thread-pools-with-a-perl-script/</link>
		<comments>http://www.simonecaruso.com/2011/10/monitoring-bea-weblogic-thread-pools-with-a-perl-script/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 15:15:43 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=427</guid>
		<description><![CDATA[Recently i developed a Perl script for a TLC company to monitor thread pools of a weblogic cluster with nagios, here i&#8217;m going to post a sample version. #!/usr/bin/perl &#160; use warnings; use Getopt::Std; &#160; our&#40;$opt_H, $opt_p, $opt_w, $opt_c, $opt_q&#41;; &#160; getopt&#40;'Hpwcsq'&#41;; &#160; my $username = 'XXX'; my $pwd = 'XXX'; &#160; my $port = [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2011/10/monitoring-bea-weblogic-thread-pools-with-a-perl-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proftpd with MySQL + MD5 users&#8217; password on lenny</title>
		<link>http://www.simonecaruso.com/2011/06/proftpd-with-mysql-md5-users-password/</link>
		<comments>http://www.simonecaruso.com/2011/06/proftpd-with-mysql-md5-users-password/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 15:38:44 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[proftpd]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=392</guid>
		<description><![CDATA[The old versions of proftpd dont support mysql md5 algorithm for password checks, so for who like me use debian lenny with 1.3.1 the only way to make it work with MD5 is to use PAM-MySQL + libnss-mysql. With 1.3.x proftpd comes with mod_sql_passwd.c that solve this problem (here a sample conf): SQLAuthTypes MD5 SQLPasswordEngine [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2011/06/proftpd-with-mysql-md5-users-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Apache dynamic virtualhosts with LDAP and mod_vhost_ldap_ng</title>
		<link>http://www.simonecaruso.com/2011/02/configuring-apache-dynamic-virtualhosts-with-ldap-and-mod_vhost_ldap_ng/</link>
		<comments>http://www.simonecaruso.com/2011/02/configuring-apache-dynamic-virtualhosts-with-ldap-and-mod_vhost_ldap_ng/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 18:25:24 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[virtualhosting]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=285</guid>
		<description><![CDATA[Working for a Hosting provider we need to centralize virtualhosts configs on database, but there is not a native apache virtualhost module based on LDAP or SQL backends. We started using mod_vhost_ldap without success because our customer&#8217;s servers have weird paths for ServerRoot and vhosts positions changes between servers&#8230; moreover mod_vhost_ldap doesn&#8217;t support Alias parameter and [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2011/02/configuring-apache-dynamic-virtualhosts-with-ldap-and-mod_vhost_ldap_ng/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improved roundcube managesieve plugin</title>
		<link>http://www.simonecaruso.com/2010/11/improved-roundcube-managesieve-plugin/</link>
		<comments>http://www.simonecaruso.com/2010/11/improved-roundcube-managesieve-plugin/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 14:42:39 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[address match]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[roundcube managesieve plugin]]></category>
		<category><![CDATA[sieve filters]]></category>
		<category><![CDATA[sieve scripts]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=252</guid>
		<description><![CDATA[When creating a new filter in RC Managesieve plugin with the rule &#8220;Sender is equal to&#8221; RC compile a sieve script like this one: if anyof (header :is "From" "example@example.com") { fileinto "INBOX.Spam"; stop; } Of course this script will FAIL when sender is &#8216;&#8221;Simone Caruso&#8221; &#60;example@example.com&#62;&#8217;, because &#8220;header&#8221; matches strings NOT addresses! Ref. RFC5228 [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/11/improved-roundcube-managesieve-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Database class for master/slave mysql cluster</title>
		<link>http://www.simonecaruso.com/2010/09/php-database-class-for-mysql-masterslave-cluster/</link>
		<comments>http://www.simonecaruso.com/2010/09/php-database-class-for-mysql-masterslave-cluster/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 17:25:43 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[balancing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database class]]></category>
		<category><![CDATA[master slave]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=223</guid>
		<description><![CDATA[Environment My customer, in this case an ISP,  has multiple dns servers was going to scale-out the DNS records database for multiple DNS servers. The startup configuration was a master/slave, with DRBD failover MySQL cluster; the new configuration was accomplished with a MySQL master database and three servers as slaves, two for DNS servers queries and one for [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/09/php-database-class-for-mysql-masterslave-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A PayPal sample code with PHP Pear</title>
		<link>http://www.simonecaruso.com/2010/09/a-paypal-sample-code-with-php-pear/</link>
		<comments>http://www.simonecaruso.com/2010/09/a-paypal-sample-code-with-php-pear/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 17:54:48 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[express checkout]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=209</guid>
		<description><![CDATA[Times ago, because we entered the web2.0/e-commerce generation all custemers want an e-shop, I was looking for some Pear/PayPal PHP script without success. Becouse i love pear for speeding up code development etc i wrote my little pear/paypal library, here an example. $database = new Database&#40;$yourconfig&#41;; $order = database-&#62;getOrder&#40;&#40;int&#41;$order_id&#41;; if&#40;$order-&#62;status != 'Payable'&#41;&#123; redirect&#40;base_url&#40;&#41;.'order/show'&#41;; exit&#40;&#41;; &#125; [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/09/a-paypal-sample-code-with-php-pear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build dovecot 2.0.1 debian packages</title>
		<link>http://www.simonecaruso.com/2010/09/build-a-debian-package-for-dovecot/</link>
		<comments>http://www.simonecaruso.com/2010/09/build-a-debian-package-for-dovecot/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 16:43:24 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[binary package]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[debian package]]></category>
		<category><![CDATA[dh_make]]></category>
		<category><![CDATA[dovecot]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=182</guid>
		<description><![CDATA[I really like the apt system, i often use it for my personal binary packages distribution between my systems and it&#8217;s great to install test systems in few minutes. In august dovecot 2.0.1 was released, i&#8217;d have liked to test the new software on my lenny servers, but i could not find any .deb binary [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/09/build-a-debian-package-for-dovecot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decrypt PEM ssl certificate</title>
		<link>http://www.simonecaruso.com/2010/07/decrypt-pem-ssl-certificate/</link>
		<comments>http://www.simonecaruso.com/2010/07/decrypt-pem-ssl-certificate/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:01:33 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[decrypt certificate]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[rsa]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=176</guid>
		<description><![CDATA[Starting a secure server like Apache, Postfix, Dovecot etc needs passphrase submission at startup&#8230; so it&#8217;s a problem start these services at book. The solution is decrypting the certificate private key with the following command: openssl rsa -in priv.key -out decrypted-priv.key]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/07/decrypt-pem-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small php persistence class</title>
		<link>http://www.simonecaruso.com/2010/07/small-php-persistence-class/</link>
		<comments>http://www.simonecaruso.com/2010/07/small-php-persistence-class/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 14:05:55 +0000</pubDate>
		<dc:creator>Simone Caruso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[php persistence class]]></category>

		<guid isPermaLink="false">http://www.simonecaruso.com/?p=140</guid>
		<description><![CDATA[A small persistence class for PHP, integrable with any kind of persistence storage (file, SQL, &#8230;) /* * CREATE TABLE table_name ( * class VARCHAR(20) PRIMARY KEY, * val BLOB NOT NULL * ); */ &#160; class Persistence &#123; private $table = 'val'; public function __construct&#40;&#41;&#123; $this-&#62;db = new Database&#40;$DSN&#41;; &#125; &#160; public function save&#40;$classname, [...]]]></description>
		<wfw:commentRss>http://www.simonecaruso.com/2010/07/small-php-persistence-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

