<?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>Khairul &#187; MK</title>
	<atom:link href="http://khairul.my/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://khairul.my</link>
	<description>Be mindful</description>
	<lastBuildDate>Mon, 06 Feb 2012 04:17:23 +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>Enable SSH to VirtualBox in one simple command</title>
		<link>http://khairul.my/ssh-to-virtualbox/</link>
		<comments>http://khairul.my/ssh-to-virtualbox/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:42:04 +0000</pubDate>
		<dc:creator>MK</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khairul.my/?p=1727</guid>
		<description><![CDATA[On your host machine, navigate to the VirtualBox directory in terminal/command prompt (in Windows, do cd C:\Program Files\Oracle\VirtualBox). Type the following command: VBoxManage modifyvm &#60;vmname&#62; --natpf1 &#34;guestssh,tcp,,2222,,22&#34; Replace &#60;vmname&#62; appropriately. Now you are able to SSH to localhost at port &#8230; <a href="http://khairul.my/ssh-to-virtualbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On your host machine, navigate to the VirtualBox directory in terminal/command prompt (in Windows, do <code>cd C:\Program Files\Oracle\VirtualBox</code>). Type the following command:</p>
<p><pre>VBoxManage modifyvm &lt;vmname&gt; --natpf1 &quot;guestssh,tcp,,2222,,22&quot;</pre></p>
<p>Replace <code>&lt;vmname&gt;</code> appropriately. Now you are able to SSH to localhost at port 2222.</p>
]]></content:encoded>
			<wfw:commentRss>http://khairul.my/ssh-to-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache2: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName</title>
		<link>http://khairul.my/could-not-reliably-determine-the-servers-fully-qualified-domain/</link>
		<comments>http://khairul.my/could-not-reliably-determine-the-servers-fully-qualified-domain/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:27:31 +0000</pubDate>
		<dc:creator>MK</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khairul.my/?p=1723</guid>
		<description><![CDATA[Simply open /etc/apache2/httpd.conf and add the following line: ServerName localhost Save and restart your Apache.]]></description>
			<content:encoded><![CDATA[<p>Simply open <code>/etc/apache2/httpd.conf</code> and add the following line:</p>
<p><pre>ServerName localhost</pre></p>
<p>Save and restart your Apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://khairul.my/could-not-reliably-determine-the-servers-fully-qualified-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change default Apache port</title>
		<link>http://khairul.my/change-apache-port/</link>
		<comments>http://khairul.my/change-apache-port/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:23:52 +0000</pubDate>
		<dc:creator>MK</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khairul.my/?p=1716</guid>
		<description><![CDATA[Default Apache port number is 80, means that you can access your local web server at localhost:80. What if you want to change this number? Follow the steps below, where we are changing our port to 8010. In Linux/Mac, open &#8230; <a href="http://khairul.my/change-apache-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Default Apache port number is 80, means that you can access your local web server at localhost:80. What if you want to change this number? Follow the steps below, where we are changing our port to 8010.</p>
<p>In Linux/Mac, open <code>/etc/apache2/ports.conf</code> with your favorite text editor and change the following:</p>
<p><pre><pre>NameVirtualHost *:8010
Listen :8010</pre></pre></p>
<p>You might also need to open <code>/etc/apache2/sites-enabled/&lt;your default file&gt;</code> and change the following:</p>
<p><pre>&lt;VirtualHost *:8010&gt;</pre></p>
<p>In Windows, look for httpd.conf (for example, if you are using Xampp, open <code>.\xampp\apache\conf\httpd.conf</code>) and change the following:</p>
<p><pre>Listen 8010</pre></p>
<p>Restart your server and browse your local site with the new port.</p>
]]></content:encoded>
			<wfw:commentRss>http://khairul.my/change-apache-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching text in files using grep</title>
		<link>http://khairul.my/grep/</link>
		<comments>http://khairul.my/grep/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:07:03 +0000</pubDate>
		<dc:creator>MK</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khairul.my/?p=1705</guid>
		<description><![CDATA[Somehow, ack-grep doesn&#8217;t work as well anymore, so I&#8217;m switching to the good old grep. grep -iRn keyword path -i to ignore case sensitivity -R for recursive search -n to display line numbers Example: grep -iRn &#34;Thank you for registering&#34; &#8230; <a href="http://khairul.my/grep/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Somehow, <code>ack-grep</code> doesn&#8217;t work as well anymore, so I&#8217;m switching to the good old <code>grep</code>.</p>
<p><pre>grep -iRn keyword path</pre></p>
<p><pre><pre>-i to ignore case sensitivity
-R for recursive search 
-n to display line numbers</pre></pre></p>
<p>Example:</p>
<p><pre>grep -iRn &quot;Thank you for registering&quot; /var/www/mysite</pre></p>
<p>Using vim, you can use the <code>:n</code> command to jump to specific line (replace n with line number).</p>
<p>You can also use the <code>/</code> command in Vim, to search for texts. Jump through previous/next searches with using the <code>N/n</code> command.</p>
]]></content:encoded>
			<wfw:commentRss>http://khairul.my/grep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding meaning in meaninglessness</title>
		<link>http://khairul.my/meaninglessness/</link>
		<comments>http://khairul.my/meaninglessness/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 16:09:48 +0000</pubDate>
		<dc:creator>MK</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://khairul.my/?p=1649</guid>
		<description><![CDATA[There was a short period of my life where I felt that everything was meaningless. It was a good period. Think about it &#8212; if everything is meaningless, then there would be no point of doing anything at all. No &#8230; <a href="http://khairul.my/meaninglessness/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There was a short period of my life where I felt that everything was meaningless.</p>
<p>It was a good period.</p>
<p>Think about it &#8212; if everything is meaningless, then there would be no point of doing anything at all. No point of working hard to prove your worth in your career. No point of thinking about her and the complications that come along. No point of chasing deadlines on responsibilities that you put upon yourself. No point to even level up your Priest character in Dragon Nest.</p>
<p>Nothing, or no one, matters in this life.</p>
<p>Upon this realization, enlightenment happened. All hell broke loose. I was set free.</p>
<p>Free from expectations from others, and myself. Free from ego and pride, from guilt and regret. Free to do anything that I want to. And so I did.</p>
<p>It was a good period. Let me be reminded.</p>
]]></content:encoded>
			<wfw:commentRss>http://khairul.my/meaninglessness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

