<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Glass Onion Blog</title>
	<atom:link href="http://glassonionblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://glassonionblog.wordpress.com</link>
	<description>Cheat sheets, post-its and random notes from the desk of a programmer</description>
	<lastBuildDate>Sat, 13 Sep 2008 05:05:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='glassonionblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b0b83f905cd7ac2564f1c8659c433552?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Glass Onion Blog</title>
		<link>http://glassonionblog.wordpress.com</link>
	</image>
			<item>
		<title>Linux: Renaming multiple files from command line</title>
		<link>http://glassonionblog.wordpress.com/2008/09/12/linux-renaming-multiple-files-from-command-line/</link>
		<comments>http://glassonionblog.wordpress.com/2008/09/12/linux-renaming-multiple-files-from-command-line/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 05:04:17 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[rename]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=70</guid>
		<description><![CDATA[How to rename multiple files at a shell prompt under Linux? The rename command is quite useful.
Rename command usage:
rename oldname newname *.files
Some examples:
Rename all *.abc file as *.xyz:
$ rename .abc .xyz *.abc
Remove .txt file extension:
$ rename 's/\.txt$//' *.txt
Convert all uppercase filenames to lowercase:
$ rename 'y/A-Z/a-z/' *
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=70&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>How to rename multiple files at a shell prompt under Linux? The rename command is quite useful.</p>
<p>Rename command usage:</p>
<pre style="padding-left:30px;"><strong><span style="color:#000080;">rename oldname newname *.files</span></strong></pre>
<p>Some examples:</p>
<p>Rename all *.abc file as *.xyz:</p>
<pre style="padding-left:30px;"><strong><span style="color:#000080;">$ rename .abc .xyz *.abc</span></strong></pre>
<p>Remove .txt file extension:</p>
<pre style="padding-left:30px;"><strong><span style="color:#000080;">$ rename 's/\.txt$//' *.txt</span></strong></pre>
<p>Convert all uppercase filenames to lowercase:</p>
<pre style="padding-left:30px;"><strong><span style="color:#000080;">$ rename 'y/A-Z/a-z/' *</span></strong></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=70&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/09/12/linux-renaming-multiple-files-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Wireless protocols IEEE 802.11 A B G N compared</title>
		<link>http://glassonionblog.wordpress.com/2008/08/04/wireless-protocols-ieee-80211-a-b-g-n-compared/</link>
		<comments>http://glassonionblog.wordpress.com/2008/08/04/wireless-protocols-ieee-80211-a-b-g-n-compared/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 04:04:58 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[802.11]]></category>
		<category><![CDATA[abgn]]></category>
		<category><![CDATA[bgn]]></category>
		<category><![CDATA[ethernet card]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[network card]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=68</guid>
		<description><![CDATA[When buying a wireless router or a wireless network card, have you ever wondered what do these letters next to the protocol 802.11 (a, b, g, and n) really mean? What is the difference between these protocols?
IEEE 802.11 is a set of standards for wireless local area network (WLAN) computer communication. The terms 802.11 and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=68&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When buying a wireless router or a wireless network card, have you ever wondered what do these letters next to the protocol 802.11 (a, b, g, and n) really mean? What is the difference between these protocols?</p>
<p>IEEE 802.11 is a set of standards for wireless local area network (WLAN) computer communication. The terms 802.11 and Wi-Fi are often used interchangeably but there is slight difference between the two.</p>
<p><strong><span style="text-decoration:underline;">(A) 802.11a </span></strong><br />
Frequency- 5 GHz  <br />
<strong>Typical Data Rate - 23 Mbit/s  <br />
</strong>Max Data rate &#8211; 54 Mbit/s  <br />
Range &#8211; 115 feet</p>
<p><strong><span style="text-decoration:underline;">(B) 802.11b</span></strong><br />
Frequency - 2.4 GHz  <br />
<strong>Typical Data Rate - 4.5 Mbit/s  <br />
</strong>Max Data rate &#8211; 11 Mbit/s  <br />
Range - 115 feet</p>
<p><strong><span style="text-decoration:underline;">(G) 802.11g</span></strong><br />
Frequency - 2.4 GHz  <br />
<strong>Typical Data Rate &#8211; 19 Mbit/s  <br />
</strong>Max Data rate - 54 Mbit/s  <br />
Range &#8211; 125 feet</p>
<p><strong><span style="text-decoration:underline;">(N) 802.11n</span></strong><br />
Frequency - 5GHz and/or 2.4GHz  <br />
<strong>Typical Data Rate - 74 Mbit/s  <br />
</strong>Max Data rate - 300 Mbit/s (2 streams)<br />
Range &#8211; 230 feet</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=68&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/08/04/wireless-protocols-ieee-80211-a-b-g-n-compared/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Back up and Restore MySQL database from the command line</title>
		<link>http://glassonionblog.wordpress.com/2008/07/30/back-up-and-restore-mysql-database-from-the-command-line/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/30/back-up-and-restore-mysql-database-from-the-command-line/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 00:10:49 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[mysqladmin]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=63</guid>
		<description><![CDATA[Backing up via the command line:
Type the following at the prompt with the appropriate USERNAME and DATABASE name:
mysqldump -u USERNAME -p DATABASE &#62; dump.sql
You will be prompted for your database password and then the DATABASE will be dumped to a plain-text file called dump.sql.
Restoring via the command line:
First drop and recreate the database as needed:
Drop the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=63&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2>Backing up via the command line:</h2>
<p>Type the following at the prompt with the appropriate USERNAME and DATABASE name:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">mysqldump -u USERNAME -p DATABASE &gt; dump.sql</span></pre>
<p>You will be prompted for your database password and then the DATABASE will be dumped to a plain-text file called dump.sql.</p>
<h2>Restoring via the command line:</h2>
<p>First drop and recreate the database as needed:</p>
<p>Drop the database</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">mysqladmin -u USERNAME -p drop DATABASE</span></pre>
<p>Recreate the database</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">mysqladmin -u USERNAME -p create DATABASE</span></pre>
<p>Import the backup data</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">mysql -u USERNAME -p DATABASE &lt; dump.sql</span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=63&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/30/back-up-and-restore-mysql-database-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux: Setting JAVA_HOME for a single user and all users</title>
		<link>http://glassonionblog.wordpress.com/2008/07/21/linux-setting-java_home-for-a-single-user-and-all-users/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/21/linux-setting-java_home-for-a-single-user-and-all-users/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 07:42:35 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=53</guid>
		<description><![CDATA[Here is how to setup JAVA_HOME and PATH environment variables for a single user or all users on Fedora Linux system
Setting JAVA_HOME and PATH for a single user
# vi ~/.bash_profile
# export JAVA_HOME=/opt/jdkx.x.x_xx
# export PATH=$PATH:$JAVA_HOME/bin
Setting JAVA_HOME and PATH for all users
# vi /etc/profile
# export JAVA_HOME=/opt/jdkx.x.x_xx
# export PATH=$PATH:$JAVA_HOME/bin
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=53&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is how to setup JAVA_HOME and PATH environment variables for a single user or all users on Fedora Linux system</p>
<h2>Setting JAVA_HOME and PATH for a single user</h2>
<pre style="padding-left:30px;"><span style="color:#0000ff;"># vi ~/.bash_profile
# export JAVA_HOME=/opt/jdkx.x.x_xx
# export PATH=$PATH:$JAVA_HOME/bin</span></pre>
<h2>Setting JAVA_HOME and PATH for all users</h2>
<pre style="padding-left:30px;"><span style="color:#0000ff;"># vi /etc/profile
# export JAVA_HOME=/opt/jdkx.x.x_xx
# export PATH=$PATH:$JAVA_HOME/bin</span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=53&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/21/linux-setting-java_home-for-a-single-user-and-all-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux &#8211; How to find out which Shell you are using?</title>
		<link>http://glassonionblog.wordpress.com/2008/07/21/linux-how-to-find-out-which-shell-you-are-using/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/21/linux-how-to-find-out-which-shell-you-are-using/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 22:55:41 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[fedora core 5]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=46</guid>
		<description><![CDATA[Here are three quick ways to find out which shell you are currently using:
Method 1:
command:
# echo $SHELL
output:
/bin/bash
Method 2:
command:
# echo $0
output:
-bash
Method 3:
command:
# ps -p $$
output:
 PID TTY               TIME CMD
1447 tty1          00:00:01 bash
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=46&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here are three quick ways to find out which shell you are currently using:</p>
<p><strong>Method 1:</strong></p>
<p>command:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;"># echo $SHELL</span></pre>
<p>output:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">/bin/bash</span></pre>
<p><strong>Method 2:</strong></p>
<p>command:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;"># echo $0</span></pre>
<p>output:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">-bash</span></pre>
<p><strong>Method 3:</strong></p>
<p>command:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;"># ps -p $$</span></pre>
<p>output:</p>
<pre style="padding-left:30px;"> <span style="color:#0000ff;">PID TTY               TIME CMD
1447 tty1          00:00:01 bash</span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=46&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/21/linux-how-to-find-out-which-shell-you-are-using/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Linux style symbolic links in Windows Vista</title>
		<link>http://glassonionblog.wordpress.com/2008/07/18/creating-linux-style-symbolic-links-in-windows-vista/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/18/creating-linux-style-symbolic-links-in-windows-vista/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 21:07:36 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[symbolic links]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=35</guid>
		<description><![CDATA[Windows Vista supports symbolic links (soft links). One way of creating these links is using the command line utility called MKLINK.
Run Command Prompt and type the comman MKLINK.
If the system warns saying&#8230;&#8220;You do not have sufficient privilege to perform this operation&#8221;. Run the Command Prompt as Administrator
Usage:
MKLINK [[/D] &#124; [/H] &#124; [/J]] Link Target
        /D      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=35&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Windows Vista supports symbolic links (soft links). One way of creating these links is using the command line utility called MKLINK.</p>
<p>Run <em>Command Prompt</em> and type the comman MKLINK.</p>
<p>If the system warns saying&#8230;<em>&#8220;You do not have sufficient privilege to perform this operation&#8221;. </em>Run the <em>Command Prompt</em> as Administrator</p>
<p>Usage:</p>
<pre>MKLINK [[/D] | [/H] | [/J]] Link Target
        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.</pre>
<p>Example: To create a directorty link called <strong>src</strong> what points to <strong>c:\users\foo\src</strong></p>
<pre>     <strong>mklink /D src c:\users\foo\src</strong>
<strong>Thats it!</strong>
<strong></strong></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=35&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/18/creating-linux-style-symbolic-links-in-windows-vista/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Top 4 micro-blogging tools &#8211; Twitter, Pownce, Tumblr and Jaiku</title>
		<link>http://glassonionblog.wordpress.com/2008/07/18/top-4-micro-blogging-tools-twitter-pownce-tumblr-and-jaiku/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/18/top-4-micro-blogging-tools-twitter-pownce-tumblr-and-jaiku/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 20:50:43 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[microblogging]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=27</guid>
		<description><![CDATA[Twitter

Twitter is a free social networking and micro-blogging service that allows users to send updates (otherwise known as tweets) which are text-based posts of up to 140 characters in length.
Updates are displayed on the user&#8217;s profile page and delivered to other users who have signed up to receive them. The sender can restrict delivery to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=27&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2 class="mceTemp">Twitter</h2>
<div class="mceTemp"><a href="http://www.twitter.com"><img class="size-medium wp-image-31" src="http://glassonionblog.files.wordpress.com/2008/07/twitter_logo.jpg?w=150&#038;h=40" alt="Twitter" width="150" height="40" /></a><br />
Twitter is a free social networking and micro-blogging service that allows users to send updates (otherwise known as tweets) which are text-based posts of up to 140 characters in length.</div>
<div class="mceTemp">Updates are displayed on the user&#8217;s profile page and delivered to other users who have signed up to receive them. The sender can restrict delivery to those in his or her circle of friends (delivery to everyone being the default). Users can receive updates via the Twitter website, instant messaging, SMS, RSS, email or through an application such as Twitterrific or Facebook.</div>
<h2 class="mceTemp">Pownce</h2>
<div class="mceTemp"><a href="http://glassonionblog.files.wordpress.com/2008/07/pownce_logo.jpg"><img class="alignnone size-medium wp-image-29" src="http://glassonionblog.files.wordpress.com/2008/07/pownce_logo.jpg?w=150&#038;h=46" alt="" width="150" height="46" /></a></div>
<div class="mceTemp">Pownce is a free social networking and micro-blogging site started by Internet entrepreneurs Kevin Rose, Leah Culver, Daniel Burka.[2] Pownce is centered around sharing messages, files, events, and links with already-established friends. The site launched on June 27, 2007, and was opened to the public on January 22, 2008.</div>
<h2 class="mceTemp">Tumbler</h2>
<div class="mceTemp"><a href="http://www.tumblr.com"><img class="alignnone size-medium wp-image-30" src="http://glassonionblog.files.wordpress.com/2008/07/tumblr-logo.gif?w=127&#038;h=36" alt="" width="127" height="36" /></a></div>
<div class="mceTemp">tumblr is a tumblelog site. A tumblelog is a variation of a blog that favors short-form, mixed-media posts over the longer editorial posts frequently associated with blogging. Common post formats found on tumblelogs include links, photos, quotes, dialogues, and video. Unlike blogs, tumblelogs are frequently used to share the author&#8217;s creations, discoveries, or experiences while providing little or no commentary.</div>
<h2>Jaiku</h2>
<div class="mceTemp"><a href="http://www.jaiku.com"><img class="alignnone size-medium wp-image-28" src="http://glassonionblog.files.wordpress.com/2008/07/jaiku-logo.jpg?w=100&#038;h=82" alt="" width="100" height="82" /></a></div>
<div class="mceTemp">Jaiku is a social networking, micro-blogging and lifestreaming service comparable to Twitter. Jaiku was founded in February 2006 by Jyri Engeström and Petteri Koponen from Finland and launched in July of that year. It was purchased by Google on October 9, 2007.</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=27&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/18/top-4-micro-blogging-tools-twitter-pownce-tumblr-and-jaiku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>

		<media:content url="http://glassonionblog.files.wordpress.com/2008/07/twitter_logo.jpg?w=150" medium="image">
			<media:title type="html">Twitter</media:title>
		</media:content>

		<media:content url="http://glassonionblog.files.wordpress.com/2008/07/pownce_logo.jpg?w=150" medium="image" />

		<media:content url="http://glassonionblog.files.wordpress.com/2008/07/tumblr-logo.gif?w=127" medium="image" />

		<media:content url="http://glassonionblog.files.wordpress.com/2008/07/jaiku-logo.jpg?w=100" medium="image" />
	</item>
		<item>
		<title>FTP file transfer in Java using Apache Commons Net</title>
		<link>http://glassonionblog.wordpress.com/2008/07/17/ftp-file-transfer-in-java-using-apache-commons-net/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/17/ftp-file-transfer-in-java-using-apache-commons-net/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 21:31:32 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[apache commons]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ftp]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=14</guid>
		<description><![CDATA[The following sample code works well with Java 1.5 and Apache Commons Net 1.4.1

import org.apache.commons.net.ftp.*;
...
boolean ftpTransfer(String localfile, String destinationfile)
{
	String server = "ftp.domain.com";
	String username = "ftpuser";
	String password = "ftppass";
	try
	{
		FTPClient ftp = new FTPClient();
		ftp.connect(server);
		if(!ftp.login(username, password))
		{
			ftp.logout();
			return false;
		}
		int reply = ftp.getReplyCode();
		if (!FTPReply.isPositiveCompletion(reply))
		{
			ftp.disconnect();
			return false;
		}
		InputStream in = new FileInputStream(localfile);
		ftp.setFileType(ftp.BINARY_FILE_TYPE);
		boolean Store = ftp.storeFile(destinationfile, in);
		in.close();
		ftp.logout();
		ftp.disconnect();
	}
	catch (Exception ex)
	{
		ex.printStackTrace();
		return false;
	}
	return true;
}
 
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=14&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The following sample code works well with Java 1.5 and <a href="http://commons.apache.org/net/download.html">Apache Commons Net 1.4.1</a></p>
<pre><span>
<span style="color:#0000ff;">import org.apache.commons.net.ftp.*;
...
boolean ftpTransfer(String localfile, String destinationfile)
{
	String server = "ftp.domain.com";
	String username = "ftpuser";
	String password = "ftppass";
	try
	{
		FTPClient ftp = new FTPClient();
		ftp.connect(server);
		if(!ftp.login(username, password))
		{
			ftp.logout();
			return false;
		}
		int reply = ftp.getReplyCode();
		if (!FTPReply.isPositiveCompletion(reply))
		{
			ftp.disconnect();
			return false;
		}
		InputStream in = new FileInputStream(localfile);
		ftp.setFileType(ftp.BINARY_FILE_TYPE);
		boolean Store = ftp.storeFile(destinationfile, in);
		in.close();
		ftp.logout();
		ftp.disconnect();
	}
	catch (Exception ex)
	{
		ex.printStackTrace();
		return false;
	}
	return true;
}
</span></span><span style="color:#0000ff;"> </span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=14&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/17/ftp-file-transfer-in-java-using-apache-commons-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
		<item>
		<title>Building with Ant from TextPad</title>
		<link>http://glassonionblog.wordpress.com/2008/07/03/building-with-ant-from-textpad/</link>
		<comments>http://glassonionblog.wordpress.com/2008/07/03/building-with-ant-from-textpad/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 21:43:35 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[text editor]]></category>
		<category><![CDATA[textpad]]></category>

		<guid isPermaLink="false">http://glassonionblog.wordpress.com/?p=7</guid>
		<description><![CDATA[A step towards making TextPad a lightweight IDE. Using the trick below, you can compile your code using Ant from inside TextPad. Click on the error messages and jump to the source file and the problematic line of code.

First, make sure you can compile from the command line using Ant
In Textpad, go to Configure-&#62; Preferences-Tools.
Click [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=7&subd=glassonionblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A step towards making <a title="textpad - editor for windows" href="http://www.textpad.com" target="_self">TextPad</a> a lightweight IDE. Using the trick below, you can compile your code using <a title="Build tool - Java" href="http://ant.apache.org/" target="_self">Ant</a> from inside TextPad. Click on the error messages and jump to the source file and the problematic line of code.</p>
<ol>
<li>First, make sure you can compile from the command line using Ant</li>
<li>In Textpad, go to <strong>Configure-&gt; Preferences-Tools</strong>.</li>
<li>Click on the <strong>Add</strong> button and select the <strong>Dos</strong> Command option</li>
<li>Enter <strong>ant -find</strong> in the edit box and press <strong>OK</strong> to dismiss the dialog box.</li>
<li>Now press the <strong>Apply</strong> button</li>
<li>In the left pane, expand <strong>Tools</strong> and highlight <strong>ant -find</strong></li>
<li>In the right pane, select <strong>capture output</strong> and <strong>save all documents first</strong> options</li>
<li>Enter the following Reguar Expression <em>^[ \t]+\[javac\] \([A-Za-z]:[^:]+\):\([0-9]+\):</em></li>
<li>Set <strong>File </strong>to 1 and <strong>Register </strong>to 2</li>
</ol>
<p>All done. To run Ant, select it from the &#8220;Tools&#8221; menu. The build.xml file should be in the same directory, or in any ancestor directory.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassonionblog.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassonionblog.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassonionblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassonionblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassonionblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassonionblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassonionblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassonionblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassonionblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassonionblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassonionblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassonionblog.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassonionblog.wordpress.com&blog=4117950&post=7&subd=glassonionblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassonionblog.wordpress.com/2008/07/03/building-with-ant-from-textpad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e9eeb6ac404749e7af69afde8eb48c01?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">walrus</media:title>
		</media:content>
	</item>
	</channel>
</rss>