<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUcCSXs_fyp7ImA9WhRbFkk.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386</id><updated>2012-02-08T01:01:08.547+05:30</updated><category term="p2" /><category term="Base64" /><category term="eclipse" /><category term="text-only medium" /><category term="javascript" /><category term="list" /><category term="e-mail" /><category term="equinox" /><title>Let me help you geeks</title><subtitle type="html">Solutions to problems faced by Software developers in day to day work..</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://letmehelpyougeeks.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/qXEa" /><feedburner:info uri="blogspot/qxea" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUcCSXs-fCp7ImA9WhRbFkk.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-1083238740746658501</id><published>2012-02-08T01:01:00.000+05:30</published><updated>2012-02-08T01:01:08.554+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-08T01:01:08.554+05:30</app:edited><title>Chrome for Android APK available</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Google just released Chrome for Android Beta! Awesomeness!&lt;br /&gt;
&lt;br /&gt;
But it is not available for all countries (at least not in India) yet. For those not willing to wait, just like me, &lt;br /&gt;
Here is the &lt;a href="http://www.mediafire.com/?2dgkp3kchxdukil" target="_blank"&gt;Chrome apk&lt;/a&gt; file.&lt;br /&gt;
&lt;a href="http://www.mediafire.com/?2dgkp3kchxdukil" rel="nofollow" target="_blank"&gt;&lt;br /&gt;
&lt;/a&gt; &lt;br /&gt;
(Thanks to JerleMinara at &lt;a href="http://forum.xda-developers.com/showthread.php?t=1485420" target="_blank"&gt;XDA&lt;/a&gt;. )&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-1083238740746658501?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/VE_GnyhG5nE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/1083238740746658501/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2012/02/chrome-for-android-apk-available_08.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/1083238740746658501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/1083238740746658501?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/VE_GnyhG5nE/chrome-for-android-apk-available_08.html" title="Chrome for Android APK available" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2012/02/chrome-for-android-apk-available_08.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8AQ3czfyp7ImA9WhRUFEU.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-6652841078875295823</id><published>2012-01-25T15:00:00.001+05:30</published><updated>2012-01-25T15:00:42.987+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T15:00:42.987+05:30</app:edited><title>Speeding up ftp transfer in linux command line</title><content type="html">&lt;div class="gmail_quote"&gt;Use the following command to download a single file in multiple segments in ftp&lt;br&gt;lftp -c pget ftp://&amp;lt;filepath&amp;gt;&lt;br&gt;&lt;br&gt;For example,&lt;br&gt;lftp -c pget &lt;a href="ftp://example.com/example.zip" target="_blank"&gt;ftp://example.com/example.zip&lt;/a&gt;&lt;br&gt;   &lt;br&gt; &lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-6652841078875295823?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/fNhevXkpLKM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/6652841078875295823/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2012/01/speeding-up-ftp-transfer-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/6652841078875295823?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/6652841078875295823?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/fNhevXkpLKM/speeding-up-ftp-transfer-in-linux.html" title="Speeding up ftp transfer in linux command line" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2012/01/speeding-up-ftp-transfer-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AMRnw7cCp7ImA9WhZUE0o.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-4908728152639540494</id><published>2011-06-06T20:00:00.002+05:30</published><updated>2011-06-06T20:19:47.208+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-06T20:19:47.208+05:30</app:edited><title>Encoding a binary file(image/video/audio) using Base64 encoding</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Firefox supports a url schema called data:, which allows binary files to be embedded in a html/js file. This can be quite handy when you want to say send a simple html file with images, but don't want to deal with the complexities of folder structure and stuff. But for embedding a binary file using the data feature, you need the binary file to be encoded in Base64 format. The following java code helps in encoding a binary file in Base64 format. The following code reads a .gif file and outputs an img tag that can be used directly in a html/js file&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args) throws IOException {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; File file=new File("C:\temp\temp.gif");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; InputStream is = new FileInputStream(file);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int length = (int)file.length();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] bytes = new byte[length];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int offset = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int numRead = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (offset &amp;lt; bytes.length&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; (numRead=is.read(bytes, offset, bytes.length-offset)) &amp;gt;= 0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offset += numRead;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is.close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BufferedWriter bw=new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File("C:\\temp\temp.txt"))));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bw.write("&amp;ltimg src="\&amp;quot;data:image/gif;base64,&amp;quot;+new" string(org.apache.commons.codec.binary.base64.encodebase64(bytes))+"\"="" /&amp;gt");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bw.close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
You can download the apache commons library from http://commons.apache.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-4908728152639540494?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/aRZ-jBLEKsA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/4908728152639540494/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2011/06/encoding-binary-fileimagevideoaudio.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4908728152639540494?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4908728152639540494?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/aRZ-jBLEKsA/encoding-binary-fileimagevideoaudio.html" title="Encoding a binary file(image/video/audio) using Base64 encoding" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2011/06/encoding-binary-fileimagevideoaudio.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MARX49eyp7ImA9WhZUEUo.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-876936055251759035</id><published>2011-06-04T13:47:00.000+05:30</published><updated>2011-06-04T13:47:24.063+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-04T13:47:24.063+05:30</app:edited><title>Transform a org.w3c.dom.Node to String</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While I expected getting the data as a string from a Node object would be as straight forward as doing something like a .toString(), it turns out, it is much harder than that. I suspect the reason being that the datasource for the Document object can also be a data stream.&lt;br /&gt;
&lt;br /&gt;
Coming to the point, the following code does the job of transforming a node object to a String object..&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static String nodeToString(Node node) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;StringWriter sw = new StringWriter();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;try {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Transformer t = TransformerFactory.newInstance().newTransformer();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;t.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;t.transform(new DOMSource(node), new StreamResult(sw));&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} catch (TransformerException te) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;System.err.println("nodeToString Transformer Exception");&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;te.printStackTrace();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return sw.toString();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-876936055251759035?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/wGUGLMoQRPw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/876936055251759035/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2011/06/transform-orgw3cdomnode-to-string.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/876936055251759035?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/876936055251759035?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/wGUGLMoQRPw/transform-orgw3cdomnode-to-string.html" title="Transform a org.w3c.dom.Node to String" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2011/06/transform-orgw3cdomnode-to-string.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEHSXo_cCp7ImA9WhZUEU8.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-5769413413092040483</id><published>2011-06-04T00:13:00.000+05:30</published><updated>2011-06-04T00:13:58.448+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-04T00:13:58.448+05:30</app:edited><title>Play Framework - The Holy Grail for Web Developer</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Developing web applications in java involves a lot of work. You need to create servlets, worry about the backend datastore, etc.. If you are worried about all these, the Play Framework is just for you! Play Framework automatically takes care of quite a lot of routine, yet time consuming stuff.&lt;br /&gt;
&lt;br /&gt;
The Play Framework has been created with developers in mind (That's strange, isn't it? :) ) &lt;br /&gt;
&lt;br /&gt;
Go ahead and try it out at http://www.playframework.org/&lt;br /&gt;
&lt;br /&gt;
It is distributed under Apache 2 license. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-5769413413092040483?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/Tygk4hT6AZM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/5769413413092040483/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2011/06/play-framework-holy-grail-for-web.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5769413413092040483?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5769413413092040483?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/Tygk4hT6AZM/play-framework-holy-grail-for-web.html" title="Play Framework - The Holy Grail for Web Developer" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2011/06/play-framework-holy-grail-for-web.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcCQH8_fCp7ImA9WxFTEU8.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-8017198745870285323</id><published>2010-04-01T18:09:00.000+05:30</published><updated>2010-04-01T18:17:41.144+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-01T18:17:41.144+05:30</app:edited><title>Reading a file in Java with only \r\n (0D0A) as line separator</title><content type="html">One of the features of BufferedReader.readLine() is that it considers any of \r,\r\n,\n as line separator. One possible problem due to this is that, if you wanted to consider only say \r\n as separator and was any other character(\r or \n) to be considered as part of the line, it makes it impossible to use BufferedReader.readLine(). This is because there is no way find what the new line character that readLine() used as the line delimiter for the currently returned line. &lt;br&gt;  &lt;br&gt;If you had wanted to use only say \r\n as line separator, we can use the Scanner to do the job for us..&lt;br&gt;&lt;br&gt;public void testScanner()&lt;br&gt;    {&lt;br&gt;        Scanner scanner=new Scanner(getClass().getResourceAsStream(&amp;quot;parseText.txt&amp;quot;),&amp;quot;UTF-8&amp;quot;);&lt;br&gt;          scanner.useDelimiter(&amp;quot;\\x0D\\x0A&amp;quot;); //Hex values for \r\n&lt;br&gt;        while(scanner.hasNext())&lt;br&gt;        {&lt;br&gt;            String line=scanner.next();&lt;br&gt;            System.out.println(&amp;quot;Line: &amp;quot; + line);&lt;br&gt;          }&lt;br&gt;    }&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-8017198745870285323?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/wEvhtHX1UHw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/8017198745870285323/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/04/reading-file-in-java-with-only-rn-0d0a.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8017198745870285323?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8017198745870285323?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/wEvhtHX1UHw/reading-file-in-java-with-only-rn-0d0a.html" title="Reading a file in Java with only \r\n (0D0A) as line separator" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/04/reading-file-in-java-with-only-rn-0d0a.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAMRnk5eip7ImA9WxBbFEU.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-3552541155140003014</id><published>2010-03-13T18:56:00.001+05:30</published><updated>2010-03-13T18:56:27.722+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-13T18:56:27.722+05:30</app:edited><title>Get hostname of the machine in java</title><content type="html">InetAddress.getLocalHost().getHostName() returns the hostname of the local machine.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-3552541155140003014?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/BPe-gr0FxLQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/3552541155140003014/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/03/get-hostname-of-machine-in-java.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/3552541155140003014?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/3552541155140003014?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/BPe-gr0FxLQ/get-hostname-of-machine-in-java.html" title="Get hostname of the machine in java" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/03/get-hostname-of-machine-in-java.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QCR3kzcSp7ImA9WxBbEkU.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-7373646338333317019</id><published>2010-03-11T00:47:00.002+05:30</published><updated>2010-03-11T10:59:26.789+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-11T10:59:26.789+05:30</app:edited><title>Communicating within a circle</title><content type="html">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ever since I came to know about bluetooth I had wanted to create an application that would allow people to communicate with people nearby. My idea was.. People would create profiles on their phones that would give more details about themselves, like photos, interests, etc. Whenever somebody wants to start a conversation, they can start by searching for people nearby, and&amp;nbsp; ping them after knowing more about them from their profile. Other people in the zone can view this conversation and join the conversation if they like. Ofcourse this has lot of privacy concerns and there is a need for a good privacy policy.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was using google buzz in google maps sometime back and it provides most of the functionality explained above in a different and interesting way. Since google buzz in google maps allows people to tag locations to their buzz, it allows for people to find what other people are talking about/in that particular area of interest. It also allows for people to join an ongoing public conversation. This will get even more interesting if google merges the google chat, google latitude functionality too. Such an application will take social networking to truly another level (of privacy issues??). And will also help people like Rajesh koothrappali(Big Bang Theory) to socialize and get connected.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-7373646338333317019?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/5jEYm8BLpP8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/7373646338333317019/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/03/communicating-within-circle.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7373646338333317019?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7373646338333317019?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/5jEYm8BLpP8/communicating-within-circle.html" title="Communicating within a circle" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/03/communicating-within-circle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EDR3Y-eCp7ImA9WxBbEkU.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-8045646600091232129</id><published>2010-03-10T23:45:00.002+05:30</published><updated>2010-03-11T09:57:56.850+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-11T09:57:56.850+05:30</app:edited><title>Firefox Offline Mode</title><content type="html">Ever wondered how to view the cached pages in firefox?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The offline mode is the answer. This option can be found in the file menu of firefox. When the offline mode is enabled, firefox always uses the cached page instead of trying to get the latest page. This can come in quite handy when you know that you have visited a particular page and you don't have internet connection now.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The awesome bar will as ever help you get to the url and the offline mode will help you browse the cached page. Though you can see the entire cache using either about:cache or some other applications noting gives a seamless experience as offline mode.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-8045646600091232129?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/_umIBSD6YhQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/8045646600091232129/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/03/firefox-offline-mode.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8045646600091232129?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8045646600091232129?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/_umIBSD6YhQ/firefox-offline-mode.html" title="Firefox Offline Mode" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/03/firefox-offline-mode.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8ESXg5eCp7ImA9WxBbEkw.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-2103790862964699164</id><published>2010-03-10T14:44:00.002+05:30</published><updated>2010-03-10T14:50:08.620+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-10T14:50:08.620+05:30</app:edited><title>Get the list of databases in DB2 using DB2 command Prompt</title><content type="html">1. Open db2 command prompt(db2cmd).&lt;br /&gt;
2. Issue &amp;quot;db2 list database directory&amp;quot;&lt;br /&gt;
3. All the databases in the machine should get listed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-2103790862964699164?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/8ydrbi3-Wn8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/2103790862964699164/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/03/get-list-of-databases-in-db2-using-db2.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2103790862964699164?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2103790862964699164?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/8ydrbi3-Wn8/get-list-of-databases-in-db2-using-db2.html" title="Get the list of databases in DB2 using DB2 command Prompt" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/03/get-list-of-databases-in-db2-using-db2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMNQns8eyp7ImA9WxBbEEk.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-7917275316636387474</id><published>2010-03-08T15:47:00.000+05:30</published><updated>2010-03-08T15:48:13.573+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-08T15:48:13.573+05:30</app:edited><title>Send Ctrl+Alt+Delete in a remote desktop session</title><content type="html">Typing Ctrl+Alt+End in a remote session has the same effect as Ctrl+Alt+Delete.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-7917275316636387474?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/etDlsaXq8cI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/7917275316636387474/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/03/send-ctrlaltdelete-in-remote-desktop.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7917275316636387474?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7917275316636387474?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/etDlsaXq8cI/send-ctrlaltdelete-in-remote-desktop.html" title="Send Ctrl+Alt+Delete in a remote desktop session" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/03/send-ctrlaltdelete-in-remote-desktop.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIFQ3kyeyp7ImA9WxBUE0g.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-5502720390382711319</id><published>2010-02-28T15:18:00.001+05:30</published><updated>2010-02-28T15:18:32.793+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-28T15:18:32.793+05:30</app:edited><title>Flirting with SQL Injection</title><content type="html">So what to do on a boring Saturday, BREAK INTO WEBSITES! Believe me, it is much much easier than presumed. I played around with 3 websites today and was successfully able to hack into 2 of them. I used the simple technique of SQL injection.&lt;br&gt;  &lt;br&gt;&lt;b&gt;First encounter[Failure]&lt;/b&gt;&lt;br&gt;http://www.********.edu/research/result.html&lt;br&gt;If you look at the page, it is a very simple webpage. The webpage is supposed to be used to enquire about the results of the Phd thesis.&lt;br&gt;  Firstly the website has a client side check which you can quite easily deduce by just entering an incorrect register number. So I copied the webpage, and edited the function checkregno() to return true even if the regex check fails. This allowed me to send incorrect values/sql statements to the server. But the site seems to have some server side check[before encountering with the database, which you can guess from the response time.] too for the registry number validity, so I could not find any way to progress beyond this point.&lt;br&gt;  checkregno()&lt;br&gt;{&lt;br&gt;if (window.RegExp)&lt;br&gt;{&lt;br&gt;strval=document.forms[&amp;quot;result&amp;quot;][&amp;quot;regno&amp;quot;].value;&lt;br&gt;reExp=new RegExp(&amp;quot;^\\d{9}$&amp;quot;);&lt;br&gt;if (reExp.test(strval))&lt;br&gt;    return(true);&lt;br&gt;else&lt;br&gt;    {&lt;br&gt;  //    alert(&amp;quot;Regno is not correct&amp;quot;);&lt;br&gt;//       document.forms[&amp;quot;result&amp;quot;][&amp;quot;regno&amp;quot;].value=&amp;quot;&amp;quot;&lt;br&gt;    return(true);&lt;br&gt;    }&lt;br&gt;}&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;b&gt;Second Encounter[Partial Success]&lt;/b&gt;&lt;br&gt;  http://www.******.in/Admissions/ApplStatus.asp&lt;br&gt;This website did not really have any client side check other than a limit for the text box field. So I used firebug to change the limit of the textbox field and inserted some junk characters into the text box to figure out whether the call ends up to the database or is there any middle level check. To my surprise, I got back the following&lt;br&gt;  &lt;p&gt;&lt;font color="#000000" face="Arial" size="2"&gt;&lt;font face="Arial" size="2"&gt;Microsoft OLE DB Provider for ODBC Drivers&lt;/font&gt; &lt;font face="Arial" size="2"&gt;error &amp;#39;80040e14&amp;#39;&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt; &lt;font color="#000000" face="Arial" size="2"&gt;&lt;font face="Arial" size="2"&gt;[Microsoft][ODBC  driver for Oracle][Oracle]ORA-00911: invalid character&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt; &lt;font color="#000000" face="Arial" size="2"&gt;&lt;font face="Arial" size="2"&gt;/Admissions/Applstatus_submit.asp&lt;/font&gt;&lt;font face="Arial" size="2"&gt;, line 71&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#000000" face="Arial" size="2"&gt;&lt;font face="Arial" size="2"&gt;The above error message explained a lot about their database configuration. They are using some Microsoft Windows Server and they are using Oracle for the database. This emboldened me and I used the value 12 OR 1=1 as the input string. That gave me the following error message.&lt;br&gt;  &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Application No: 12 OR 1=1  									&lt;br&gt; 									 &lt;font face="Arial" size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Microsoft VBScript runtime &lt;/font&gt;  &lt;font face="Arial" size="2"&gt;error &amp;#39;800a000d&amp;#39;&lt;/font&gt; &lt;/p&gt;&lt;p&gt; &lt;font face="Arial" size="2"&gt;Type mismatch: &amp;#39;[string: &amp;quot;12 OR 1=1&amp;quot;]&amp;#39;&lt;/font&gt; &lt;/p&gt;&lt;p&gt; &lt;font face="Arial" size="2"&gt;/Admissions/Applstatus_submit.asp&lt;/font&gt;&lt;font face="Arial" size="2"&gt;, line 87&lt;/font&gt; &lt;/p&gt;That proved two things. The query execution has actually passed. So some query of the sort &amp;quot;SELECT * FROM STUDENT WHERE APPNO=12 OR 1=1&amp;quot; has got executed. But to their luck, somebody has tried to cast the Application No in the return result which has resulted in a Type Mismatch error. But the bright spot is the query has actually got executed. So if suppose I had wanted to change the value or deleted some records in the database I could have very well accomplished it, provided the user they are using the query the records has the rights to modify records too.&lt;br&gt;  &lt;br&gt;&lt;b&gt;Third Encounter[Success]:&lt;/b&gt;&lt;br&gt;http://www.***********.com/exam_results.asp&lt;br&gt;This one was the easiest to break into. I gave 234&amp;#39; in the input box and it gave me back almost all the information I need about that website to hack into.&lt;br&gt;  &lt;p&gt;&lt;font face="Arial" size="2"&gt;Microsoft OLE DB Provider for ODBC  Drivers&lt;/font&gt; &lt;font face="Arial" size="2"&gt;error &amp;#39;80040e14&amp;#39;&lt;/font&gt; &lt;/p&gt;&lt;p&gt; &lt;font face="Arial" size="2"&gt;[Microsoft][ODBC Microsoft Access Driver]  Syntax error in string in query expression &amp;#39;fdRegNo=&amp;#39;234&amp;#39;&amp;#39; AND  (tblResult.fdHead=1)&amp;#39;.&lt;/font&gt; &lt;/p&gt;&lt;p&gt; &lt;font face="Arial" size="2"&gt;/show_Result.asp&lt;/font&gt;&lt;font face="Arial" size="2"&gt;, line 29&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;The website uses Microsoft Windows operating system and Microsoft Access Database. The column name that is used to store the register number is fdRegNo and the type of the column is a string. Now all I have to do is to extract more information from the website, which is quite simple as making the fdRegNo condition to always return true. So I used 12&amp;#39; OR &amp;#39;1&amp;#39;=&amp;#39;1 as the input literal. Now the resultant query that will get executed in the database is something of the form SELECT fdRegNo,COL1 FROM result WHERE fdRegNo=&amp;#39;12&amp;#39; OR &amp;#39;1&amp;#39;=&amp;#39;1&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&amp;#39; AND  (tblResult.fdHead=1)&amp;#39;. This would have resulted in all the columns from the results table from being fetched. So after some delay(hope I have not overloaded the server :( ) I got back all the records in the table :). Here I could have very well fudged with the table by just giving in a input which would have thrown me a error message with the name of the table, and using that table name to delete or modify the records in the table.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Mission Accomplished!!&lt;/b&gt; Learned a great deal about how secure the production websites are and how easy it is to fudge with the websites.&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Wow! I never thought production websites are this easy to compromise. It did not even necessitate me to learn anything otherthan just the meaning of the word SQL Injection and I am now a hacker.. Hope these websites fix these security holes, or else students will determine their grades and not the teachers :P&lt;/font&gt;&lt;br&gt;  &lt;/p&gt;&lt;br&gt;P.S: The intention of all the above experiments was just to learn more about how sql injection works and to find out in real world how many of the production websites are vulnerable. I have not changed/deleted any data in any of these websites, though it seems like it would be easy to mess around with these sites.&lt;br&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-5502720390382711319?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/YlUO6qjvOUA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/5502720390382711319/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/02/flirting-with-sql-injection.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5502720390382711319?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5502720390382711319?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/YlUO6qjvOUA/flirting-with-sql-injection.html" title="Flirting with SQL Injection" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/02/flirting-with-sql-injection.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMCSXo_fSp7ImA9WxBXGUk.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-4507085601136509855</id><published>2010-01-31T19:25:00.000+05:30</published><updated>2010-01-31T19:31:08.445+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-31T19:31:08.445+05:30</app:edited><title>Changing @author name in eclipse</title><content type="html">1. Open eclipse.ini file in the eclipse base directory.&lt;br&gt;2. Add &amp;quot;-Duser.name={New Name}&amp;quot; after -vmargs&lt;br&gt;3. Restart eclipse.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-4507085601136509855?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/iWFeRISMlxg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/4507085601136509855/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/01/changing-author-name-in-eclipse.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4507085601136509855?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4507085601136509855?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/iWFeRISMlxg/changing-author-name-in-eclipse.html" title="Changing @author name in eclipse" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/01/changing-author-name-in-eclipse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcDSX4zeyp7ImA9WxBXFE4.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-2806083280252963505</id><published>2010-01-25T20:54:00.001+05:30</published><updated>2010-01-25T20:54:38.083+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-25T20:54:38.083+05:30</app:edited><title>SETLOCAL in a windows batch file</title><content type="html">&lt;h1&gt;SETLOCAL &lt;br&gt;&lt;/h1&gt;  &lt;p&gt; Set options to control the visibility of environment variables in a  batch file.&lt;/p&gt; &lt;pre&gt;Syntax&lt;br&gt;      SETLOCAL&lt;br&gt;&lt;br&gt;      SETLOCAL EnableDelayedExpansion&lt;br&gt;&lt;br&gt;      SETLOCAL EnableExtensions | DisableExtensions&lt;/pre&gt; &lt;p&gt;SETLOCAL on it&amp;#39;s own, usually at the start of a batch file, will  begin localisation of Environment Variables.&lt;/p&gt; &lt;p&gt;If a batch script does not use SETLOCAL and ENDLOCAL then all  variables will be Global - visible and modifiable by other scripts. &lt;/p&gt; &lt;p&gt;Although global variables are easy to work with they are not good  practice - for example if you have several batch scripts dealing with  filenames (and these scripts may be &lt;a href="http://ss64.com/nt/call.html"&gt;CALL&lt;/a&gt;ing one another), the first  script may have a variable called &lt;span class="code"&gt;_filename&lt;/span&gt;,  the second script a different variable called &lt;span class="code"&gt;file-name&lt;/span&gt;  (you choose a different name to avoid conflicting with the other  script) a third script now needs something like &lt;span class="code"&gt;file_name&lt;/span&gt;  it quickly becomes very difficult to manage things like this.&lt;/p&gt; &lt;p&gt;With local variables you are free to standardise and use the same  name in multiple batch scripts - it doesn&amp;#39;t matter because they are not  visible to any other script. &lt;br&gt; Local Variables can be passed from one batch routine to another with the  &lt;a href="http://ss64.com/nt/endlocal.html"&gt;ENDLOCAL&lt;/a&gt; command. &lt;/p&gt; &lt;p&gt;Issuing a SETLOCAL command, the batch script will inherit all current  variables from the master environment/session.&lt;/p&gt; &lt;p&gt;Issuing an &lt;a href="http://ss64.com/nt/endlocal.html"&gt;ENDLOCAL&lt;/a&gt;  command will restore any environment variables present before the  SETLOCAL was issued. &lt;/p&gt; &lt;p&gt;&lt;b&gt;EnableDelayedExpansion &lt;/b&gt;&lt;/p&gt; &lt;p&gt;Normally  batch files will expand environment variables once for each  command/line. Also &lt;a href="http://ss64.com/nt/syntax-esc.html"&gt;escaped  characters&lt;/a&gt; (^) are evaluated just once. This can have undesirable  side-effects when using  commands which  span multiple lines, like FOR  and IF. Setting &lt;span class="code"&gt;EnableDelayedExpansion&lt;/span&gt; will  reverse this behaviour.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Examples&lt;/b&gt;&lt;/p&gt; &lt;p&gt;Escaping control characters:&lt;/p&gt; &lt;pre&gt;@echo off&lt;br&gt;setlocal&lt;br&gt;Set _html=Hello^&amp;gt;World&lt;br&gt;Echo %_html%&lt;/pre&gt; &lt;p&gt; In the above, the Echo command will create a text file called  &amp;#39;world&amp;#39; - not quite what we wanted! This is because the &amp;#39;^&amp;#39; caret works  once for the SET command, but then vanishes.&lt;br&gt; If we now try the same thing with &lt;span class="telety"&gt;EnableDelayedExpansion&lt;/span&gt;,  the caret works all the way through the script:&lt;/p&gt; &lt;p&gt;&lt;span class="code"&gt;SETLOCAL EnableDelayedExpansion&lt;br&gt; Set _html=^&amp;lt;title^&amp;gt;Hello world ^&amp;lt;/title^&amp;gt;&lt;br&gt; Echo !_html!&lt;br&gt; &lt;/span&gt;&amp;lt;title&amp;gt;Hello world &amp;lt;/title&amp;gt;&lt;/p&gt; &lt;p&gt;With delayed expansion the caret ^ escapes each special character &lt;b&gt;all  the time, &lt;/b&gt;not just for one command.&lt;br&gt; This makes it possible to work with HTML and XML formatted strings in a  variable.&lt;/p&gt; &lt;p&gt;Delayed  variable expansion has a slightly different effect when  working with Loops.&lt;br&gt; This is the default behaviour of a FOR loop:&lt;/p&gt; &lt;pre&gt;@echo off&lt;br&gt;setlocal&lt;br&gt;:: count to 5 storing the results in a variable&lt;br&gt;set _tst=0&lt;br&gt;FOR /l %%G in (1,1,5) Do (echo [%_tst%] &amp;amp; set /a _tst+=1)&lt;br&gt;echo Total = %_tst%&lt;br&gt;&lt;br&gt;C:\&amp;gt;demo_batch.cmd&lt;br&gt;[0]&lt;br&gt;[0]&lt;br&gt;  [0]&lt;br&gt;[0]&lt;br&gt;[0]&lt;br&gt;Total = 5&lt;/pre&gt; &lt;p&gt;Notice that  when the FOR loop finishes we get the correct total, so  the variable correctly increments,  but during each iteration of the  loop&lt;br&gt; the variable is stuck at it&amp;#39;s initial value of 0 &lt;/p&gt; &lt;p&gt;The same script with &lt;b&gt;EnableDelayedExpansion&lt;/b&gt;, gives the same  final result but also displays the intermediate values:&lt;/p&gt; &lt;pre&gt;@echo off&lt;br&gt;setlocal EnableDelayedExpansion &lt;br&gt;:: count to 5 storing the results in a variable&lt;br&gt;set _tst=0&lt;br&gt;FOR /l %%G in (1,1,5) Do (echo [!_tst!] &amp;amp; set /a _tst+=1)&lt;br&gt;echo Total = !_tst!&lt;br&gt;C:\&amp;gt;demo_batch.cmd&lt;br&gt;  [0]&lt;br&gt;[1]&lt;br&gt;[2]&lt;br&gt;[3]&lt;br&gt;[4]&lt;br&gt;Total = 5&lt;/pre&gt; &lt;p&gt;Notice that instead of &lt;span class="telety"&gt;%variable%&lt;/span&gt; we use &lt;span class="telety"&gt;!variable!&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Example of &lt;a href="http://ss64.com/nt/syntax-replace.html"&gt;replacing&lt;/a&gt;  one variable with values from  another:&lt;/p&gt; &lt;pre&gt;@echo off&lt;br&gt;setlocal EnableDelayedExpansion&lt;br&gt;Set var1=Hello ABC how are you&lt;br&gt;Set var2=ABC&lt;br&gt;Set result=!var1:%var2%=Beautiful!&lt;br&gt;Echo [!result!]&lt;/pre&gt; &lt;p&gt;An alternative method for achieving the above is &lt;a href="http://ss64.com/nt/call.html#advanced"&gt;CALL SET&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;EnableDelayedExpansion&lt;/i&gt; is Disabled by default.&lt;br&gt; &lt;i&gt;EnableDelayedExpansion&lt;/i&gt; may also be enabled by starting &lt;a href="http://ss64.com/nt/cmd.html"&gt;CMD&lt;/a&gt; with the /v switch.&lt;/p&gt; &lt;p&gt;&lt;i&gt;EnableDelayedExpansion&lt;/i&gt; can also be set in the registry:&lt;/p&gt; &lt;p&gt;&lt;span class="code"&gt;[HKEY_LOCAL_MACHINE\Software\Microsoft\Command  Processor]&lt;br&gt; &lt;/span&gt;&lt;span class="code"&gt;&amp;quot;DelayedExpansion&amp;quot;= &lt;/span&gt;(REG_DWORD)&lt;br&gt;  &lt;span class="code"&gt;1&lt;/span&gt;=enabled &lt;span class="code"&gt;0&lt;/span&gt;=disabled  (default) &lt;/p&gt; &lt;p&gt;&lt;b&gt;Overloading a variable&lt;/b&gt;&lt;br&gt;   &lt;br&gt;   SETLOCAL can be used more than once in the same batch file so that  multiple    values can be stored in one Environment Variable.&lt;br&gt;   &lt;br&gt;   &lt;span class="code"&gt;@echo off &lt;br&gt;   SETLOCAL&lt;br&gt;   ::Standard commission&lt;br&gt;   SET _Commission=20 &lt;br&gt;   echo %_Commission% &lt;br&gt;   &lt;br&gt; ::Premium commission&lt;br&gt;   SETLOCAL &lt;br&gt;   set _Commission=30&lt;br&gt;   echo %_Commission% &lt;br&gt;   &lt;br&gt;   ::back to Standard commission&lt;br&gt; ENDLOCAL&lt;br&gt;   echo %_Commission% &lt;/span&gt;&lt;br&gt;   &lt;br&gt; &lt;b&gt;DISABLEEXTENSIONS&lt;/b&gt;&lt;/p&gt; &lt;p&gt;Command Extensions are enabled by default, DisableExtensions will  attempt to disable &lt;a href="http://ss64.com/nt/cmd.html"&gt;Command&lt;/a&gt;  extensions.    (ENABLEEXTENSIONS - will attempt to re-enable)&lt;br&gt;   &lt;br&gt;   SETLOCAL will set an ERRORLEVEL if given an argument. It will be zero  if one    of the two valid arguments   is given and one otherwise. &lt;br&gt;   &lt;br&gt;   You can use this in a batch file to determine if command extensions  are available,    using the following technique: &lt;/p&gt; &lt;pre&gt;   VERIFY errors 2&amp;gt;nul&lt;br&gt;   SETLOCAL ENABLEEXTENSIONS&lt;br&gt;   IF ERRORLEVEL 1 echo Unable to enable extensions&lt;/pre&gt; &lt;p&gt; This works because &amp;quot;VERIFY errors&amp;quot; sets ERRORLEVEL    to 1 and then the SETLOCAL will fail to reset the ERRORLEVEL value if  extensions    are not available (e.g. if the script is running under &lt;a href="http://command.com"&gt;command.com&lt;/a&gt;)&lt;br&gt;   &lt;br&gt;   If &lt;a href="http://ss64.com/nt/cmd.html"&gt;Command Extensions&lt;/a&gt; are  permanently disabled then SETLOCAL    ENABLEEXTENSIONS will not restore them. &lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Source : &lt;a href="http://ss64.com/nt/setlocal.html"&gt;http://ss64.com/nt/setlocal.html&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-2806083280252963505?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/UKbqeF5nGIw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/2806083280252963505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2010/01/setlocal-in-windows-batch-file.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2806083280252963505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2806083280252963505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/UKbqeF5nGIw/setlocal-in-windows-batch-file.html" title="SETLOCAL in a windows batch file" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2010/01/setlocal-in-windows-batch-file.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYFRnc5fip7ImA9WxBTGEs.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-6671063780291788325</id><published>2009-12-15T14:21:00.001+05:30</published><updated>2009-12-15T14:21:57.926+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-15T14:21:57.926+05:30</app:edited><title>Pick colors for your UI</title><content type="html">http://www.tayloredmktg.com/rgb/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-6671063780291788325?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/agjfgp2a12E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/6671063780291788325/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/12/pick-colors-for-your-ui.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/6671063780291788325?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/6671063780291788325?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/agjfgp2a12E/pick-colors-for-your-ui.html" title="Pick colors for your UI" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/12/pick-colors-for-your-ui.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08ESHg5fCp7ImA9WxNaGUQ.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-4538260039752483895</id><published>2009-12-05T12:19:00.000+05:30</published><updated>2009-12-05T12:20:09.624+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-05T12:20:09.624+05:30</app:edited><title>Finding the number of days of each weekday in a duration</title><content type="html">&lt;div&gt;&lt;div&gt;import java.util.Date;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;public class DaysOfWeek {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;public static void main(String[] args) {&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;Date startDate=new Date(2009,12,4);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;Date endDate=new Date(2009,12,13);&lt;/div&gt;&lt;div&gt; &lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;long[] dayArray=getWeekDays(startDate, endDate);&lt;/div&gt; &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;for (int i = 0; i &amp;lt; dayArray.length; i++) {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;			&lt;/span&gt;System.out.println(dayArray[i]);&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;private static long[] getWeekDays(Date startDate, Date endDate) {&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;long[] dayArray=new long[7];&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;long numberOfDays=diffInDays(startDate,endDate);&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;System.out.println(&amp;quot;Number Of Days =&amp;quot;+numberOfDays);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;long numberOfWeeks=numberOfDays/7;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;System.out.println(&amp;quot;Number Of Weeks =&amp;quot;+numberOfWeeks);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;for (int i = 0; i &amp;lt; dayArray.length; i++) {&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;			&lt;/span&gt;dayArray[i]=numberOfWeeks;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;int startDay=startDate.getDay();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;int endDay=endDate.getDay();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;for(int i=startDay;i!=(endDay+1)%7;i=(i+1)%7)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;			&lt;/span&gt;dayArray[i]=dayArray[i]+1;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;return dayArray;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;private static long diffInDays(Date startDate,Date endDate) {&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;		&lt;/span&gt;return (endDate.getTime()-startDate.getTime()+(1000*24*60*60))/(1000*24*60*60);&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;}&lt;/div&gt;  &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-4538260039752483895?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/87AkyK1Otns" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/4538260039752483895/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/12/finding-number-of-days-of-each-weekday.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4538260039752483895?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4538260039752483895?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/87AkyK1Otns/finding-number-of-days-of-each-weekday.html" title="Finding the number of days of each weekday in a duration" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/12/finding-number-of-days-of-each-weekday.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UGSXc8fyp7ImA9WxNaF0k.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-7968264729817376965</id><published>2009-12-02T15:45:00.002+05:30</published><updated>2009-12-02T15:50:28.977+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-02T15:50:28.977+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="list" /><title /><content type="html">&lt;div class="snap_preview"&gt;&lt;p&gt;Two ways to build a list/array in javascript&lt;br /&gt;&lt;/p&gt; &lt;p&gt;1. object literals&lt;br /&gt;&lt;/p&gt;&lt;p&gt;var obj = new Object();&lt;/p&gt;&lt;p&gt;obj["id4"] = {name:”deepak”, id:”123-456-789″};&lt;/p&gt;&lt;p&gt;In this case it’s not easy to figure out how many objects are within the current list.&lt;/p&gt; &lt;p&gt;2. array literals&lt;/p&gt;var arr = new Array(); &lt;p&gt;arr[0] = {name:”deepak”, id:”123-456-789″};&lt;/p&gt; &lt;p&gt;arr[1] = {name:”Ashok”, id:”987-654-321″};&lt;/p&gt;&lt;p&gt;//arr.length will be 2.&lt;br /&gt;It’s easy traverse the array list by index number and to figure out how many objects are really inside the list&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-7968264729817376965?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/flcZbMatWNE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/7968264729817376965/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/12/two-ways-to-build-listarray-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7968264729817376965?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7968264729817376965?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/flcZbMatWNE/two-ways-to-build-listarray-in.html" title="" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/12/two-ways-to-build-listarray-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEINQn4yeCp7ImA9WxNbGE8.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-4480749785266452289</id><published>2009-11-21T23:32:00.000+05:30</published><updated>2009-11-21T23:33:13.090+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-21T23:33:13.090+05:30</app:edited><title>Bypass/Delete browser Cache</title><content type="html">&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "&gt;&lt;h3 style="color: black; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; font-size: 17px; "&gt;  &lt;a href="http://en.wikipedia.org/wiki/Mozilla" title="Mozilla" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Mozilla&lt;/a&gt; family&lt;/h3&gt;  &lt;p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; "&gt;This includes &lt;a href="http://en.wikipedia.org/wiki/Mozilla_Firefox" title="Mozilla Firefox" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Firefox&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Netscape_Navigator" title="Netscape Navigator" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Netscape Navigator&lt;/a&gt; (versions 6.x and 7.x) and &lt;a href="http://en.wikipedia.org/wiki/SeaMonkey" title="SeaMonkey" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;SeaMonkey&lt;/a&gt;.&lt;/p&gt;  &lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To reload a page and bypass the cache&lt;/b&gt;:&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;i&gt;either:&lt;/i&gt; Hold down both the &lt;i&gt;Ctrl&lt;/i&gt; and &lt;i&gt;Shift&lt;/i&gt; keys and then press &lt;i&gt;R&lt;/i&gt;. (Alternatively, hold down the &lt;i&gt;Ctrl&lt;/i&gt; key and then press &lt;i&gt;F5&lt;/i&gt;.) On a Mac, use the &lt;i&gt;Command&lt;/i&gt; key instead of &lt;i&gt;Ctrl&lt;/i&gt;.&lt;/li&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;i&gt;or:&lt;/i&gt; Hold down the &lt;i&gt;Shift&lt;/i&gt; key and click the &lt;i&gt;Reload&lt;/i&gt; button on the navigation toolbar.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To completely clear the cache&lt;/b&gt; (see note above):&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;From the &amp;#39;Edit&amp;#39; or &amp;#39;Tools&amp;#39; menu, choose &amp;#39;Preferences&amp;#39; or &amp;#39;Options&amp;#39;. Expand the &amp;#39;Advanced&amp;#39; options and choose &amp;#39;Cache&amp;#39; or &amp;#39;Privacy&amp;#39;. Click the button called &amp;#39;Clear Cache&amp;#39;.&lt;/li&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;In newer versions of &lt;a href="http://en.wikipedia.org/wiki/Mozilla_Firefox" title="Mozilla Firefox" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Mozilla Firefox&lt;/a&gt;, you can easily clear the cache, history and cookies: Hold down the &lt;i&gt;Ctrl&lt;/i&gt; and &lt;i&gt;Shift&lt;/i&gt; keys, and press &lt;i&gt;Delete&lt;/i&gt; (or &lt;i&gt;Del&lt;/i&gt;), then choose what you want to remove. Or from the &amp;#39;Tools&amp;#39; menu, select &amp;#39;Clear Recent History&amp;#39;.&lt;/li&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;For older versions of &lt;a href="http://en.wikipedia.org/wiki/Mozilla_Firefox" title="Mozilla Firefox" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Mozilla Firefox&lt;/a&gt;, go to &amp;#39;Tools&amp;#39; → &amp;#39;Options&amp;#39; and click on &amp;#39;Privacy&amp;#39; (picture of a key) in the sidebar of the window that pops up. Click the &amp;#39;Clear&amp;#39; button that is next to the word &amp;#39;Cache&amp;#39;.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To disable caching&lt;/b&gt; (only do this if you are reasonably confident in what you are doing):&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;For Firefox&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Choose &lt;i&gt;Tools&lt;/i&gt; | &lt;i&gt;Options...&lt;/i&gt; (or &lt;i&gt;Edit&lt;/i&gt; | &lt;i&gt;Preferences&lt;/i&gt; in the Linux version)&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Choose &lt;i&gt;Advanced&lt;/i&gt; at the top&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;  Choose the &lt;i&gt;Network&lt;/i&gt; tab&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Change the cache size to 0 (zero).&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;For SeaMonkey&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Choose &lt;i&gt;Edit&lt;/i&gt; | &lt;i&gt;Preferences...&lt;/i&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Expand the &lt;i&gt;Advanced&lt;/i&gt; item near the left bottom&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Choose &lt;i&gt;Cache&lt;/i&gt; item&lt;/li&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Change the &lt;i&gt;Size&lt;/i&gt; value to 0 (zero).&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; "&gt;FireFox has memory caching, which might also need to be considered when troubleshooting cache-related issues.&lt;/p&gt;  &lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;In the address bar, enter &amp;#39;about:config&amp;#39;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Filter the configurations options by entering &amp;#39;cache&amp;#39; in the filter at the top&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;  Change browser.cache.memory.enable to FALSE&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Source: &lt;a href="http://en.wikipedia.org/wiki/Bypass_your_cache"&gt;http://en.wikipedia.org/wiki/Bypass_your_cache&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style="color: black; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; font-size: 17px; background-position: initial initial; background-repeat: initial initial; "&gt;  &lt;span class="mw-headline" id="Internet_Explorer"&gt;&lt;a href="http://en.wikipedia.org/wiki/Internet_Explorer" title="Internet Explorer" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Internet Explorer&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To reload a page and bypass the cache&lt;/b&gt;:&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;i&gt;either:&lt;/i&gt; Hold the &lt;i&gt;Ctrl&lt;/i&gt; key, and press &lt;i&gt;F5&lt;/i&gt;.&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;i&gt;or:&lt;/i&gt; Hold the &lt;i&gt;Ctrl&lt;/i&gt; key, and click the &lt;i&gt;Refresh&lt;/i&gt; button on the Start bar.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To completely clear the cache&lt;/b&gt; (see note above):&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;a href="http://en.wikipedia.org/wiki/Internet_Explorer_8" title="Internet Explorer 8" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Internet Explorer 8&lt;/a&gt;&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Click "Safety" and select &amp;quot;Delete Browsing History&amp;quot;, make sure &amp;quot;Temporary Internet Files&amp;quot; and &amp;quot;History&amp;quot; is checked, then click &amp;quot;Delete&amp;quot;. If you want, you can also opt to delete cookies.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;a href="http://en.wikipedia.org/wiki/Internet_Explorer_7" title="Internet Explorer 7" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Internet Explorer 7&lt;/a&gt;&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Click "Tools" and select &amp;quot;Internet Options&amp;quot;, choose the &amp;quot;General&amp;quot; tab and click &amp;quot;Delete Files&amp;quot; under the &lt;i&gt;Temporary Internet Files&lt;/i&gt; section. If you want, you can also opt to delete cookies and browsing history.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Older versions&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Click on &amp;#39;Tools&amp;#39; and then &amp;#39;Internet Options&amp;#39; and choose the &amp;#39;General&amp;#39; tab. Then click on &amp;quot;Delete...&amp;quot; under &amp;quot;Browsing history&amp;quot;. In the &amp;#39;Temporary Internet files&amp;#39; section, click &amp;#39;Delete Files...&amp;#39;. You will then get a dialogue box asking if you want to delete just the temporary files, or all offline content. Choose the latter and click &amp;#39;OK&amp;#39;.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To change cache settings&lt;/b&gt; (only do this if you are reasonably confident of what you are doing):&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Selecting &amp;#39;Tools&amp;#39; → &amp;#39;Internet Options&amp;#39; → &amp;#39;Temporary Internet files&amp;#39; → &amp;#39;Settings...&amp;#39; allows you to make advanced configuration changes to the cache.&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;There is an option labeled &lt;i&gt;&amp;quot;Check for a new version of stored pages:&amp;quot;&lt;/i&gt; This does &lt;i&gt;not&lt;/i&gt; bypass the cache, it merely determines how often the browser asks if there is a newer version available.&lt;/li&gt;  &lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style="color: black; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; font-size: 17px; background-position: initial initial; background-repeat: initial initial; "&gt;  &lt;span class="mw-headline" id="Google_Chrome"&gt;&lt;a href="http://en.wikipedia.org/wiki/Google_Chrome" title="Google Chrome" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "&gt;Google Chrome&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;&lt;b&gt;To clear the cache&lt;/b&gt;:&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;  &lt;li style="margin-bottom: 0.1em; "&gt;Go to the &lt;i&gt;&lt;b&gt;Tools&lt;/b&gt;&lt;/i&gt; menu (the wrench on the upper right of the browser) Click on &lt;i&gt;&lt;b&gt;Options&lt;/b&gt;&lt;/i&gt; and click on &lt;i&gt;&lt;b&gt;Clear browsing data...&lt;/b&gt;&lt;/i&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;  Select the types of data you want to clear&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;On the &lt;b&gt;Clear data from this period:&lt;/b&gt; drop-down list, select one of the following:&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;dl style="margin-top: 0.2em; margin-bottom: 0.5em; "&gt;  &lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;dl style="margin-top: 0.2em; margin-bottom: 0.5em; "&gt;&lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;dl style="margin-top: 0.2em; margin-bottom: 0.5em; "&gt;  &lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;b&gt;Everything&lt;/b&gt; to clear &lt;i&gt;all&lt;/i&gt; the data you selected;&lt;/dd&gt;&lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;b&gt;Last day&lt;/b&gt; to clear the data only from the last day;&lt;/dd&gt;  &lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;b&gt;Last week&lt;/b&gt; to clear the data only from the last week; or&lt;/dd&gt;&lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;b&gt;Last 4 weeks&lt;/b&gt; to clear the data only from the last 4 weeks.&lt;/dd&gt;  &lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;br&gt;&lt;/dd&gt;&lt;dd style="line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; "&gt;&lt;br&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-4480749785266452289?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/cI76EryKv-8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/4480749785266452289/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/11/bypassdelete-browser-cache.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4480749785266452289?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4480749785266452289?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/cI76EryKv-8/bypassdelete-browser-cache.html" title="Bypass/Delete browser Cache" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/11/bypassdelete-browser-cache.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4GQXc9eip7ImA9WxNbFU8.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-2075748940189380496</id><published>2009-11-13T18:22:00.002+05:30</published><updated>2009-11-18T11:12:00.962+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-18T11:12:00.962+05:30</app:edited><title>Java performance analysis</title><content type="html">&lt;a href="http://kohlerm.blogspot.com/"&gt;Java Performance Blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.yourkit.com/docs/kb/sizes.jsp"&gt;JVM Memory Structure&lt;/a&gt; plus other bunch on docs on yourkit.com&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javamex.com/tutorials/memory/object_memory_usage.shtml"&gt;Memory usage of Java objects&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javamex.com/tutorials/memory/string_buffer_memory_usage.shtml"&gt;Memory usage of Java Strings and string-related objects&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javamex.com/tutorials/memory/string_saving_memory.shtml"&gt;How to save memory occupied by Java strings&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-2075748940189380496?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/ZFYVJxH_-R0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/2075748940189380496/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/11/java-performance-analysis.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2075748940189380496?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2075748940189380496?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/ZFYVJxH_-R0/java-performance-analysis.html" title="Java performance analysis" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/11/java-performance-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YGRXg7eyp7ImA9WxNUGUo.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-2628930651106222130</id><published>2009-11-12T03:01:00.000+05:30</published><updated>2009-11-12T03:02:04.603+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-12T03:02:04.603+05:30</app:edited><title>Getting VNC working with GUI in Linux</title><content type="html">Note: You will have to have root credentials&lt;br&gt;&lt;br&gt;1. First login to the Linux machine using some command line client say putty(SSH)&lt;br&gt;2. Start the VNC Server as a service&lt;br&gt;     service vncserver start&lt;br&gt;3. Issue the command &lt;br&gt;       vncserver&lt;br&gt;&lt;br&gt;Having done the above steps you will see a command line interface, no GNOME/KDE..&lt;br&gt;&lt;br&gt;To get that started as soon as you login using vnc&lt;br&gt;&lt;br&gt;1. Goto root using &lt;br&gt;             cd /root&lt;br&gt;2. Go to VNC Settings folder .vnc&lt;br&gt;             cd .vnc&lt;br&gt;3. Open the xstartup file for editing&lt;br&gt;           vi xstartup&lt;br&gt;4. Now add the line &amp;quot;startx &amp;amp;&amp;quot; to the end of the file if you want to start GNOME or &amp;quot;startkde &amp;amp;&amp;quot; if you want to use KDE environment at startup.&lt;br&gt;  &lt;br&gt;Now when you login using a VNC client you will see GNOME/KDE getting launched automatically.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-2628930651106222130?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/V0A16w-SmM4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/2628930651106222130/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/11/getting-vnc-working-with-gui-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2628930651106222130?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/2628930651106222130?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/V0A16w-SmM4/getting-vnc-working-with-gui-in-linux.html" title="Getting VNC working with GUI in Linux" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/11/getting-vnc-working-with-gui-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8ERX06fip7ImA9WxNUE0s.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-8877751511912915280</id><published>2009-11-05T00:23:00.001+05:30</published><updated>2009-11-05T00:23:24.316+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T00:23:24.316+05:30</app:edited><title>Is Firefox sluggish?</title><content type="html">If you have ever felt that firefox is being sluggish, then do the following...&lt;br&gt;&lt;br&gt;Disabling unwanted plugins &amp;amp; Addons:&lt;br&gt;1. Goto Tools-&amp;gt;Addons&lt;br&gt;2. Go to Plugins tab.&lt;br&gt;3. You will find a quite a few plugins that you are never/rarely going to use. Most of the plugins get installed as part of some software installs and they are totally unnecessary. Disable the plugins that you don&amp;#39;t use.&lt;br&gt;  4. Go to Extensions tab&lt;br&gt;5. Disable the extensions you don&amp;#39;t generally use.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-8877751511912915280?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/xCeqZrwK9YY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/8877751511912915280/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/11/is-firefox-sluggish.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8877751511912915280?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8877751511912915280?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/xCeqZrwK9YY/is-firefox-sluggish.html" title="Is Firefox sluggish?" /><author><name>Ashok Pon Kumar</name><uri>https://profiles.google.com/116929498482168171172</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-E5KN8Qm2MtE/AAAAAAAAAAI/AAAAAAAAEaY/80tmGNHriIs/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/11/is-firefox-sluggish.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QHSHk5cCp7ImA9WxNQGEs.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-5773714877230152498</id><published>2009-09-25T13:24:00.002+05:30</published><updated>2009-09-25T13:25:39.728+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-25T13:25:39.728+05:30</app:edited><title>Alternative to commenting out code</title><content type="html">if (0 == 1) {...}&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;   boolean enable = 0 == 1;&lt;br /&gt;   if (enable) {...}&lt;br /&gt;&lt;br /&gt;The advantage of "0 == 1" instead of commenting out the code is that you don't have  to fix the imports, local variables etc plus it's only a single character change.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-5773714877230152498?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/7lRQTuqVJ1A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/5773714877230152498/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/09/alternative-to-commenting-out-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5773714877230152498?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/5773714877230152498?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/7lRQTuqVJ1A/alternative-to-commenting-out-code.html" title="Alternative to commenting out code" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/09/alternative-to-commenting-out-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYAR3Yzeip7ImA9WxNREUk.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-4522094789795016857</id><published>2009-09-05T16:24:00.001+05:30</published><updated>2009-09-05T16:25:46.882+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T16:25:46.882+05:30</app:edited><title>Cognos Knowledge base</title><content type="html">&lt;a href="http://www-01.ibm.com/software/data/cognos/customercenter/"&gt;Cognos knowledge base, documentation etc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;http://www-01.ibm.com/software/data/cognos/customercenter/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-4522094789795016857?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/aTFIA3t211o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/4522094789795016857/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/09/cognos-knowledge-base.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4522094789795016857?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/4522094789795016857?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/aTFIA3t211o/cognos-knowledge-base.html" title="Cognos Knowledge base" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/09/cognos-knowledge-base.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcFRnk6fip7ImA9WxNSGE8.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-7609900955877537226</id><published>2009-09-01T22:55:00.001+05:30</published><updated>2009-09-01T22:56:57.716+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-01T22:56:57.716+05:30</app:edited><title>Many to Many relationships in Data warehouse</title><content type="html">For dealing with Many to Many relationships in Data warehouse,  see Complete guide to dimensional modeling by Ralph Kimball - 2nd edition pg 262 (Multivalued Diagnosis Dimension)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-7609900955877537226?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/KLFSb9shvG4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/7609900955877537226/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/09/many-to-many-relationships-in-data.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7609900955877537226?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/7609900955877537226?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/KLFSb9shvG4/many-to-many-relationships-in-data.html" title="Many to Many relationships in Data warehouse" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/09/many-to-many-relationships-in-data.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cDQ3s9fyp7ImA9WxNSGE0.&quot;"><id>tag:blogger.com,1999:blog-6697813441144001386.post-8755126632139490086</id><published>2009-09-01T15:57:00.002+05:30</published><updated>2009-09-01T16:01:12.567+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-01T16:01:12.567+05:30</app:edited><title>Multi level multi parent hierarchy in data warehouse</title><content type="html">For multi level multi parent hierarchies, see Complete guide to dimensional modeling by Ralph Kimball - 2nd edition pg 162&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6697813441144001386-8755126632139490086?l=letmehelpyougeeks.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/qXEa/~4/f-bdW4tQinA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://letmehelpyougeeks.blogspot.com/feeds/8755126632139490086/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://letmehelpyougeeks.blogspot.com/2009/09/multi-level-multi-parent-hierarchy-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8755126632139490086?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6697813441144001386/posts/default/8755126632139490086?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/qXEa/~3/f-bdW4tQinA/multi-level-multi-parent-hierarchy-in.html" title="Multi level multi parent hierarchy in data warehouse" /><author><name>Deepak Azad</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-ym25D2t_fhk/AAAAAAAAAAI/AAAAAAAAAAA/Y9RL7q9LaU8/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://letmehelpyougeeks.blogspot.com/2009/09/multi-level-multi-parent-hierarchy-in.html</feedburner:origLink></entry></feed>

