Saturday, June 12, 2010

Ubuntu - Link the folders with "ln"

 Hello folks,
            The purpose of writing this blog is only because i want to link two folders and when i tried to google it no good reults are there that can satisfactory show you how the two folders are linked. So here I will describe the most simple way how you can link two folders.

           The command you are looking for is "ln". This command creates the symbolic links in the Linux. The word "Symbolic" means that no matter you enter in any of the two linked folder you will end up in the same physical location. So now when you make changes to any of the folder it will reflect to the other folder also. So it means that it is shown to you as two different folders but actually they are one folder with two different names. This two folders can be in any directories, any path, it doesn't matter.

          Say i have following structure of directories

          And i want to link the "source" directory with say "link" directory

          you don't need to create the directory named "link" it will be created automatically.

          Run the following command
          ln -s /root/source /root/link
Note :  You can remove the "link" folder when ever you like to remove the link because it is just a link not actual folder. while if you remove the "source" folder then the "link" folder will not have any physical link to go to. so you will be stuck with the dead link.

        for more regarding command "ln" please check the manual page of ln - click here. there is wiki page for "ln" click here.

Thursday, June 10, 2010

Kubuntu Proxy setting for apt

We have a Netcache webproxy in use at work and so to get the various apt-get and adept commands to work it is necesary to do some configuration.
There are a few posts on the web about how to do this some, saying you just need to set the environment variable http_proxy, others that you must specify the proxy settings in the file/etc/apt/apt.conf.d/70debconf . For my Kubuntu install I found a mixture of the two was required, more of which anon.
Firstly a word about what the url for your proxy should be: If it is a proxy that requires authentication then it will need to be of the form “″using your username, password and the dns name or ip address of the proxy itself and whatever port number your proxy listens on at the end.
N.B. If your password ever expires and/or gets changed then you will need to update the proxy url wherever you set it.
Following is a summary of my findings and what needs to be set where.
  • Adding a line
    export http_proxy=””

    in /etc/bash.bashrc works fine for using apt-get commands from the command line but the graphical tool adept does not appear to read this file or somehow ignores the http_proxy environment variable.
  • For adept to work you must remove the line Acquire::http::proxy “false”; from /etc/apt/apt.conf to get any other apt.conf.d file settings to work.
  • Add in the line
    Acquire::http::proxy “″;

    to the end of /etc/apt/apt.conf.d/70debconf (this file seems to be the “traditional place” to put this setting.)
This got me up and running. I also found the command apt-config dump very useful for displaying the settings that apt-get is going to use. Bear in mind however that for command line apt-get usage the http_proxy environment variable, if it is set, appears to overule whatever Acquire::http::proxy settings you may have in apt.conf.d files.
You can just set the Acquire::http::proxy setting and apt-get from the command line will use this in the same way as adept does but as I like to use wget for fetching the odd file from the ‘net I needed http_proxy set anyway.
Clear as mud? That’s got that sorted then.

Thursday, May 20, 2010

Red Bus.... Online Bus tickets booking service

This is a good service for booking bus tickets in India. The site is trusted by VeriSign for online transactions. I have been using this for now 2 years and i am very satisfied with the services they provide.


Friday, February 26, 2010

Wednesday, February 10, 2010

Filter Buzz from flooding inbox.....

Hi friends,
Google have just unlashed the new "Buzz". When i got it first i was really thinking that it will be nice the send the updates direct from the Gmail it self. But as i started i realized that when anybody comments on your buzz the reply comes to you as a mail in your inbox. And I always liked my inbox to be empty or should be only with the most recent and unread or important mails. And now suddenly my inbox was out of my control with lots of buzz.

I have found out a solution(by little googling) of this problem and want to share with you all. You just need to create a filter which uses the gmail's internal utility. Just create filter with "label:Buzz" as the field entry of "Has the words". It will give the warning that "some kind of words are not preferable while creating the filter" but simply ignore it and create filter and thats it. You have just created the filter. In the later part of creating the filter you can give all sorts of option like skip the inbox... mark as read and all that you can do with the normal filtered mails.
Hope As i have solved my problem you will also get benefited from this....

Wednesday, December 9, 2009

25+ Useful Infographics for Web Designers

I have just came across this beautiful and interesting site that shows 25 different types of graphs i couldn't think of coming out from simple pie chart, line chart and bar chart but this blog opened my mind...... there are other creative ways of displaying the data that you have gettered in a better way,

in reference to:

"22 Jun 25+ Useful Infographics for Web Designers"
- 25+ Useful Infographics for Web Designers | Webdesigner Depot (view on Google Sidewiki)

Friday, November 6, 2009

I am Goooooogle wave developer

I have just applied for the Google wave developers post(virtual)..... and i got the account where I can try out my own gadgets and even can ask for publishing them.... Here is the proof for that.....