<?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>Tue, 14 Dec 2010 20:28:08 +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>Brain teaser: splitting revenue fairly.</title>
		<link>http://www.microshell.com/programming/general-algorithm/brain-teaser-splitting-revenue-fairly/</link>
		<comments>http://www.microshell.com/programming/general-algorithm/brain-teaser-splitting-revenue-fairly/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 18:24:20 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General / Algorithm]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=2059</guid>
		<description><![CDATA[While this brain teaser can be applied to more than programming, I think it&#8217;s a very nice one to sharpen our problem-solving solution required to do a good programming.
There were 2 people, A and B. They joined together to have a meal. Person A brought 3 loafs of bread. Person B brought 5 loafs of [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/general-algorithm/brain-teaser-splitting-revenue-fairly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revisit: choosing virtualization solution</title>
		<link>http://www.microshell.com/sysadmin/virtualization/revisit-choosing-virtualization-solution/</link>
		<comments>http://www.microshell.com/sysadmin/virtualization/revisit-choosing-virtualization-solution/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 17:43:25 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=2045</guid>
		<description><![CDATA[It has been almost 1.5 years since I wrote my originalarticle. While I&#8217;m still cheap (read: always try to get the best deals out there) but other things have changed &#8212; especially in the built-in support of virtualization on some Linux distributions.
My new (used) server
So this time, I got my server Sun Fire v40z off [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/sysadmin/virtualization/revisit-choosing-virtualization-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>4</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>11</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>1</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>
	</channel>
</rss>

