<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Log</title>
	<atom:link href="http://longlog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://longlog.wordpress.com</link>
	<description>A programmer&#039;s weblog</description>
	<lastBuildDate>Tue, 27 Oct 2009 14:38:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='longlog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e164acf1c923fc9493dbb2241cb5184e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>My Log</title>
		<link>http://longlog.wordpress.com</link>
	</image>
			<item>
		<title>Free online mini dictionary</title>
		<link>http://longlog.wordpress.com/2009/10/13/free-online-mini-dictionary/</link>
		<comments>http://longlog.wordpress.com/2009/10/13/free-online-mini-dictionary/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 23:38:27 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=74</guid>
		<description><![CDATA[mini dictionary is a bookmarklet with some simple tools you can use on any website.
To Install
For IE Browser (version &#62; 6.0)

Drag this to your bookmarks bar (favorites bar or links bar): mini dictionary
Select the following code then press Ctrl+C
javascript:(function(){function%20loadScript(a,b){var%20c=document.createElement(&#8217;script&#8217;);c.type=&#8217;text/javascript&#8217;;c.src=a;var%20d=document.getElementsByTagName(&#8216;head&#8217;)[0],done=false;c.onload=c.onreadystatechange=function(){if(!done&#38;amp;&#38;amp;(!this.readyState&#124;&#124;this.readyState==&#8217;loaded&#8217;&#124;&#124;this.readyState==&#8217;complete&#8217;)){done=true;b()}};d.appendChild(c)}loadScript(&#8216;http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/effects.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/dragdrop.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/bm.js&#8217;,function(){test()})})})})})()
Right-click on the bookmark made in step 1 and select &#8220;Properties&#8221;. In the &#8220;URL&#8221; field of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=74&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="online mini dictionary" href="http://www.mini-dictionary.com">mini dictionary</a> is a bookmarklet with some simple tools you can use on any website.</p>
<h2>To Install</h2>
<h3>For IE Browser (version &gt; 6.0)</h3>
<ol>
<li>Drag this to your bookmarks bar (favorites bar or links bar): <a href="http://www.usitd.com/wia">mini dictionary</a></li>
<li>Select the following code then press Ctrl+C<br />
javascript:(function(){function%20loadScript(a,b){var%20c=document.createElement(&#8217;script&#8217;);c.type=&#8217;text/javascript&#8217;;c.src=a;var%20d=document.getElementsByTagName(&#8216;head&#8217;)[0],done=false;c.onload=c.onreadystatechange=function(){if(!done&amp;amp;&amp;amp;(!this.readyState||this.readyState==&#8217;loaded&#8217;||this.readyState==&#8217;complete&#8217;)){done=true;b()}};d.appendChild(c)}loadScript(&#8216;http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/effects.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/dragdrop.js&#8217;,function(){loadScript(&#8216;http://www.usitd.com/wia/js/bm.js&#8217;,function(){test()})})})})})()</li>
<li>Right-click on the bookmark made in step 1 and select &#8220;Properties&#8221;. In the &#8220;URL&#8221; field of the &#8220;Web Document&#8221; tab, press &#8220;Ctrl-V&#8221; to paste the copied link. Press &#8220;OK&#8221; to finish.</li>
</ol>
<h3>For Other Browsers</h3>
<ol>
<li>Drag this to your bookmarks bar: <a href="//www.usitd.com/wia/js/bm.js',function(){test()})})})})})()">mini dictionary</a></li>
</ol>
<h2>To Use</h2>
<ol>
<li>Go to a website.</li>
<li>Click the &#8220;mini dictionary&#8221; bookmark.</li>
<li>Double-click on any word on the page, and a mini dictionary will pop up.</li>
<li>Click anywhere outside of the pop-up to close the mini dictionary.</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=74&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/10/13/free-online-mini-dictionary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>position:relative and overflow in Internet Explorer</title>
		<link>http://longlog.wordpress.com/2009/09/03/positionrelative-and-overflow-in-internet-explorer/</link>
		<comments>http://longlog.wordpress.com/2009/09/03/positionrelative-and-overflow-in-internet-explorer/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 11:56:30 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=70</guid>
		<description><![CDATA[I&#8217;ve been working on this layout that had a relatively positioned element inside a container with overflow. Everything looked good until I switched to IE7 and noticed that my positioned element remained fixed.
To solve this, I added position:relative to the container. This seems to work for both IE6 and 7.
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=70&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been working on this layout that had a relatively positioned element inside a container with overflow. Everything looked good until I switched to IE7 and noticed that my positioned element remained fixed.</p>
<p>To solve this, I added <code>position:relative</code> to the container. This seems to work for both IE6 and 7.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=70&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/09/03/positionrelative-and-overflow-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Alternate Row Color in Crystal Report</title>
		<link>http://longlog.wordpress.com/2009/08/27/alternate-row-color-in-crystal-report/</link>
		<comments>http://longlog.wordpress.com/2009/08/27/alternate-row-color-in-crystal-report/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 12:25:45 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Crystal Report]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=67</guid>
		<description><![CDATA[In &#8220;Section Expert&#8221; select &#8220;Color&#8221; tab, then select &#8220;Background color&#8221; and put the following code:
if RecordNumber mod 2 = 0 then Color(233,233,233) else crNoColor
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=67&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In &#8220;Section Expert&#8221; select &#8220;Color&#8221; tab, then select &#8220;Background color&#8221; and put the following code:</p>
<p>if RecordNumber mod 2 = 0 then Color(233,233,233) else crNoColor</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=67&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/08/27/alternate-row-color-in-crystal-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Speed Firefox Up</title>
		<link>http://longlog.wordpress.com/2009/08/15/speed-firefox-up/</link>
		<comments>http://longlog.wordpress.com/2009/08/15/speed-firefox-up/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 12:37:19 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Browser]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/2009/08/15/speed-firefox-up/</guid>
		<description><![CDATA[1.Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:
network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests
Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.
2. Alter the entries as follows:
Set “network.http.pipelining” to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=65&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>1.Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:</p>
<p>network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests</p>
<p>Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.</p>
<p>2. Alter the entries as follows:</p>
<p>Set “network.http.pipelining” to “true”</p>
<p>Set “network.http.proxy.pipelining” to “true”</p>
<p>Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.</p>
<p>3. Lastly right-click anywhere and select New-&gt; Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.</p>
<p>If you’re using a broadband connection you’ll load pages MUCH faster now!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=65&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/08/15/speed-firefox-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote debug setting</title>
		<link>http://longlog.wordpress.com/2009/06/22/remote-debug-setting/</link>
		<comments>http://longlog.wordpress.com/2009/06/22/remote-debug-setting/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 11:41:40 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Java Appication]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=62</guid>
		<description><![CDATA[set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n
&#160;
in IntelliJ IDEA:

add new Configurations &#8211; Remote
change the port to 8001

&#160;
&#160;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=62&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=<span style="color:#800000;">8001</span>,server=y,suspend=n</p>
<p>&nbsp;</p>
<p>in IntelliJ IDEA:</p>
<ol>
<li>add new Configurations &#8211; Remote</li>
<li>change the port to <span style="color:#800000;">8001</span></li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=62&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/06/22/remote-debug-setting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Reset record number by group in Crystal Report</title>
		<link>http://longlog.wordpress.com/2009/05/07/reset-record-number-by-group-in-crystal-report/</link>
		<comments>http://longlog.wordpress.com/2009/05/07/reset-record-number-by-group-in-crystal-report/#comments</comments>
		<pubDate>Thu, 07 May 2009 12:10:51 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Crystal Report]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=60</guid>
		<description><![CDATA[numberVar numSlno = 0;
IF PREVIOUSISNULL({PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC}) THEN
numSlno := 1
else IF Previous ({PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC})&#60;&#62;{PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC} THEN
numSlno := 1
ELSE
numSlno := numSlno + 1
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=60&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>numberVar numSlno = 0;</p>
<p>IF PREVIOUSISNULL({PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC}) THEN<br />
numSlno := 1<br />
else IF Previous ({PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC})&lt;&gt;{PAC_METRIC_SUMM_PROCESS_TIME_PACPROC.SEC} THEN<br />
numSlno := 1<br />
ELSE<br />
numSlno := numSlno + 1</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=60&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/05/07/reset-record-number-by-group-in-crystal-report/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>View Ajax Souce Code</title>
		<link>http://longlog.wordpress.com/2009/04/15/view-ajax-souce-code/</link>
		<comments>http://longlog.wordpress.com/2009/04/15/view-ajax-souce-code/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 16:15:10 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=56</guid>
		<description><![CDATA[IE:

Create a bookmark in the browser
Copy the following code in the url
javascript:&#8217;&#60;xmp&#62;&#8217; + window.document.body.outerHTML+ &#8216;&#60;/xmp&#62;&#8217;
Every time you want to see the page source code including Ajax, click it.

FireFox:
Select the content and &#8220;View selection source&#8221;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=56&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>IE:</p>
<ol>
<li>Create a bookmark in the browser</li>
<li>Copy the following code in the url<br />
javascript:&#8217;&lt;xmp&gt;&#8217; + window.document.body.outerHTML+ &#8216;&lt;/xmp&gt;&#8217;</li>
<li>Every time you want to see the page source code including Ajax, click it.</li>
</ol>
<p>FireFox:</p>
<p>Select the content and &#8220;View selection source&#8221;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=56&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/04/15/view-ajax-souce-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Data folder for MySQL 5.1</title>
		<link>http://longlog.wordpress.com/2009/02/21/data-folder-for-mysql-51/</link>
		<comments>http://longlog.wordpress.com/2009/02/21/data-folder-for-mysql-51/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 20:54:47 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=52</guid>
		<description><![CDATA[It is in my.ini.
C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=52&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It is in my.ini.</p>
<p>C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=52&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2009/02/21/data-folder-for-mysql-51/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting privileges for executing stored procedures in MySQL</title>
		<link>http://longlog.wordpress.com/2008/12/11/setting-privileges-for-executing-stored-procedures-in-mysql/</link>
		<comments>http://longlog.wordpress.com/2008/12/11/setting-privileges-for-executing-stored-procedures-in-mysql/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 13:56:15 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=50</guid>
		<description><![CDATA[GRANT EXECUTE ON PROCEDURE yourdbname.sp_yourspname TO theuser@&#8217;localhost&#8217;;
GRANT EXECUTE ON FUNCTION yourdbname.fn_yourfunctionname TO theuser@&#8217;localhost&#8217;;
use mysql
GRANT SELECT ON mysql.proc to theuser@&#8217;localhost&#8217; IDENTIFIED BY &#8216;paswd&#8217;;
GRANT SELECT ON mysql.func to theuser@&#8217;localhost&#8217; IDENTIFIED BY &#8216;paswd&#8217;;
FLUSH PRIVILEGES;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=50&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>GRANT EXECUTE ON PROCEDURE yourdbname.sp_yourspname TO theuser@&#8217;localhost&#8217;;<br />
GRANT EXECUTE ON FUNCTION yourdbname.fn_yourfunctionname TO theuser@&#8217;localhost&#8217;;</p>
<p>use mysql<br />
GRANT SELECT ON mysql.proc to theuser@&#8217;localhost&#8217; IDENTIFIED BY &#8216;paswd&#8217;;<br />
GRANT SELECT ON mysql.func to theuser@&#8217;localhost&#8217; IDENTIFIED BY &#8216;paswd&#8217;;</p>
<p>FLUSH PRIVILEGES;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=50&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2008/12/11/setting-privileges-for-executing-stored-procedures-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
		<item>
		<title>SEVERE: Error listenerStart</title>
		<link>http://longlog.wordpress.com/2008/10/25/severe-error-listenerstart/</link>
		<comments>http://longlog.wordpress.com/2008/10/25/severe-error-listenerstart/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 22:48:09 +0000</pubDate>
		<dc:creator>longlog</dc:creator>
				<category><![CDATA[Java Appication]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://longlog.wordpress.com/?p=48</guid>
		<description><![CDATA[When you start tomcat server and get the error &#8220;SEVER: Error listenerStart&#8221;&#8230; &#8220;SEVERE: Context [/xxxxxxxxxx] startup failed due to previous errors&#8221;, it is because you have multiple apps under webapp/ folder. You need add the following lines in every app&#8217;s web.xml
&#60;context-param&#62;
&#60;param-name&#62;webAppRootKey&#60;/param-name&#62;
&#60;param-value&#62;xxxxxxxxxx.root&#60;/param-value&#62;
&#60;/context-param&#62;
It is Log4jWebConfigurer&#8217;s requirement&#8230;
http://opensource.objectsbydesign.com/spring-1.1.4/org/springframework/web/util/Log4jWebConfigurer.html

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=48&subd=longlog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When you start tomcat server and get the error &#8220;SEVER: Error listenerStart&#8221;&#8230; &#8220;SEVERE: Context [/xxxxxxxxxx] startup failed due to previous errors&#8221;, it is because you have multiple apps under webapp/ folder. You need add the following lines in every app&#8217;s web.xml</p>
<p>&lt;context-param&gt;<br />
&lt;param-name&gt;webAppRootKey&lt;/param-name&gt;<br />
&lt;param-value&gt;xxxxxxxxxx.root&lt;/param-value&gt;<br />
&lt;/context-param&gt;</p>
<p>It is Log4jWebConfigurer&#8217;s requirement&#8230;</p>
<p>http://opensource.objectsbydesign.com/spring-1.1.4/org/springframework/web/util/Log4jWebConfigurer.html</p>
<h2></h2>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/longlog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/longlog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/longlog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/longlog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/longlog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/longlog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/longlog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/longlog.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/longlog.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/longlog.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=longlog.wordpress.com&blog=277897&post=48&subd=longlog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://longlog.wordpress.com/2008/10/25/severe-error-listenerstart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/675fe174d3df144a2a29a2459698548f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">longlog</media:title>
		</media:content>
	</item>
	</channel>
</rss>