<?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>Microshell</title>
	<atom:link href="http://www.microshell.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microshell.com</link>
	<description>Learn something share something</description>
	<lastBuildDate>Sun, 09 May 2010 03:04:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding support for SSH2 on MAMP</title>
		<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/</link>
		<comments>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 01:04:58 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MacOS X]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=2020</guid>
		<description><![CDATA[Recently, I am in need to use SFTP on one of my PHP script. Fortunately, PHP does support it through SSH2 binding. Unfortunately, however, MAMP doesn&#8217;t come with SSH2 extension. So it looks like I have to recompile myself.
Adding SSH2 extension to your MAMP the easy way
I&#8217;ve compiled SSH2 extension for Mac. Note that it [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swap values in 2 rows SQL</title>
		<link>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/</link>
		<comments>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 19:31:20 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General SQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1990</guid>
		<description><![CDATA[I encountered a situation at work that I feel would be a good brain teaser. I was working on a project and needed a way to swap values from 2 different rows in a SQL table. Obviously I can do it on client side (like PHP) to do it; but that wouldn&#8217;t be a good [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Updating wp-ban to include bad URLs</title>
		<link>http://www.microshell.com/website_internet/security/updating-wp-ban-to-include-bad-urls/</link>
		<comments>http://www.microshell.com/website_internet/security/updating-wp-ban-to-include-bad-urls/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:52:27 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1834</guid>
		<description><![CDATA[I&#8217;ve posteda while back. Now I&#8217;m getting tired of these bozos trying to hack my system in vain, wasting my bandwith and driving up fake page views on my StatPress. So I decided to patch wp-ban to include what I considered bad URLs.
Since I&#8217;ll be using wp-ban, it should go without saying that you need [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/website_internet/security/updating-wp-ban-to-include-bad-urls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP exception handling.</title>
		<link>http://www.microshell.com/programming/php/php-exception-handling/</link>
		<comments>http://www.microshell.com/programming/php/php-exception-handling/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 19:09:24 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1807</guid>
		<description><![CDATA[I normally post tutorials, how-tos or the likes. This post is a little bit different than the others. It&#8217;s more like a thought that I came across when I finally decided to use PHP&#8217;s exception handling.
Here&#8217;s the basic form of PHP&#8217;s exception handling.

try {
	// Do something
} catch (DataErrorException $e) {
	// Handle data error here
} catch [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/php-exception-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving sudoku using PostgreSQL PL/pgSQL</title>
		<link>http://www.microshell.com/database/postgresql/solving-sudoku-using-postgresql-plpgsql/</link>
		<comments>http://www.microshell.com/database/postgresql/solving-sudoku-using-postgresql-plpgsql/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 23:09:01 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General / Algorithm]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1197</guid>
		<description><![CDATA[I have no idea why I would want to solve sudoku in PostgreSQL PL/pgSQL. My guess would be just for the fun of it. I&#8217;m also hoping that it can serve as a tutorial example in programming PostgreSQL PL/pgSQL.
So what is sudoku? It is basically a number puzzle where the objective is to fill 9&#215;9 [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/postgresql/solving-sudoku-using-postgresql-plpgsql/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>XML and Ampersand (&amp;)</title>
		<link>http://www.microshell.com/programming/php/xml-and-ampersand/</link>
		<comments>http://www.microshell.com/programming/php/xml-and-ampersand/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 00:50:33 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General / Algorithm]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1662</guid>
		<description><![CDATA[I&#8217;m not sure if many programmers know this. But it&#8217;s always a good thing to make sure that they (including me) do. XML specification doesn&#8217;t allow ampersand (&#038;). Here&#8217;s a quote from W3c.org XML recommendation with bold emphasis added by me.

The ampersand character (&#038;) and the left angle bracket ( 5C&#8217;. How would you write [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/xml-and-ampersand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Wordpress StatPress for bing</title>
		<link>http://www.microshell.com/website_internet/administration/updating-wordpress-statpress-for-bing/</link>
		<comments>http://www.microshell.com/website_internet/administration/updating-wordpress-statpress-for-bing/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 06:12:29 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1649</guid>
		<description><![CDATA[As you may know, Microsoft released its search engine (they call it decision engine) sometime last June 2009. The new search engine is bing. Since they launched, I&#8217;ve been waiting for an update of StatPress  to include bing. After waiting for almost 2 months with no updates, I thought I&#8217;ll take matters into my [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/website_internet/administration/updating-wordpress-statpress-for-bing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_PHPLIB[libdir] Cross Site Scripting Exploit Explained</title>
		<link>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/</link>
		<comments>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:41:10 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1580</guid>
		<description><![CDATA[Lately, I&#8217;ve seen an increased attack of bad people trying to run XSS exploit on this website using _PHPLIB[libdir] exploit. It alarmed me a bit as I didn&#8217;t really know about that particular exploit. Obviously I wanted to make sure that my site is not vulnerable for it. So I did a little bit digging.
For [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing 2 dates in PHP &#8211; A better way</title>
		<link>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/</link>
		<comments>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:47:08 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1546</guid>
		<description><![CDATA[If you Google around for php compare 2 dates, (at the time of this writing) typically they suggest for you to convert the date string into some integer using mktime() or strtotime(). Both the functions returns you Unix timestamp.
Understanding Unix Timestamp
In my other article, I mentioned that one of the golden rule of programming is [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use EXISTS() instead of COUNT(*)</title>
		<link>http://www.microshell.com/database/sql/use-exists-instead-of-count/</link>
		<comments>http://www.microshell.com/database/sql/use-exists-instead-of-count/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 18:13:53 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General SQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1527</guid>
		<description><![CDATA[A lot of times, I saw programmers use COUNT(*) and check if the result is greater than 0 to see if a particular record exits in a table. If your only purpose is to know if a record exists or not and you don&#8217;t really care about how many matched records are there, the better [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/sql/use-exists-instead-of-count/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
