Google

WGET

Submitted by Ravindra on Thu, 2008-04-17 06:19.

If you want to wget a sub folder with out parents , then use
the --no-parent option or -np. from the wget manual this means
Do not ever ascend to the parent directory when retrieving recursively. This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded.

permalink

Debian global environment variables

Submitted by Ravindra on Tue, 2008-04-08 08:08.

since i always forget how to setup global variables as opposed to local variables one can setup in ~/.bashrc or ~/.bash_profile, i thought of blogging it.
well , you need to put your entries in /etc/environment or /etc/profile
and the variable is available with all the shells that open for any user. But remember that the affect will appear only when you re-login.
for example i am default logged in to the system as user "X" , therefore when i started a new shell , i still could not access the variable. But when i switched to another user ,that user has the variable. But when i switched back(re-logged using su) to "X" then the variable became visible. of course for any already open shells you might need to source them.

permalink

Latex Hyperlinks

Submitted by Ravindra on Sun, 2008-03-30 04:34.

default latex package does not contain much capabilities for creating hyperlinks. I recommend to use the hyperref package.

\usepackage{hyperref} then you might change several default values.

\hypersetup{
    unicode=false,          % non-Latin characters in Acrobat’s
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=blue           % color of external links
}

permalink