<?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>Manuel João Silva</title>
	<atom:link href="http://manueljoaosilva.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://manueljoaosilva.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 May 2013 07:58:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Collection of jQuery plug-ins for front-end design and development</title>
		<link>http://manueljoaosilva.com/2013/05/collection-of-jquery-plug-ins-for-front-end-design-and-development/</link>
		<comments>http://manueljoaosilva.com/2013/05/collection-of-jquery-plug-ins-for-front-end-design-and-development/#comments</comments>
		<pubDate>Wed, 08 May 2013 07:57:27 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=359</guid>
		<description><![CDATA[Just found out this great site to find jQuery plugins. Worth to check it out. Unheap was assembled in 2010 as an internal team resource. We found other repositories underwhelming and wanted to build a better experience for browsing &#38; staying &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2013/05/collection-of-jquery-plug-ins-for-front-end-design-and-development/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2013/05/collection-of-jquery-plug-ins-for-front-end-design-and-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search on Amazon based on what others buy</title>
		<link>http://manueljoaosilva.com/2012/12/search-on-amazon-based-on-what-others-buy/</link>
		<comments>http://manueljoaosilva.com/2012/12/search-on-amazon-based-on-what-others-buy/#comments</comments>
		<pubDate>Fri, 28 Dec 2012 13:41:25 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WebStrolling]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=346</guid>
		<description><![CDATA[Really cool project that allows one to visualize what other people have bought based on a search query. &#160; &#160; This is particulary good to find book about a topic, for example lets say you&#8217;re trying to find some book &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2012/12/search-on-amazon-based-on-what-others-buy/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2012/12/search-on-amazon-based-on-what-others-buy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run parallel (threaded) bash commands with a job limit from file</title>
		<link>http://manueljoaosilva.com/2012/12/run-parallel-threaded-bash-commands-with-a-job-limit-from-file/</link>
		<comments>http://manueljoaosilva.com/2012/12/run-parallel-threaded-bash-commands-with-a-job-limit-from-file/#comments</comments>
		<pubDate>Tue, 25 Dec 2012 13:03:06 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=338</guid>
		<description><![CDATA[I wanted to change mysql databases to use innodb_file_per_table problem is even if you add this to your my.cnf it will only affect newly created tables. In order to alter existing ones I needed to run a bunch of alter tables with &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2012/12/run-parallel-threaded-bash-commands-with-a-job-limit-from-file/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2012/12/run-parallel-threaded-bash-commands-with-a-job-limit-from-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP strtotime WTF!</title>
		<link>http://manueljoaosilva.com/2011/11/php-strtotime-wtf/</link>
		<comments>http://manueljoaosilva.com/2011/11/php-strtotime-wtf/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 12:59:13 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=329</guid>
		<description><![CDATA[So I just spent almost a day chasing a (what I thought it was) a bug in my code regarding dates. I needed to add a month to a specific date  so I can bill ongoing contracts, but the returned date sometimes &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/11/php-strtotime-wtf/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/11/php-strtotime-wtf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FuelPHP Input arrays validation</title>
		<link>http://manueljoaosilva.com/2011/10/fuelphp-input-arrays-validation/</link>
		<comments>http://manueljoaosilva.com/2011/10/fuelphp-input-arrays-validation/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 05:41:34 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FuelPHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=308</guid>
		<description><![CDATA[After pulling some hair and digging a lot in FuelPHP core I finally discovered a litle hack that allows validation of input arrays and its re-population using FuelPHP Validation Class. Here&#8217;s how I did it: View simplified for the sake &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/10/fuelphp-input-arrays-validation/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/10/fuelphp-input-arrays-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FuelPHP BreadCrumb Class/Library</title>
		<link>http://manueljoaosilva.com/2011/10/fuelphp-breadcrumb-class-library/</link>
		<comments>http://manueljoaosilva.com/2011/10/fuelphp-breadcrumb-class-library/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 12:13:20 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FuelPHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=301</guid>
		<description><![CDATA[Morning, Just finish building a breadcrumb Class for FUELPHP. This Class has persistent crumbs, meaning that visited crumbs will be saved in session. GitHub link for FuelPHP-BreadCrumb Here it is: &#160; &#60;?php /**  * Created by mjsilva &#124; mail@manueljoaosilva.com  * &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/10/fuelphp-breadcrumb-class-library/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/10/fuelphp-breadcrumb-class-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jump Tables Explained</title>
		<link>http://manueljoaosilva.com/2011/10/jump-tables-explained/</link>
		<comments>http://manueljoaosilva.com/2011/10/jump-tables-explained/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 15:39:20 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[programing]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=289</guid>
		<description><![CDATA[A jump table is an array of function pointers or even machine instructions, each of which actually performs the jump. The latter is commonly used in assembly language and can be produced by compilers, but the former is something you&#8217;re &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/10/jump-tables-explained/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/10/jump-tables-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if all function arguments are equal in PHP</title>
		<link>http://manueljoaosilva.com/2011/10/check-if-all-function-arguments-are-equal-in-php/</link>
		<comments>http://manueljoaosilva.com/2011/10/check-if-all-function-arguments-are-equal-in-php/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 12:03:19 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=285</guid>
		<description><![CDATA[Question: Could this be written better? private function compareThree($val_1, $val_2, $val_3) { return (($val_1 == $val_2) &#38;&#38; ($val_1 == $val_3) &#38;&#38; ($val_2 == $val_1) &#38;&#38; ($val_2 == $val_3) &#38;&#38; ($val_3 == $val_2) &#38;&#38; ($val_3 == $val_1)); } Short Answer: Yes! That&#8217;s &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/10/check-if-all-function-arguments-are-equal-in-php/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/10/check-if-all-function-arguments-are-equal-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get last key from array in PHP</title>
		<link>http://manueljoaosilva.com/2011/09/get-last-key-from-array-in-php/</link>
		<comments>http://manueljoaosilva.com/2011/09/get-last-key-from-array-in-php/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 13:11:23 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=275</guid>
		<description><![CDATA[The fastest and the correct way to get the last key from an array is: $lastkey = array_pop(array_keys($arr)); Example: $arr[] = array("red" =&#62; "apple", "yellow" =&#62; "banana"); Let&#8217;s say you want to add another element to the previous created array, &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/09/get-last-key-from-array-in-php/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/09/get-last-key-from-array-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent hotlinking with apache</title>
		<link>http://manueljoaosilva.com/2011/09/prevent-hotlinking-with-apache/</link>
		<comments>http://manueljoaosilva.com/2011/09/prevent-hotlinking-with-apache/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 16:05:01 +0000</pubDate>
		<dc:creator>mjsilva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://manueljoaosilva.com/?p=273</guid>
		<description><![CDATA[To allow all domain except one: RewriteCond %{HTTP_REFERER} ^http://(www\.)?offendinddomain\.com/$ [NC] RewriteRule \.(gif&#124;jpg&#124;png)$ http://example.com/hotlink.png [R,L] This will prevent holinking from the domain offendingdomain.com and serve the image from example.com instead. Prevent more than one domain: RewriteCond %{HTTP_REFERER} ^http://(www\.)?offendinddomain\.com/$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(www\.)?offendinddomain2\.com/ [NC] RewriteRule \.(gif&#124;jpg&#124;png)$ &#8230;<p class="read-more"><a href="http://manueljoaosilva.com/2011/09/prevent-hotlinking-with-apache/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://manueljoaosilva.com/2011/09/prevent-hotlinking-with-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
