<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tech Notes @ Fernvale</title>
	<atom:link href="http://fernvale.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fernvale.wordpress.com</link>
	<description></description>
	<pubDate>Thu, 31 Jul 2008 03:54:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Failed image upload in Joomla 1.5</title>
		<link>http://fernvale.wordpress.com/2008/07/31/failed-image-upload-in-joomla-15/</link>
		<comments>http://fernvale.wordpress.com/2008/07/31/failed-image-upload-in-joomla-15/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 03:53:13 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[joomla]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=36</guid>
		<description><![CDATA[If we encounter error 403 while uploading images in Joomla 1.5, try adding these 2 lines in .htaccess:
SecFilterEngine Off
SecFilterScanPOST Off
The fix works for me.
References: http://www.dart-creations.com/the-joomla-blog/blog/media-manager-upload-failed-403-error.html
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If we encounter error 403 while uploading images in Joomla 1.5, try adding these 2 lines in .htaccess:</p>
<blockquote><p>SecFilterEngine Off<br />
SecFilterScanPOST Off</p></blockquote>
<p>The fix works for me.</p>
<p>References: <a href="http://www.dart-creations.com/the-joomla-blog/blog/media-manager-upload-failed-403-error.html" target="_blank">http://www.dart-creations.com/the-joomla-blog/blog/media-manager-upload-failed-403-error.html</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=36&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/07/31/failed-image-upload-in-joomla-15/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding files modified since a certain time</title>
		<link>http://fernvale.wordpress.com/2008/06/30/finding-files-modified-since-a-certain-time/</link>
		<comments>http://fernvale.wordpress.com/2008/06/30/finding-files-modified-since-a-certain-time/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 03:45:12 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=34</guid>
		<description><![CDATA[To find files in the current and its subdirectories that were modified since 1 day ago:
find . -mtime -1 -print
To find files in the current and its subdirectories that were modified since 1 week (7 days) ago:
find . -mtime -7 -print
References: http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ago-in-unix/
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To find files in the current and its subdirectories that were modified since 1 day ago:</p>
<blockquote><p>find . -mtime -1 -print</p></blockquote>
<p>To find files in the current and its subdirectories that were modified since 1 week (7 days) ago:</p>
<blockquote><p>find . -mtime -7 -print</p></blockquote>
<p>References: <a href="http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ago-in-unix/" target="_blank">http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ago-in-unix/</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=34&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/06/30/finding-files-modified-since-a-certain-time/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>How to generate facebook infinite session</title>
		<link>http://fernvale.wordpress.com/2008/05/30/how-to-generate-facebook-infinite-session/</link>
		<comments>http://fernvale.wordpress.com/2008/05/30/how-to-generate-facebook-infinite-session/#comments</comments>
		<pubDate>Fri, 30 May 2008 08:53:09 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[facebook]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=33</guid>
		<description><![CDATA[When developing facebook applications, we might need an infinite session that will enable us to update the app users&#8217; profile periodically. For instance, a &#8220;Quote Of TheDay&#8221; application needs to update its users&#8217; profile everyday with a new quote.
Here are the steps to generate an infinite session that does not expire. Note: these steps only [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When developing facebook applications, we might need an infinite session that will enable us to update the app users&#8217; profile periodically. For instance, a &#8220;Quote Of TheDay&#8221; application needs to update its users&#8217; profile everyday with a new quote.</p>
<p>Here are the steps to generate an infinite session that does not expire. Note: these steps only need to be done by the developer once; no action is needed from the app users.</p>
<ul>
<li>Login to your own facebook account.</li>
<li>Browse to: http://www.facebook.com/code_gen.php?v=1.0&amp;api_key=<em>YOUR_API_KEY</em> (replace <em>YOUR_API_KEY</em> with your app&#8217;s API key) Click through the simple instructions on the page. After that, you&#8217;ll be provided with a one-time code like 5P4I8D .</li>
<li>Invoke facebook API <strong>auth.getSession</strong> using the one-time code. The returned result will be the infinite session key.</li>
</ul>
<p>Source of info: <a href="http://wiki.developers.facebook.com/index.php/Authentication_guide" target="_blank">http://wiki.developers.facebook.com/index.php/Authentication_guide</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=33&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/05/30/how-to-generate-facebook-infinite-session/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>How to stay in facebook Page context</title>
		<link>http://fernvale.wordpress.com/2008/05/30/how-to-stay-in-facebook-page-context/</link>
		<comments>http://fernvale.wordpress.com/2008/05/30/how-to-stay-in-facebook-page-context/#comments</comments>
		<pubDate>Fri, 30 May 2008 07:15:40 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[facebook]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=32</guid>
		<description><![CDATA[When developing Facebook application for Pages, it is mandatory to &#8220;stay in Page context&#8221; in order for &#60;fb:page-admin-edit-header/&#62; to be rendered. Thanks to Thought Labs Blog, for documenting the way to do so:
you MUST add the &#8216;fb_page_id=[pageID]&#8216; URL param to the POST URL.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When developing Facebook application for Pages, it is mandatory to &#8220;stay in Page context&#8221; in order for &lt;fb:page-admin-edit-header/&gt; to be rendered. Thanks to <a href="http://www.thoughtlabs.com/blogs/2008/02/22/facebook-and-canvas-page-posting/" target="_blank">Thought Labs Blog</a>, for documenting the way to do so:</p>
<blockquote><p><span style="color:#ff0000;">you MUST add the &#8216;fb_page_id=[pageID]&#8216; URL param to the POST URL.</span></p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=32&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/05/30/how-to-stay-in-facebook-page-context/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>How to display PHP compilation errors</title>
		<link>http://fernvale.wordpress.com/2008/05/30/how-to-display-php-compilation-errors/</link>
		<comments>http://fernvale.wordpress.com/2008/05/30/how-to-display-php-compilation-errors/#comments</comments>
		<pubDate>Fri, 30 May 2008 04:15:49 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=31</guid>
		<description><![CDATA[It&#8217;s frustrating when PHP compilation errors are not shown during development. To make such compilation errors visible on the web pages, add this line in .htaccess:
php_value display_errors 1
Alternatively, if access to .htaccess is not allowed, this PHP code achieves the same result too:
ini_set(&#8217;display_errors&#8217;,1);
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s frustrating when PHP compilation errors are not shown during development. To make such compilation errors visible on the web pages, add this line in .htaccess:</p>
<blockquote><p>php_value display_errors 1</p></blockquote>
<p>Alternatively, if access to .htaccess is not allowed, this PHP code achieves the same result too:</p>
<blockquote><p><span class="methodname">ini_set(&#8217;</span>display_errors&#8217;<span class="methodname">,1);</span></p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=31&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/05/30/how-to-display-php-compilation-errors/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>Modify Tomcat startup script in Eclipse</title>
		<link>http://fernvale.wordpress.com/2008/03/02/modify-tomcat-startup-script-in-eclipse/</link>
		<comments>http://fernvale.wordpress.com/2008/03/02/modify-tomcat-startup-script-in-eclipse/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 16:04:56 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/?p=30</guid>
		<description><![CDATA[Right-click on server&#8217;s name -&#62; Run As -&#62; Open Run Dialog -&#62; Arguments
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Right-click on server&#8217;s name -&gt; Run As -&gt; Open Run Dialog -&gt; Arguments</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=30&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2008/03/02/modify-tomcat-startup-script-in-eclipse/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>FreeRADIUS&#8217;s init script</title>
		<link>http://fernvale.wordpress.com/2007/12/14/freeradiuss-init-script/</link>
		<comments>http://fernvale.wordpress.com/2007/12/14/freeradiuss-init-script/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 06:14:17 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[radius]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/2007/12/14/freeradiuss-init-script/</guid>
		<description><![CDATA[FreeRADIUS&#8217;s init script is located at scripts/rc.radiusd of the source tarball.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>FreeRADIUS&#8217;s init script is located at <strong>scripts/rc.radiusd</strong> of the source tarball.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=29&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2007/12/14/freeradiuss-init-script/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>How to log each MySQL query</title>
		<link>http://fernvale.wordpress.com/2007/12/13/how-to-log-each-mysql-query/</link>
		<comments>http://fernvale.wordpress.com/2007/12/13/how-to-log-each-mysql-query/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 10:13:58 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/2007/12/13/how-to-log-each-mysql-query/</guid>
		<description><![CDATA[To log each and every query executed by MySQL, simply specify &#8220;-l&#8221; when starting mysqld_safe. For instance:
/usr/bin/mysqld_safe -l ...
All queries will then be logged to &#60;hostname&#62;.log in the data directory (typically /var/lib/mysql).
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To log each and every query executed by MySQL, simply specify <strong>&#8220;-l&#8221;</strong> when starting mysqld_safe. For instance:</p>
<pre>/usr/bin/mysqld_safe <strong>-l</strong> ...</pre>
<p>All queries will then be logged to &lt;hostname&gt;.log in the data directory (typically /var/lib/mysql).</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=28&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2007/12/13/how-to-log-each-mysql-query/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
		<item>
		<title>Grails quickstart</title>
		<link>http://fernvale.wordpress.com/2007/08/03/grails-quickstart/</link>
		<comments>http://fernvale.wordpress.com/2007/08/03/grails-quickstart/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 10:40:37 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/2007/08/03/grails-quickstart/</guid>
		<description><![CDATA[A quick start guide to Grails 
There was a period of time when Java developers can only envy the RoR developers for completing the day&#8217;s work by lunch time. Not anymore, for we have Grails to the rescue!
After exploring Grails for an hour, I&#8217;m really impressed by its fuss-free scaffolding. (In an hour, I had [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><u>A quick start guide to Grails </u></p>
<p>There was a period of time when Java developers can only envy the RoR developers for completing the day&#8217;s work by lunch time. Not anymore, for we have <a href="http://grails.codehaus.org/" target="_blank">Grails</a> to the rescue!</p>
<p>After exploring Grails for an hour, I&#8217;m really impressed by its fuss-free scaffolding. (In an hour, I had enough time to touch on the basics <em>and</em> to write this post. Ha ha <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) Don&#8217;t be convinced by me, you&#8217;ve gotta try it for yourself to believe it.</p>
<p>Ok, first of all, we will need to install Grails, which is nothing more than just:</p>
<ul>
<li>Download and unzip Grails.</li>
<li>Define a GRAILS_HOME environment variable to point to the unzipped Grails directory.</li>
<li>Add $GRAILS_HOME/bin to your $PATH.</li>
</ul>
<p>Installation is complete!</p>
<p>Now let&#8217;s begin writing our very first &#8220;real-world&#8221; application. For starters, our application will help to manage seminars and registrations. Execute these steps on your shell:</p>
<ul>
<li>grails create-app myapp</li>
<li>cd myapp</li>
<li>grails create-domain-class Seminar</li>
<li>grails create-domain-class Registration</li>
<li><em>Edit myapp/grails-app/domain/Seminar.groovy:</em>
<ul>
<li> class Seminar {<br />
String title<br />
Date startDateTime<br />
String city<br />
Float cost<br />
Boolean mealsProvided<br />
static hasMany = [registrations:Registration]<br />
}</li>
</ul>
</li>
<li><em>Edit </em><em>myapp/grails-app/domain/</em><em>Registration.groovy:</em>
<ul>
<li>class Registration {<br />
String name<br />
Date dateOfBirth<br />
String gender<br />
Seminar seminar<br />
}<em><br />
</em></li>
</ul>
</li>
<li>grails generate-all Seminar</li>
<li>grails generate-all Registration</li>
<li>grails run-app</li>
</ul>
<p>That&#8217;s all the code you need to write to set up the scaffolding! Let&#8217;s enjoy the fruits of our labour by browsing to http://localhost:8080/myapp. You&#8217;ll notice this scaffolding automatically includes:</p>
<ul>
<li>CRUD functionalities for both our Seminar and Registration domain classes.</li>
<li>In the Registration data entry page, the Seminar field is rendered as a dropdown list of all Seminar objects.</li>
<li>In the Seminar data entry page, the MealsProvided field is rendered as a checkbox.</li>
</ul>
<p>Here are some screen shots of the scaffolding:</p>
<p><a href="http://fernvale.files.wordpress.com/2007/08/grails2.jpg" title="grails2.jpg"><img src="http://fernvale.files.wordpress.com/2007/08/grails2.thumbnail.jpg" alt="grails2.jpg" /></a></p>
<p><a href="http://fernvale.files.wordpress.com/2007/08/grails1.jpg" title="grails1.jpg"><img src="http://fernvale.files.wordpress.com/2007/08/grails1.thumbnail.jpg" alt="grails1.jpg" /></a></p>
<p>Oh, did I mention the one hour also includes a trip to the kitchen to reward myself with a cuppa coffee? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For further reading, I recommend this wonderful and FREE e-book: <a href="http://www.infoq.com/minibooks/grails">Getting Started with Grails</a> by Jason Rudolph</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=23&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2007/08/03/grails-quickstart/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>

		<media:content url="http://fernvale.files.wordpress.com/2007/08/grails2.thumbnail.jpg" medium="image">
			<media:title type="html">grails2.jpg</media:title>
		</media:content>

		<media:content url="http://fernvale.files.wordpress.com/2007/08/grails1.thumbnail.jpg" medium="image">
			<media:title type="html">grails1.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweaking browser appliance</title>
		<link>http://fernvale.wordpress.com/2007/08/02/tweaking-browser-appliance/</link>
		<comments>http://fernvale.wordpress.com/2007/08/02/tweaking-browser-appliance/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 04:24:37 +0000</pubDate>
		<dc:creator>singchyun</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[virtualisation]]></category>

		<guid isPermaLink="false">http://fernvale.wordpress.com/2007/08/02/tweaking-browser-appliance/</guid>
		<description><![CDATA[Found a handy document on tweaking the browser virtual appliance: http://www.spywareinfo.com/articles/vmware/batweaks.php
Among other stuff, it covers:

Enabling FireFox updates
Discard changes after shutdown
Sharing files between appliance and host
etc&#8230;

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Found a handy document on tweaking the <a href="http://www.vmware.com/vmtn/appliances/directory/browserapp.html" target="_blank">browser virtual appliance</a>: <a href="http://www.spywareinfo.com/articles/vmware/batweaks.php" target="_blank">http://www.spywareinfo.com/articles/vmware/batweaks.php</a></p>
<p>Among other stuff, it covers:</p>
<ul>
<li>Enabling FireFox updates</li>
<li>Discard changes after shutdown</li>
<li>Sharing files between appliance and host</li>
<li>etc&#8230;</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fernvale.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fernvale.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fernvale.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fernvale.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fernvale.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fernvale.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fernvale.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fernvale.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fernvale.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fernvale.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fernvale.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fernvale.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fernvale.wordpress.com&blog=946228&post=22&subd=fernvale&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fernvale.wordpress.com/2007/08/02/tweaking-browser-appliance/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/singchyun-128.jpg" medium="image">
			<media:title type="html">sing chyun</media:title>
		</media:content>
	</item>
	</channel>
</rss>