<?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>MG&#039;s Notes</title>
	<atom:link href="http://mugurel.sumanariu.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://mugurel.sumanariu.ro</link>
	<description>Some useful things</description>
	<lastBuildDate>Fri, 06 Aug 2010 16:53:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP: How to calculate number of work days between 2 dates</title>
		<link>http://mugurel.sumanariu.ro/php-2/php-how-to-calculate-number-of-work-days-between-2-dates/</link>
		<comments>http://mugurel.sumanariu.ro/php-2/php-how-to-calculate-number-of-work-days-between-2-dates/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 16:49:52 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=223</guid>
		<description><![CDATA[&#60;?php //get current month for example $beginday=date(&#8220;Y-m-01&#8243;); $lastday=date(&#8220;Y-m-t&#8221;); $nr_work_days = getWorkingDays($beginday,$lastday); echo $nr_work_days; function getWorkingDays($startDate, $endDate){  $begin=strtotime($startDate);  $end=strtotime($endDate);  if($begin&#62;$end){   echo &#8220;startdate is in the future! &#60;br /&#62;&#8221;;   return 0;  }else{    $no_days=0;    $weekends=0;   while($begin&#60;=$end){     $no_days++; // no of days in the given interval     $what_day=date(&#8220;N&#8221;,$begin);      if($what_day&#62;5) { // 6 and 7 are weekend [...]]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/php-2/php-how-to-calculate-number-of-work-days-between-2-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: How to view partition block size</title>
		<link>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/</link>
		<comments>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 07:12:41 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=217</guid>
		<description><![CDATA[Run: dumpe2fs -h /dev/sda1 or tune2fs -l /dev/sda1 where /dev/sda1 is you partition, and search for Block size:]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mozilla Firefox hidden config</title>
		<link>http://mugurel.sumanariu.ro/general/mozilla-firefox-hidden-config/</link>
		<comments>http://mugurel.sumanariu.ro/general/mozilla-firefox-hidden-config/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 07:08:51 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=213</guid>
		<description><![CDATA[1.  Type about:config in Firefox location bar and press Enter 2.  Double-click on Preference.Name and change the value.]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/general/mozilla-firefox-hidden-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmail: Move [SPAM] mail to .Junk folder using maildrop</title>
		<link>http://mugurel.sumanariu.ro/qmail/qmail-move-spam-mail-to-junk-folder-using-maildrop/</link>
		<comments>http://mugurel.sumanariu.ro/qmail/qmail-move-spam-mail-to-junk-folder-using-maildrop/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 06:33:53 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[qmail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=202</guid>
		<description><![CDATA[I have qmailtoaster installation so my users are in: /home/vpopmail/domains/DOMAIN.XXX/USER you need two create two file: first called &#8220;mailfilter&#8221; can be put wherever you want (this file will be in .qmail file), me  I choose: /home/vpopmail/domains/ so now I have: /home/vpopmail/domains/mailfilter second called &#8220;.qmail&#8221; must be pun in user folder in the same dir with Maildir folder, like this: [...]]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/qmail/qmail-move-spam-mail-to-junk-folder-using-maildrop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmail toaster: Disabling Spam checking for a particular address or domain</title>
		<link>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/</link>
		<comments>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 07:40:51 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[qmail]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=199</guid>
		<description><![CDATA[First locate simcontrol file at /var/qmail/control The default file looked like this: :clam=yes,spam=yes,spam_hits=10,attach=.mp3:.src:.bat:.pif:.exe If you want to just stop spam processing for a single user you have to put: user@domain.com:clam=yes,spam=no,spam_hits=10 in front of existing line, result: user@domain.com:clam=yes,spam=no,spam_hits=10 :clam=yes,spam=yes,spam_hits=10,attach=.mp3:.src:.bat:.pif:.exe for an entire domain just put: domain.com:clam=yes,spam=no,spam_hits=10 Save an run #qmailctl cdb  ]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
