<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dreams of Thought &#187; technology</title>
	<atom:link href="http://gingerjoos.com/blog/category/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://gingerjoos.com/blog</link>
	<description>Are dreams thoughts... or are thoughts dreams..</description>
	<lastBuildDate>Sun, 18 Jul 2010 13:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How I recovered my Thunderbird mail from backup</title>
		<link>http://gingerjoos.com/blog/technology/how-i-recovered-my-thunderbird-mail-from-backup</link>
		<comments>http://gingerjoos.com/blog/technology/how-i-recovered-my-thunderbird-mail-from-backup#comments</comments>
		<pubDate>Tue, 02 Feb 2010 11:34:13 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=258</guid>
		<description><![CDATA[So the best way to backup your mails from Thunderbird is to copy your complete profile directory. Follow these steps for restoring your mail. The fool that I am, instead of copying the full profile directory I ended up backing up just the Mail subdirectory in the profile directory. It took me a while to [...]


Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/computer-security/hoax-mail-from-microsoft' rel='bookmark' title='Permanent Link: Hoax mail from &#8220;Microsoft&#8221;'>Hoax mail from &#8220;Microsoft&#8221;</a></li>
<li><a href='http://gingerjoos.com/blog/linux/copying-files-from-one-unix-box-to-another-with-scp' rel='bookmark' title='Permanent Link: Copying files from one unix box to another with scp'>Copying files from one unix box to another with scp</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So the best way to backup your mails from Thunderbird is to <a href="http://www.mozilla.org/support/thunderbird/profile#backup">copy your complete profile directory</a>. Follow these steps for <a href="http://www.mozilla.org/support/thunderbird/profile#move">restoring your mail</a>.</p>
<p>The fool that I am, instead of copying the full profile directory I ended up backing up just the Mail subdirectory in the profile directory. It took me a while to figure out how to restore the backup, so I thought I would share it with you.</p>
<p>The first thing you do is install Thunderbird (if you haven&#8217;t already). Now Run( Windows : Start-&gt;Run or press Win key+r ; Mac/Linux &#8211; you&#8217;re smart enough to know <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ) this command &#8220;thunderbird.exe -profilemanager&#8221;. Create a dummy profile &#8211; just have some dummy email address in there. Now exit Thunderbird.</p>
<p>Next step is to <a href="http://www.mozilla.org/support/thunderbird/profile#locate">find your newly created profile directory</a>. Locate the Mail directory in there. Now you have to copy 2 files from your backup &#8211; both have the same name. One has a .msf extension and the other has no extension. I had created a separate thunderbird mail folder with a filter and I needed to backup just that one alone. So I just copied those 2 files (from the Inbox.sbd directory) and put them in the Local Folders subdirectory in the Mail directory (which already had empty files like Trash and Trash.msf).</p>
<p>The file without extension &#8211; this is the actual mail file. It&#8217;s in the <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> format. The other is an index file.</p>
<p><strong>Acknowledgements :</strong></p>
<p>I posted a <a href="http://vark.com/t/eee11d">question on Aardvark</a> &#8211; <a href="http://vark.com/t/eee11d">http://vark.com/t/eee11d</a>. I got replies from Shel and Moez. I would like to thank both of them for helping me out.</p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/computer-security/hoax-mail-from-microsoft' rel='bookmark' title='Permanent Link: Hoax mail from &#8220;Microsoft&#8221;'>Hoax mail from &#8220;Microsoft&#8221;</a></li>
<li><a href='http://gingerjoos.com/blog/linux/copying-files-from-one-unix-box-to-another-with-scp' rel='bookmark' title='Permanent Link: Copying files from one unix box to another with scp'>Copying files from one unix box to another with scp</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/technology/how-i-recovered-my-thunderbird-mail-from-backup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparison of Google Public DNS and Open DNS response</title>
		<link>http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response</link>
		<comments>http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response#comments</comments>
		<pubDate>Sat, 05 Dec 2009 07:33:53 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[opendns]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=201</guid>
		<description><![CDATA[Google announced that it&#8217;s making 2 DNS servers available publicly. The servers are 8.8.8.8 and 8.8.4.4 . They&#8217;ve also given configuration instructions on their DNS page. I configured my /etc/resolv.conf to refer to Google&#8217;s DNS. Before this I ran some quick tests using dig to compare it with OpenDNS. &#60;br /&#62; $ dig @208.67.222.222 gingerjoos.com&#60;/p&#62; [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2009/12/introducing-google-public-dns.html">Google announced</a> that it&#8217;s making 2 <a href="http://code.google.com/speed/public-dns/">DNS servers available publicly</a>. The servers are 8.8.8.8 and 8.8.4.4 . They&#8217;ve also given<a href="http://code.google.com/speed/public-dns/docs/using.html"> configuration instructions</a> on their DNS page. I configured my /etc/resolv.conf to refer to Google&#8217;s DNS. Before this I ran some quick tests using <a href="http://linux.die.net/man/1/dig">dig</a> to compare it with <a href="http://www.opendns.com/">OpenDNS</a>.<br />
<pre class="brush: text">&lt;br /&gt;
$ dig @208.67.222.222 gingerjoos.com&lt;/p&gt;
&lt;p&gt;; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; @208.67.222.222 gingerjoos.com&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options:  printcmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 1273&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0&lt;/p&gt;
&lt;p&gt;;; QUESTION SECTION:&lt;br /&gt;
;gingerjoos.com.                        IN      A&lt;/p&gt;
&lt;p&gt;;; ANSWER SECTION:&lt;br /&gt;
gingerjoos.com.         14400   IN      A       208.113.199.196&lt;/p&gt;
&lt;p&gt;;; Query time: 751 msec&lt;br /&gt;
;; SERVER: 208.67.222.222#53(208.67.222.222)&lt;br /&gt;
;; WHEN: Fri Dec  4 09:13:58 2009&lt;br /&gt;
;; MSG SIZE  rcvd: 48&lt;/p&gt;
&lt;p&gt;$ dig @8.8.8.8 gingerjoos.com&lt;/p&gt;
&lt;p&gt;; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; @8.8.8.8 gingerjoos.com&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options:  printcmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 2594&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0&lt;/p&gt;
&lt;p&gt;;; QUESTION SECTION:&lt;br /&gt;
;gingerjoos.com.                        IN      A&lt;/p&gt;
&lt;p&gt;;; ANSWER SECTION:&lt;br /&gt;
gingerjoos.com.         14400   IN      A       208.113.199.196&lt;/p&gt;
&lt;p&gt;;; Query time: 616 msec&lt;br /&gt;
;; SERVER: 8.8.8.8#53(8.8.8.8)&lt;br /&gt;
;; WHEN: Fri Dec  4 09:14:09 2009&lt;br /&gt;
;; MSG SIZE  rcvd: 48&lt;/p&gt;
&lt;p&gt;$ dig @8.8.4.4 gingerjoos.com&lt;/p&gt;
&lt;p&gt;; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; @8.8.4.4 gingerjoos.com&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options:  printcmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 34741&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0&lt;/p&gt;
&lt;p&gt;;; QUESTION SECTION:&lt;br /&gt;
;gingerjoos.com.                        IN      A&lt;/p&gt;
&lt;p&gt;;; ANSWER SECTION:&lt;br /&gt;
gingerjoos.com.         14321   IN      A       208.113.199.196&lt;/p&gt;
&lt;p&gt;;; Query time: 123 msec&lt;br /&gt;
;; SERVER: 8.8.4.4#53(8.8.4.4)&lt;br /&gt;
;; WHEN: Fri Dec  4 09:15:28 2009&lt;br /&gt;
;; MSG SIZE  rcvd: 48&lt;br /&gt;
</pre></p>
<p>Dig allows you to directly query a DNS server and get its reply. It shows stats from that query &#8211; response. The stat we&#8217;re interested in is this one</p>
<p><strong>;; Query time: 123 msec</strong></p>
<p>The IP 208.67.222.222 is the address of the OpenDNS server. Let&#8217;s try one more query</p>
<p><pre class="brush: text">&lt;/p&gt;
&lt;p&gt;$ dig @208.67.222.222 mec.ac.in&lt;/p&gt;
&lt;p&gt;; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; @208.67.222.222 mec.ac.in&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options:  printcmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 44308&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0&lt;/p&gt;
&lt;p&gt;;; QUESTION SECTION:&lt;br /&gt;
;mec.ac.in.                     IN      A&lt;/p&gt;
&lt;p&gt;;; ANSWER SECTION:&lt;br /&gt;
mec.ac.in.              604800  IN      A       210.212.232.132&lt;/p&gt;
&lt;p&gt;;; Query time: 389 msec&lt;br /&gt;
;; SERVER: 208.67.222.222#53(208.67.222.222)&lt;br /&gt;
;; WHEN: Sat Dec  5 12:38:57 2009&lt;br /&gt;
;; MSG SIZE  rcvd: 43&lt;/p&gt;
&lt;p&gt;$ dig @8.8.8.8 mec.ac.in&lt;/p&gt;
&lt;p&gt;; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; @8.8.8.8 mec.ac.in&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options:  printcmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 56600&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0&lt;/p&gt;
&lt;p&gt;;; QUESTION SECTION:&lt;br /&gt;
;mec.ac.in.                     IN      A&lt;/p&gt;
&lt;p&gt;;; ANSWER SECTION:&lt;br /&gt;
mec.ac.in.              160448  IN      A       210.212.232.131&lt;/p&gt;
&lt;p&gt;;; Query time: 121 msec&lt;br /&gt;
;; SERVER: 8.8.8.8#53(8.8.8.8)&lt;br /&gt;
;; WHEN: Sat Dec  5 12:39:06 2009&lt;br /&gt;
;; MSG SIZE  rcvd: 43&lt;/p&gt;
&lt;p&gt;</pre></p>
<p>You can try more queries and see for yourself. At least as of now Google DNS seems to be faster.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User agent GTB or GTB5 is the Google Toolbar</title>
		<link>http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar</link>
		<comments>http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar#comments</comments>
		<pubDate>Mon, 05 Oct 2009 17:32:20 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=167</guid>
		<description><![CDATA[Was checking out this blog&#8217;s visitor stats recently when I came across this User Agent "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5".  I was wondering what GTB5 was. Some googling and testing later I found out that GTB is in fact the Google Toolbar. To compare, here&#8217;s the UA of a Firefox [...]


Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/identify-visits-from-google-real-time-search' rel='bookmark' title='Permanent Link: Identify visits from Google Real time search'>Identify visits from Google Real time search</a></li>
<li><a href='http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response' rel='bookmark' title='Permanent Link: Comparison of Google Public DNS and Open DNS response'>Comparison of Google Public DNS and Open DNS response</a></li>
<li><a href='http://gingerjoos.com/blog/technology/enabled-google-analytics' rel='bookmark' title='Permanent Link: Enabled Google Analytics'>Enabled Google Analytics</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Was checking out this blog&#8217;s visitor stats recently when I came across this User Agent <code>"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5"</code>.  I was wondering what GTB5 was. Some googling and testing later I found out that GTB is in fact the Google Toolbar. To compare, here&#8217;s the UA of a Firefox browser with Google Toolbar installed :</p>
<p><code>"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5"</code></p>
<p>And here&#8217;s another Firefox without it :</p>
<p><code>"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)"</code></p>
<p>Also, if you plan to capture the UA string in the Apache logs, make sure that feature is turned on. Your <a href="http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#logformat">LogFormat directive</a> must have something like <code>\"%{User-Agent}i\"</code> in it. For eg,</p>
<p><code>LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined</code></p>
<p>You can check the <a href="http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#formats">Apache documentation on custom log formats</a> for more info. If you&#8217;re using XAMPP/LAMPP, you might want to comment out</p>
<p><code>CustomLog logs/access_log common</code></p>
<p>line in your httpd.conf and uncomment</p>
<p><code>CustomLog logs/access_log combined</code></p>
<p>line.</p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/identify-visits-from-google-real-time-search' rel='bookmark' title='Permanent Link: Identify visits from Google Real time search'>Identify visits from Google Real time search</a></li>
<li><a href='http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response' rel='bookmark' title='Permanent Link: Comparison of Google Public DNS and Open DNS response'>Comparison of Google Public DNS and Open DNS response</a></li>
<li><a href='http://gingerjoos.com/blog/technology/enabled-google-analytics' rel='bookmark' title='Permanent Link: Enabled Google Analytics'>Enabled Google Analytics</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gingerjoos.com visitor stats on a map</title>
		<link>http://gingerjoos.com/blog/from-the-web/gingerjoos-com-visitor-stats-on-a-map</link>
		<comments>http://gingerjoos.com/blog/from-the-web/gingerjoos-com-visitor-stats-on-a-map#comments</comments>
		<pubDate>Thu, 10 Sep 2009 13:31:04 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[from the web]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[visitor counter]]></category>
		<category><![CDATA[web statistics]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=147</guid>
		<description><![CDATA[My friend Arun Prabhakar recently started playing around with some visitor stats reporting for his site. He has been gracious enough to extend the service to his friends and now the public as well(by invitation only) The service is still in beta, so occassional hiccups might occur. He&#8217;s been adding more and more tools to [...]


Related posts:<ol><li><a href='http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar' rel='bookmark' title='Permanent Link: User agent GTB or GTB5 is the Google Toolbar'>User agent GTB or GTB5 is the Google Toolbar</a></li>
<li><a href='http://gingerjoos.com/blog/from-the-web/intel-8085-microprocessor-simulator' rel='bookmark' title='Permanent Link: Intel 8085 microprocessor simulator'>Intel 8085 microprocessor simulator</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My friend Arun Prabhakar recently started playing around with some <a href="http://stats.kitiyo.com/">visitor stats reporting</a> for his site. He has been gracious enough to extend the service to his friends and now the public as well(by invitation only) <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The service is still in beta, so occassional hiccups might occur. He&#8217;s been adding more and more tools to complement the visitor count. You can check out the stats on the right sidebar of this blog. So if you want to put in a nice <a href="http://stats.kitiyo.com/">stat counter</a> for your blog or website, head over to <a href="http://stats.kitiyo.com/">http://stats.kitiyo.com/</a>.</p>
<p>He&#8217;s just completed a see-your-visitors-on-a-map feature. Here&#8217;s what it looks like for this blog.</p>
<p style="text-align: center;">
<div id="attachment_148" class="wp-caption aligncenter" style="width: 160px"><a href="http://gingerjoos.com/blog/wp-content/uploads/2009/09/kitiyo_stats_on_map.png"><img class="size-thumbnail wp-image-148 " title="visitors to gingerjoos.com blog" src="http://gingerjoos.com/blog/wp-content/uploads/2009/09/kitiyo_stats_on_map-150x150.png" alt="visitors to gingerjoos.com blog" width="150" height="150" /></a><p class="wp-caption-text">visitors to gingerjoos.com blog</p></div>
<p>He has very kindly provided a limited-time special invitation code for Gingerjoos.com visitors <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Use the invitation code <strong>iwantitbadly</strong> to sign up for the service at <a href="http://stats.kitiyo.com/">Kitiyo stats</a>.</p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar' rel='bookmark' title='Permanent Link: User agent GTB or GTB5 is the Google Toolbar'>User agent GTB or GTB5 is the Google Toolbar</a></li>
<li><a href='http://gingerjoos.com/blog/from-the-web/intel-8085-microprocessor-simulator' rel='bookmark' title='Permanent Link: Intel 8085 microprocessor simulator'>Intel 8085 microprocessor simulator</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/from-the-web/gingerjoos-com-visitor-stats-on-a-map/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copying files from one unix box to another with scp</title>
		<link>http://gingerjoos.com/blog/linux/copying-files-from-one-unix-box-to-another-with-scp</link>
		<comments>http://gingerjoos.com/blog/linux/copying-files-from-one-unix-box-to-another-with-scp#comments</comments>
		<pubDate>Fri, 31 Jul 2009 16:53:19 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[rcp]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=133</guid>
		<description><![CDATA[scp (secure copy). scp was meant to be an alternative to unsecure tools like rcp. It has since replaced most such programs. Since scp uses the ssh protocol, the encryption it uses ensures security of your data.


Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/linux/how-to-join-split-files' rel='bookmark' title='Permanent Link: How to join split files'>How to join split files</a></li>
<li><a href='http://gingerjoos.com/blog/linux/using-windows-partitions-from-debian-gnulinux' rel='bookmark' title='Permanent Link: Using Windows partitions from Debian GNU/Linux'>Using Windows partitions from Debian GNU/Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>ssh is a very powerful and widely used protocol in all the Unices. If you&#8217;ve used the ssh client in your Unix/Linux box, you must have realised how indispensable it is. There is another indispensable tool that uses the ssh protocol &#8211; scp (secure copy). scp was meant to be an alternative to unsecure tools like rcp. It has since replaced most such programs. Since scp uses the ssh protocol, the encryption it uses ensures security of your data.</p>
<p>Using scp is simple. It works almost like the regular cp command. The basic syntax is<br />
<code>scp SOURCE DESTINATION</code><br />
In order to specify the SOURCE or DESTINATION we have a special syntax.<br />
<code>USERNAME@HOST:PATH</code></p>
<p>Let me give you an example :<br />
<code>$scp anirudh@box:/var/www/html/test.html gingerjoos@linux:~/test_dir/</code><br />
Copy /var/www/html/test.html in the machine called &#8220;box&#8221; as user &#8220;anirudh&#8221; to the box called &#8220;linux&#8221; as user &#8220;gingerjoos&#8221; to the path HOMEDIR/test_dir/</p>
<p>That&#8217;s it <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Simple, right?</p>
<p>To copy the file to our localmachine, we could do this<br />
<code>$scp anirudh@box:/var/www/html/test.html ~/workarea/</code></p>
<p>This would copy the file test.html in the machine called &#8220;box&#8221; (as user anirudh) to the localmachine at path HOMEDIR/work_area/</p>
<p>Interchange the source-destination to copy file in your localmachine to the remote machine.</p>
<p>If you want to copy whole directories, use the &#8216;-r&#8217; flag(recursive copy)<br />
<code>$scp -r ~/workarea/ anirudh@box:~/workdir/</code></p>
<p>Since scp is tied to the ssh program, the keys you use to set up passwordless login with ssh works for scp as well.</p>
<p>Got questions? Got something to add to this? Post your comments below <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/linux/how-to-join-split-files' rel='bookmark' title='Permanent Link: How to join split files'>How to join split files</a></li>
<li><a href='http://gingerjoos.com/blog/linux/using-windows-partitions-from-debian-gnulinux' rel='bookmark' title='Permanent Link: Using Windows partitions from Debian GNU/Linux'>Using Windows partitions from Debian GNU/Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/linux/copying-files-from-one-unix-box-to-another-with-scp/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Intel 8085 microprocessor simulator</title>
		<link>http://gingerjoos.com/blog/from-the-web/intel-8085-microprocessor-simulator</link>
		<comments>http://gingerjoos.com/blog/from-the-web/intel-8085-microprocessor-simulator#comments</comments>
		<pubDate>Tue, 23 Jun 2009 06:09:42 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[from the web]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[8085]]></category>
		<category><![CDATA[8085 microprocessor]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[microprocessor]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[simulator]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=113</guid>
		<description><![CDATA[My friend Arun created an <a href='http://labs.kitiyo.com/8085' title='Intel 8085 microprocessor simulator'>Intel 8085 microprocessor simulator</a> as a hobby project sometime in his college. It’s written with php and javascript. Check out http://labs.kitiyo.com/8085


Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/gingerjoos-com-visitor-stats-on-a-map' rel='bookmark' title='Permanent Link: Gingerjoos.com visitor stats on a map'>Gingerjoos.com visitor stats on a map</a></li>
<li><a href='http://gingerjoos.com/blog/code/pirate-tweet' rel='bookmark' title='Permanent Link: Pirate tweet'>Pirate tweet</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My friend Arun created an <a href="http://labs.kitiyo.com/8085/free-online-assember-simulator-8085.html">Intel 8085 microprocessor simulator</a> as a hobby project sometime in his college. It&#8217;s written with php and javascript.</p>
<p> If you&#8217;re into 8085 programming, do try it out and let me/Arun know.</p>
</p>
<p><a href="http://labs.kitiyo.com/8085/free-online-assember-simulator-8085.html">http://labs.kitiyo.com/8085/free-online-assember-simulator-8085.html</a></p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/gingerjoos-com-visitor-stats-on-a-map' rel='bookmark' title='Permanent Link: Gingerjoos.com visitor stats on a map'>Gingerjoos.com visitor stats on a map</a></li>
<li><a href='http://gingerjoos.com/blog/code/pirate-tweet' rel='bookmark' title='Permanent Link: Pirate tweet'>Pirate tweet</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/from-the-web/intel-8085-microprocessor-simulator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful vim commands</title>
		<link>http://gingerjoos.com/blog/linux/useful-vim-commands</link>
		<comments>http://gingerjoos.com/blog/linux/useful-vim-commands#comments</comments>
		<pubDate>Thu, 04 Jun 2009 17:36:32 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[useful vi commands]]></category>
		<category><![CDATA[useful vim commands]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vim enhanced]]></category>
		<category><![CDATA[vim keyboard shortcuts]]></category>
		<category><![CDATA[vim shortcuts]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=90</guid>
		<description><![CDATA[Now that you've typed some random stuff in, escape to the command mode. Now try pressing ':w' i.e. (shift+;)w. W is for "write". This saves the file and leaves you still in the editor. If you want to get out of the editor, you type in one more command 'q' so it becomes ':wq'. In case you want to get out of it without saving, use ':q!'. The other way to save and quit is to go to the command mode and hit shift+z+z.


Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users' rel='bookmark' title='Permanent Link: vimdiff &#8211; the cool way to diff for vim users'>vimdiff &#8211; the cool way to diff for vim users</a></li>
<li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/linux/using-windows-partitions-from-debian-gnulinux' rel='bookmark' title='Permanent Link: Using Windows partitions from Debian GNU/Linux'>Using Windows partitions from Debian GNU/Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">vim</a> at work for most of my text editing purposes. Vim is a very powerful editor. However, it comes with a somewhat steep learning curve. The best place to learn it would be the vimtutor program. It&#8217;s got a pretty good &#8220;for dummies&#8221; approach which is useful if you haven&#8217;t used an editor even remotely powerful as this one before. If you&#8217;re short of time, the best way to learn it is to just jump in and start using it. Since it&#8217;s been around a long time, it has pretty much most features a developer needs. So if you have a need and don&#8217;t know how to get it done with vim, then use <a href="http://www.google.com">this site</a>.</p>
<p>To start off using vim, let me give you a very quick and dirty first few steps. To open a file, simply use vim &lt;filename&gt;. You most likely have vi pointing to vim. Plus, most of these commands work with other vi&#8217;s anyway. So I&#8217;ll be using vi instead of vim henceforth.</p>
<p>Now that you have a file open, you would like to enter some stuff in? The basic thing you need to know about vi is that it has many modes. From the default mode(command mode) you need to press &#8216;i&#8217; to enter the insert mode. In this mode you can type stuff in and it will show up on the screen. The command mode is where you issue commands to vi (But you can&#8217;t enter text). To go back from the insert mode to command mode press the escape key.</p>
<p>Now that you&#8217;ve typed some random stuff in, escape to the command mode. Now try pressing &#8216;:w&#8217; i.e. (shift+;)w. W is for &#8220;write&#8221;. This saves the file and leaves you still in the editor. If you want to get out of the editor, you type in one more command &#8216;q&#8217; so it becomes &#8216;:wq&#8217;. In case you want to get out of it without saving, use &#8216;:q!&#8217;. The other way to save and quit is to go to the command mode and hit shift+z+z.</p>
<p>With vi, the traditional way to navigate (in command mode) is to use l,k,j,h keys(right,up,down,left). That&#8217;s like the a,w,s,d in gaming. It&#8217;s a timesaver for people who are comfortable with it. Vim allows you to use the arrow keys as well, which is a real convenience.</p>
<p>That covers the bare minimum basics for us.</p>
<p>Once you start using vi you start looking for ways to accomplish tasks using it. There is a whole lot of material out there in the World Wide Web which will help you out. Google is your friend, use it <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I will tell you some of the frequently used options/shortcuts I use with vim.</p>
<p>Going to a specific line : Type in &#8216;:25&#8242; to go to line number 25 (in command mode). You can open a file at a specific line by typing</p>
<p>$ vi +25 FILENAME</p>
<p>This will open the file and take you to line 25. Now that you&#8217;re there, perhaps you would like to delete the next 5 lines? No problem &#8211; just hit d5d. The 5 in the middle says 5 and dd is for deleting lines. You will find this a common pattern with most vi commands. Just hitting dd will remove a single line. Similarly you can do d5w to remove 5 words and dw to remove a single word.</p>
<p>Copy paste is a walk in the  park. Hit y7y to copy 7 lines. Now press p to paste. That&#8217;s it. Cut paste? Hit d7d and then press p to paste after navigating to where you want to paste it.</p>
<p>The other approach to doing all this is to send a command. Hit &#8216;:201,225y&#8217; to copy lines from 201 to 225. Similarly &#8216;:201,225d&#8217; deletes lines from 201 to 225. To jump to a line you can use &#8216;:25&#8242;. This jumps to line number 25.</p>
<p>One useful shortcut when you don&#8217;t want to remember the line numbers is the use of markers. I can mark any 2 lines , say line numbers 201 and 225, and perform an action on them by using the name of the markers. Go to line number 201 and hit &#8216;ma&#8217;. This will mark that line with the marker &#8216;a&#8217;. Do the same with line 225 and mark it with &#8216;b&#8217;. Instead of uisng &#8216;:201,225d&#8217; to delete lines 201 to 225, now you can use the a and b markers to delete the lines thus &#8211; &#8220;:&#8217;a,&#8217;bd&#8221;.</p>
<p>That was just a small snapshot of the commands that I use on vi. You can use a lot other features, like for instance <a href="http://www.oreillynet.com/mac/blog/2006/07/more_vim_save_time_with_macros_1.html">macros</a>, and enhance your editing experience. This should help you get started though. Let me know if this has been useful. Good luck and happy hacking <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/linux/vimdiff-the-cool-way-to-diff-for-vim-users' rel='bookmark' title='Permanent Link: vimdiff &#8211; the cool way to diff for vim users'>vimdiff &#8211; the cool way to diff for vim users</a></li>
<li><a href='http://gingerjoos.com/blog/linux/copy-files-preserving-the-permissions' rel='bookmark' title='Permanent Link: Copy files preserving the permissions'>Copy files preserving the permissions</a></li>
<li><a href='http://gingerjoos.com/blog/linux/using-windows-partitions-from-debian-gnulinux' rel='bookmark' title='Permanent Link: Using Windows partitions from Debian GNU/Linux'>Using Windows partitions from Debian GNU/Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/linux/useful-vim-commands/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The most difficult captcha there is</title>
		<link>http://gingerjoos.com/blog/computer-security/the-most-difficult-captcha-there-is</link>
		<comments>http://gingerjoos.com/blog/computer-security/the-most-difficult-captcha-there-is#comments</comments>
		<pubDate>Tue, 02 Jun 2009 09:52:46 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[computer security]]></category>
		<category><![CDATA[from the web]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[gul panag]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=93</guid>
		<description><![CDATA[I was browsing through the site of a celebrity recently and came across the contact page. I was shocked to find the captcha there. Take a look yourself and be amazed : http://www.gulpanag.net/contact_gul_panag.php Why would anyone display the captcha as text ready for a bot passing by to read? (It&#8217;s even got a nice class [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I was browsing through the <a href="http://www.gulpanag.net/">site of a celebrity</a> recently and came across the contact page. I was shocked to find the <a href="http://en.wikipedia.org/wiki/Captcha">captcha</a> there. Take a look yourself and be amazed : <a href="http://www.gulpanag.net/contact_gul_panag.php"><span class="captchas">http://www.gulpanag.net/contact_gul_panag.php</span></a></p>
<p>Why would anyone display the captcha as text ready for a bot passing by to read? (It&#8217;s even got a nice class &#8211; captchas &#8211; wrapping it) Is that some kind of a honeypot? Is that a dummy form? Does the site admin feel lonely because no one sends him/her mail and is hoping to at least read spam?</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/computer-security/the-most-difficult-captcha-there-is/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Mobile updates on Orkut?</title>
		<link>http://gingerjoos.com/blog/from-the-web/mobile-updates-on-orkut</link>
		<comments>http://gingerjoos.com/blog/from-the-web/mobile-updates-on-orkut#comments</comments>
		<pubDate>Wed, 20 May 2009 09:06:34 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[from the web]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile updates]]></category>
		<category><![CDATA[orkut]]></category>
		<category><![CDATA[orkut scrap]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/?p=85</guid>
		<description><![CDATA[Orkut is introducing mobile updates?


No related posts.]]></description>
			<content:encoded><![CDATA[<p>A while ago I got a message on my mobile from &#8220;TM-Orkut&#8221;. It was a scrap written by a friend on my <a href="http://en.wikipedia.org/wiki/Orkut">Orkut</a> scrapbook. I suppose this means they&#8217;re trying out mobile updates. There&#8217;s nothing about this yet on the Orkut blog. Looking forward to this feature. Hope it comes soon.</p>
<p>In case you have any news, do leave them as comments <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/from-the-web/mobile-updates-on-orkut/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Enabled Google Analytics</title>
		<link>http://gingerjoos.com/blog/technology/enabled-google-analytics</link>
		<comments>http://gingerjoos.com/blog/technology/enabled-google-analytics#comments</comments>
		<pubDate>Fri, 10 Apr 2009 17:15:47 +0000</pubDate>
		<dc:creator>Anirudh</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://gingerjoos.com/blog/uncategorized/enabled-google-analytics</guid>
		<description><![CDATA[I enabled Google Analytics a while ago. Reports are yet to come in. Cause.. no one has visited this blog yet.. heh heh Related posts:Identify visits from Google Real time search User agent GTB or GTB5 is the Google Toolbar Comparison of Google Public DNS and Open DNS response


Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/identify-visits-from-google-real-time-search' rel='bookmark' title='Permanent Link: Identify visits from Google Real time search'>Identify visits from Google Real time search</a></li>
<li><a href='http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar' rel='bookmark' title='Permanent Link: User agent GTB or GTB5 is the Google Toolbar'>User agent GTB or GTB5 is the Google Toolbar</a></li>
<li><a href='http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response' rel='bookmark' title='Permanent Link: Comparison of Google Public DNS and Open DNS response'>Comparison of Google Public DNS and Open DNS response</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I enabled Google Analytics a while ago. Reports are yet to come in. Cause.. no one has visited this blog yet.. heh heh <img src='http://gingerjoos.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://gingerjoos.com/blog/from-the-web/identify-visits-from-google-real-time-search' rel='bookmark' title='Permanent Link: Identify visits from Google Real time search'>Identify visits from Google Real time search</a></li>
<li><a href='http://gingerjoos.com/blog/technology/user-agent-gtb-or-gtb5-is-the-google-toolbar' rel='bookmark' title='Permanent Link: User agent GTB or GTB5 is the Google Toolbar'>User agent GTB or GTB5 is the Google Toolbar</a></li>
<li><a href='http://gingerjoos.com/blog/technology/comparison-of-google-public-dns-and-open-dns-response' rel='bookmark' title='Permanent Link: Comparison of Google Public DNS and Open DNS response'>Comparison of Google Public DNS and Open DNS response</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://gingerjoos.com/blog/technology/enabled-google-analytics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.029 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-30 23:32:07 -->
