Commits

Anonymous committed 67a4f98

intial commit with bunch of dotfiles

  • Participants

Comments (0)

Files changed (12)

+# -*- mode: conf; -*-
+backups/*
+bin/*
+*~
+\#~
+.*~
+.#~
+*.log
+*.down

File dotXdefaults

+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.Xdefaults
+
+emacs.font+ -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1

File dotXresources

+!# -*- mode: conf; -*-
+!#+DEST=$HOME/
+!#+FNAME=.Xresources
+!source : http://www.xfce.org/various/Xresources.txt
+! this are Xresources to make xterm look good
+! put into ~/.Xresources
+! after changing contents, run xrdb -merge .Xresources
+! gentoo has a bug so that it doesnt read it when X starts, so add above
+! command to /etc/xfce4/xinitrc (top) and be happy.
+
+!xterm*background:	Black
+!xterm*foreground:	Grey
+xterm*font:		-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
+!xterm*font:		-misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
+!xterm*iconPixmap: ...
+!xterm*iconPixmap:       /usr/share/pixmaps/gnome-gemvt.xbm
+!xterm*iconMask:         /usr/share/pixmaps/gnome-gemvt-mask.xbm
+!XTerm*iconName: terminal
+!Mwm*xterm*iconImage: /home/a/a1111aa/xterm.icon
+XTerm*loginShell: true
+XTerm*foreground: gray90
+XTerm*background: black
+XTerm*cursorColor: rgb:00/80/00
+XTerm*borderColor: white
+XTerm*scrollColor: black
+XTerm*visualBell: true
+XTerm*saveLines: 1000
+!! XTerm.VT100.allowSendEvents: True
+XTerm*allowSendEvents: True
+XTerm*sessionMgt: false
+!XTerm*eightBitInput:  false
+!XTerm*metaSendsEscape: true
+!XTerm*internalBorder:  10
+!XTerm*highlightSelection:  true
+!XTerm*VT100*colorBDMode:  on
+!XTerm*VT100*colorBD:  blue
+!XTerm.VT100.eightBitOutput:  true
+!XTerm.VT100.titeInhibit:  false
+XTerm*color0: black
+XTerm*color1: red3
+XTerm*color2: green3
+XTerm*color3: yellow3
+XTerm*color4: DodgerBlue1
+XTerm*color5: magenta3
+XTerm*color6: cyan3
+XTerm*color7: gray90
+XTerm*color8: gray50
+XTerm*color9: red
+XTerm*color10: green
+XTerm*color11: yellow
+XTerm*color12: cyan2
+XTerm*color13: magenta
+XTerm*color14: cyan
+XTerm*color15: white
+XTerm*colorUL: yellow
+XTerm*colorBD: white
+!XTerm*mainMenu*backgroundPixmap:     gradient:vertical?dimension=400&start=gray10&end=gray40
+!XTerm*mainMenu*foreground:          white 
+!XTerm*vtMenu*backgroundPixmap:       gradient:vertical?dimension=550&start=gray10&end=gray40
+!XTerm*vtMenu*foreground:             white
+!XTerm*fontMenu*backgroundPixmap:     gradient:vertical?dimension=300&start=gray10&end=gray40
+!XTerm*fontMenu*foreground:           white
+!XTerm*tekMenu*backgroundPixmap:      gradient:vertical?dimension=300&start=gray10&end=gray40
+!XTerm*tekMenu*foreground:            white
+!XTerm Profiles (idea from dag wieers)
+XTerm*rightScrollBar: true

File dotbash_aliases

+# -*- mode: shell-script; -*-
+#+DEST=$HOME/
+#+FNAME=.bash_aliases
+
+# --------------------------------------------------------------------------
+# ALIAS
+# --------------------------------------------------------------------------
+
+# Navigation 
+# --------------------------
+
+# I got this http://hayne.net/MacDev/Bash/aliases.bash 
+# The following aliases (S , L and G) are for saving frequently used directories
+# You can save a directory using an abbreviation of your choosing. Eg. save ms
+# You can subsequently move to one of the saved directories by using cd with
+# the abbreviation you chose. Eg. cd ms  (Note that no '$' is necessary.)
+if [ ! -f ~/.dirs ]; then  # if doesn't exist, create it
+    touch ~/.dirs
+else
+    source ~/.dirs
+fi
+alias L='cat ~/.dirs'
+G () { cd ${!1} ; } # goes to distination dir otherwise , stay in the dir
+S () { /bin/sed "/$@/d" ~/.dirs > ~/.dirs1; \mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs; source ~/.dirs ; }
+R () { /bin/sed "/$@/d" ~/.dirs > ~/.dirs1; \mv ~/.dirs1 ~/.dirs;}
+shopt -s cdable_vars # set the bash option so that no '$' is required when using the above facility
+
+#for ease between folder
+#alias .='echo "$PWD"'
+alias ..='DOT="$PWD";cd ..'
+alias ...='DOT="$PWD";cd ../..'
+alias ....='DOT="$PWD";cd ../../..'
+#come back
+alias ,,='cd "$DOT"'
+
+alias pd='pushd "$PWD"'
+alias cd='OLD="$PWD"; cd '
+alias ,='BACK="$OLD"; OLD="$PWD"; cd "$BACK"'
+
+# apt
+# --------------------------
+alias install='sudo apt-get install'
+alias remove='sudo apt-get remove'
+alias purge='sudo apt-get remove --purge'
+alias update='sudo apt-get update && sudo apt-get upgrade'
+alias upgrade='sudo apt-get upgrade'
+#alias clean='sudo apt-get autoclean && sudo apt-get autoremove'
+alias search='apt-cache search'
+alias show='apt-cache show'
+alias sources='(gksudo gedit /etc/apt/sources.list &)'
+
+# Gnome
+# --------------------------
+alias o="gnome-open "
+alias reboot="sudo /sbin/shutdown -r now"
+alias shutdown="sudo /sbin/shutdown -h now"
+alias shutup='gnome-session-save --shutdown-dialog'
+alias lout='gnome-session-save --logout'
+
+# Custom
+# --------------------------
+alias oup="~/bin/orgup.sh"
+alias shrc='source ~/.bashrc'
+alias orgcoNpush='cd ~/git/org && git add . && git commit -m "`date`" || git pull --rebase && git push origin HEAD && cd $OLD'
+
+#delete
+alias del='mv --target-directory=$HOME/.Trash/'
+
+#workstations & sites
+alias amu='ssh -Y yagnesh@amur.porc.lowtem.hokudai.ac.jp'
+alias kor='ssh -Y yagnesh@korsakov.porc.lowtem.hokudai.ac.jp'
+alias kur='ssh -Y yagnesh@kuril.porc.lowtem.hokudai.ac.jp'
+alias sup='ssh -Y bu3107@wine.hucc.hokudai.ac.jp'
+alias sap='ssh -Y sapporoindians@sapporoindians.com'
+alias yuz='ssh -Y yagnesh@yuzhno.porc.lowtem.hokudai.ac.jp'
+alias lubu='ssh -Y yagnesh@okhotsk19.lowtem.hokudai.ac.jp'
+alias lpy='ssh -Y yagnesh@raghava-note.lowtem.hokudai.ac.jp'
+alias huisa='ssh -Y huisa@huisa.net'
+alias blade='ssh -Y yagnesh@blade.ees.hokudai.ac.jp'
+alias sunku='ssh -Y yagnesh@sunku.ees.hokudai.ac.jp'
+
+export vamu=yagnesh@amur.porc.lowtem.hokudai.ac.jp
+export vkor=yagnesh@korsakov.porc.lowtem.hokudai.ac.jp
+export vkur=yagnesh@kuril.porc.lowtem.hokudai.ac.jp
+export vsup=bu3107@wine.hucc.hokudai.ac.jp
+export vsap=sapporoindians@sapporoindians.com
+export vyuz=yagnesh@yuzhno.porc.lowtem.hokudai.ac.jp
+export vlpy=yagnesh@raghava-note.lowtem.hokudai.ac.jp
+export vhuisa=huisa@huisa.net
+export vblade=yagnesh@blade.ees.hokudai.ac.jp
+export vlubu=yagnesh@okhotsk19.lowtem.hokudai.ac.jp
+export vsunku=yagnesh@okhotsk19.lowtem.hokudai.ac.jp
+
+# enable color support of ls and also add handy aliases
+if [ -x /usr/bin/dircolors ]; then
+    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+    alias ls='ls --color=auto'
+    #alias dir='dir --color=auto'
+    #alias vdir='vdir --color=auto'
+
+    alias grep='grep --color=auto'
+    alias fgrep='fgrep --color=auto'
+    alias egrep='egrep --color=auto'
+fi
+
+# some more ls aliases
+alias ll='ls -alF'
+alias l='ls -CF'
+alias la='ls -A'
+alias dirall='ls  --color=auto -laR | more'
+alias lm='ls -al | more'
+alias lx='ls -lXB'         # sort by extension
+alias lk='ls -lSr'         # sort by size, biggest last
+alias lc='ls -ltcr'        # sort by and show change time, most recent last
+alias lu='ls -ltur'        # sort by and show access time, most recent last
+alias lt='ls -ltr'         # sort by date, most recent last
+alias lm='ls -al |more'    # pipe through 'more'
+alias lr='ls -lR'          # recursive ls
+alias sl='ls'
+
+# Human readable
+alias du='du -h'
+alias df='df -h'
+
+# MIS SPELLS
+#--------------------------
+alias tial='tail'
+alias mroe='more'
+alias moer='more'
+alias type='more'
+alias emasc='emacs'
+
+# shorts
+alias a='alias'
+alias hi='history'
+alias e='emacs &'
+
+# grepping
+# ----------
+alias g='grep -i'  # Case insensitive grep
+alias h='history|grep '
+alias agrep='alias|grep '
+
+# chmod and permissions commands -------
+alias mx='chmod a+x'
+alias 000='chmod 000'
+alias 644='chmod 644'
+alias 755='chmod 755'
+alias 744='chmod 744'
+alias perm='stat --printf "%a %n \n "' # requires a file name e.g. perm file
+
+# find files
+alias lfp='find `pwd` -maxdepth 1'
+alias lfd='find `pwd` -maxdepth 1 -type d | sort'
+alias lff='find `pwd` -maxdepth 1 -type f | sort'
+alias ff='find . -name \!* -print'
+alias f='find . -iname'
+
+# gitting
+#--------------------------
+alias gis='git status' 
+alias gb="git branch" 
+alias gba="git branch -a"
+alias gco='git checkout '
+alias gad='git add .'
+alias gd='git diff'
+alias gip='git push'
+alias gc="git commit -v"
+alias gcam="git commit -a -m"
+alias ga="git add"
+alias lol="git lol"
+alias lola="git lola"
+alias gcheckback="git checkout HEAD --"
+alias ggoback="git checkout HEAD^ --"
+
+alias gl="git pull --rebase"
+alias gp="git push origin HEAD"
+alias gcp="git cherry-pick"
+alias gst="git status"
+alias gr="git rm"
+alias gmv="git mv"
+alias gu="git pull --rebase && git push origin HEAD"
+
+# mounting and unmounting
+# -----------------------
+#sshfs
+alias farumount='fusermount -u ~/far_projects'
+
+# MISC
+#--------------------------
+alias smacs=$HOME/bin/emacs-screen.sh
+alias killbg='kill -9 %' # CAUTION
+alias clean='rm *~ .*~ .#* \#*\#'
+alias y='echo ITS OVER DUDE'
+

File dotbash_logout

+# -*- mode: shell-script; -*-
+#+DEST=$HOME/
+#+FNAME=.bash_logout
+# ~/.bash_logout: executed by bash(1) when login shell exits.
+
+# when leaving the console clear the screen to increase privacy
+
+if [ "$SHLVL" = 1 ]; then
+    [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
+fi
+# -*- mode: shell-script; -*-
+#+DEST=$HOME/
+#+FNAME=.bashrc
+
+# If not running interactively, don't do anything
+[ -z "$PS1" ] && return
+
+# set PATH so it includes user's private bin if it exists
+if [ -d "$HOME/bin" ] ; then
+    PATH="$HOME/bin:$PATH"
+fi
+
+# Alias definitions.
+if [ -f ~/.bash_aliases ]; then
+    . ~/.bash_aliases
+fi
+
+# system customization # SYSTEM DEPENDENT
+if [ -f ~/.bash_custom ]; then
+    . ~/.bash_custom
+fi
+
+# enable programmable completion features 
+if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
+    . /etc/bash_completion  > /dev/null
+fi
+
+#perlbrew 
+if [ -f ~/perl5/perlbrew/etc/bashrc  ]; then
+    . ~/perl5/perlbrew/etc/bashrc
+fi
+
+# don't put duplicate lines in the history. See bash(1) for more options
+# ... or force ignoredups and ignorespace
+HISTCONTROL=ignoredups:ignorespace
+
+# append to the history file, don't overwrite it
+shopt -s histappend
+
+# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
+HISTSIZE=1000
+HISTFILESIZE=2000
+
+# check the window size after each command and, if necessary,
+# update the values of LINES and COLUMNS.
+shopt -s checkwinsize
+
+# make less more friendly for non-text input files, see lesspipe(1)
+[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
+
+# set variable identifying the chroot you work in (used in the prompt below)
+if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
+    debian_chroot=$(cat /etc/debian_chroot)
+fi
+
+# set a fancy prompt (non-color, unless we know we "want" color)
+case "$TERM" in
+    xterm-color) color_prompt=yes;;
+esac
+
+# uncomment for a colored prompt, if the terminal has the capability; turned
+# off by default to not distract the user: the focus in a terminal window
+# should be on the output of commands, not on the prompt
+force_color_prompt=yes
+if [ -n "$force_color_prompt" ]; then
+    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
+	# We have color support; assume it's compliant with Ecma-48
+	# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
+	# a case would tend to support setf rather than setaf.)
+	color_prompt=yes
+    else
+	color_prompt=
+    fi
+fi
+
+if [ "$color_prompt" = yes ]; then
+    PS1='${debian_chroot:+($debian_chroot)}\[\033[33;1m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+
+else
+    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
+fi
+unset color_prompt force_color_prompt
+
+# If this is an xterm set the title to user@host:dir
+case "$TERM" in
+xterm*|rxvt*)
+	PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
+    ;;
+*)
+    ;;
+esac
+
+#ADDING ENV VARS 
+# ---------------------
+
+export PATH=$PATH:/bin:/usr/bin
+
+#info path
+export INFOPATH=$INFOPATH:"~/git/info"
+
+# EDITOR thing
+export ALTERNATE_EDITOR=emacs
+export EDITOR=emacsclient
+export VISUAL=emacsclient
+export EDITOR
+
+# if [ -x $HOME/bin/default_editor ]; then
+#     export EDITOR=$HOME/bin/default_editor
+# else
+#     export EDITOR=`which vi`
+# fi
+
+# Sets the Mail Environment Variable
+MAIL=/var/spool/mail/yagnesh && export MAIL
+
+# ---------------------
+#FUNCTIONS
+# ---------------------
+
+# CAT & MORE combined
+function cm () { cat $1 | more; }
+
+####
+#-----------------------------------------------------------------
+####
+
+function _exit()        # Function to run upon exit of shell.
+{
+    echo -e "Well Done YAG baby"
+}
+trap _exit EXIT
+
+function cuttail() # cut last n lines in file, 10 by default
+{
+    nlines=${2:-10}
+    sed -n -e :a -e "1,${nlines}!{P;N;D;};N;ba" $1
+}
+
+s() { # do sudo, or sudo the last command if no argument given
+    if [[ $# == 0 ]]; then
+        sudo $(history -p '!!')
+    else
+        sudo "$@"
+    fi
+}
+
+psgrep() {
+	if [ ! -z $1 ] ; then
+		echo "Grepping for processes matching $1..."
+		ps aux | grep $1 | grep -v grep
+	else
+		echo "!! Need name to grep for"
+	fi
+}
+
+grab() {
+	sudo chown -R ${USER} ${1:-.}
+}
+
+# clock - A bash clock that can run in your terminal window. 
+clock () 
+{ 
+while true;do clear;echo "===========";date +"%r";echo "===========";sleep 1;done 
+}
+
+#-------------------------------------------------------------
+# Misc utilities:
+#-------------------------------------------------------------
+
+function ask()          # See 'killps' for example of use.
+{
+    echo -n "$@" '[y/n] ' ; read ans
+    case "$ans" in
+        y*|Y*) return 0 ;;
+        *) return 1 ;;
+    esac
+}
+
+# Make the following commands run in background automatically:
+#function firefox() { command firefox "$@" & }
+
+#+END

File dotgitconfig

+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.gitconfig
+[user]
+	name = Yakkala Yagnesh Raghava
+	email = yagneshmsc@gmail.com
+
+[color]
+	ui = true
+ [color "branch"]
+     current = yellow reverse
+     local = yellow
+     remote = green
+ [color "diff"]
+     meta = yellow bold
+     frag = magenta bold
+     old = red bold
+     new = green bold
+ [color "status"]
+     added = yellow
+     changed = green
+     untracked = cyan
+ [color "diff"]
+     whitespace = red reverse
+ [core]
+     whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
+     excludesfile = ~/.gitignore_global
+
+[alias]
+    st = status
+    ci = commit
+    cam = commit -am
+    br = branch
+    brd = branch -d
+    co = checkout
+    cob = checkout -b
+    df = diff
+    lg = log -p
+    lol = log --graph --decorate --pretty=oneline --abbrev-commit
+    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
+    staged = diff --cached

File dotgitignore_global

+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.gitignore_global
+# Compiled source #
+###################
+*.com
+*.class
+*.dll
+*.exe
+*.ex
+*.o
+*.so
+
+# Packages #
+############
+# it's better to unpack these files and commit the raw source
+# git has its own built in compression methods
+*.7z
+*.dmg
+*.gz
+*.iso
+*.jar
+*.rar
+*.tar
+*.zip
+
+# Logs and databases #
+######################
+*.log
+*.sql
+*.sqlite
+
+# Back Ups #         
+############
+*.bak
+
+# OS generated files #
+######################
+.DS_Store?
+ehthumbs.db
+Icon?
+Thumbs.db
+
+# buildlog i keep in one place
+buildlog/
+# -*- mode: shell-script; -*-
+#+DEST=$HOME/
+#+FNAME=.profile
+
+# ~/.profile: executed by the command interpreter for login shells.
+# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
+# exists.
+# see /usr/share/doc/bash/examples/startup-files for examples.
+# the files are located in the bash-doc package.
+
+# the default umask is set in /etc/profile; for setting the umask
+# for ssh logins, install and configure the libpam-umask package.
+#umask 022
+
+# if running bash
+if [ -n "$BASH_VERSION" ]; then
+    # include .bashrc if it exists
+    if [ -f "$HOME/.bashrc" ]; then
+	. "$HOME/.bashrc"
+    else # if not look for atleat bin
+    # set PATH so it includes user's private bin if it exists
+	if [ -d "$HOME/bin" ] ; then
+	    PATH="$HOME/bin:$PATH"
+	fi
+    fi
+fi
+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.screenrc
+
+# Set the default window name to 
+shelltitle "$ |bash"
+startup_message off
+
+# terminfo and termcap for nice 256 color terminal
+# allow bold colors - necessary for some reason
+attrcolor b ".I"
+# tell screen how to set colors. AB = background, AF=foreground
+termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+# erase background with current bg color
+defbce "on" 
+
+# Some decryption hints:
+# %{= KW}     background light black (aka dark gray) with foreground light white
+# %{= wb}     background dark white (ake light gray) with foreground dark blue
+# %-Lw        all windows before the current window.
+# %n%f %t     current window number, flags and title.
+# %+Lw        all windows after the current window.
+# %-=         pad remaining spaces.
+# %H          hostname.
+# %M%d %s     month and day (MmmDD) and current time (HH:MM).
+
+#Original : caption always "%{= gk}%-Lw%{= rW}%50> %n%f* %t %{-}%+Lw%< %= %{= Gk} %H %{= rW} %l %{= Gk} %0c:%s %d/%m %{-}"
+#caption always "%{= KW}%-Lw%{= wb}%n %t %{= KW}%+Lw %-=| ${USER}@%H | %M%d %c%{-}"
+
+caption always "%{= gk}%-Lw%{= rW}%50> %n%f* %t %{-}%+Lw%< %= %{= Gk} %H %{-}"
+
+screen -t GIT 0 
+screen -t MAPI 1
+screen -t ServersMAPI 2 
+screen -t gEVO 3 
+screen -t OpenChange 4 
+screen -t GODMODE 5
+screen -t Misc 6
+# -*- mode: conf; -*-
+#+DEST=$HOME/
+#+FNAME=.wgetrc
+
+###
+### Sample Wget initialization file .wgetrc
+###
+
+## You can use this file to change the default behaviour of wget or to
+## avoid having to type many many command-line options. This file does
+## not contain a comprehensive list of commands -- look at the manual
+## to find out what you can put into this file.
+## 
+## Wget initialization file can reside in /usr/local/etc/wgetrc
+## (global, for all users) or $HOME/.wgetrc (for a single user).
+##
+## To use any of the settings in this file, you will have to uncomment
+## them (and probably change them).
+
+##
+## Global settings (useful for setting up in /usr/local/etc/wgetrc).
+## Think well before you change them, since they may reduce wget's
+## functionality, and make it behave contrary to the documentation:
+##
+
+# You can set retrieve quota for beginners by specifying a value
+# optionally followed by 'K' (kilobytes) or 'M' (megabytes).  The
+# default quota is unlimited.
+#quota = inf
+
+# You can lower (or raise) the default number of retries when
+# downloading a file (default is 20).
+#tries = 20
+
+# Lowering the maximum depth of the recursive retrieval is handy to
+# prevent newbies from going too "deep" when they unwittingly start
+# the recursive retrieval.  The default is 5.
+#reclevel = 5
+
+# Many sites are behind firewalls that do not allow initiation of
+# connections from the outside.  On these sites you have to use the
+# `passive' feature of FTP.  If you are behind such a firewall, you
+# can turn this on to make Wget use passive FTP by default.
+#passive_ftp = off
+
+##
+## Local settings (for a user to set in his $HOME/.wgetrc).  It is
+## *highly* undesirable to put these settings in the global file, since
+## they are potentially dangerous to "normal" users.
+##
+## Even when setting up your own ~/.wgetrc, you should know what you
+## are doing before doing so.
+##
+
+# Set this to on to use timestamping by default:
+#timestamping = off
+
+# It is a good idea to make Wget send your email address in a `From:'
+# header with your request (so that server administrators can contact
+# you in case of errors).  Wget does *not* send `From:' by default.
+#header = From: Your Name <username@site.domain>
+
+# You can set up other headers, like Accept-Language.  Accept-Language
+# is *not* sent by default.
+#header = Accept-Language: en
+
+# You can set the default proxy for Wget to use.  It will override the
+# value in the environment.
+#http_proxy = http://proxy.yoyodyne.com:18023/
+
+# If you do not want to use proxy at all, set this to off.
+#use_proxy = on
+
+# You can customize the retrieval outlook.  Valid options are default,
+# binary, mega and micro.
+#dot_style = default
+
+# Setting this to off makes Wget not download /robots.txt.  Be sure to
+# know *exactly* what /robots.txt is and how it is used before changing
+# the default!
+robots = off
+
+# It can be useful to make Wget wait between connections.  Set this to
+# the number of seconds you want Wget to wait.
+#wait = 0
+
+# You can force creating directory structure, even if a single is being
+# retrieved, by setting this to on.
+#dirstruct = off
+
+# You can turn on recursive retrieving by default (don't do this if
+# you are not sure you know what it means) by setting this to on.
+#recursive = off
+
+# To have Wget follow FTP links from HTML files by default, set this
+# to on:
+#follow_ftp = off

File place_all.pl

+#!/usr/bin/env perl
+#---------------------------------------------------------------------------
+# Author: yagnesh raghava yakkala  Email: yagneshmsc@NOSPAMgmail.com
+# DATE: 2010-08-19
+# Purpose:  this document puts all dot files in correct folders and
+#  changes the names as well (destination and name should be in the file)
+# Current Version: 0.1
+# Latest change by yagnesh on <2010-08-27 Fri>
+#---------------------------------------------------------------------------
+use strict;
+use warnings;
+use File::Basename;
+use File::Copy;
+
+my $Home = $ENV{'HOME'};
+my $base_dir = shift // '.' ;
+my ($this_script)=fileparse("$0"); # aquire the script name
+my @excludes = ( '.gitignore','nytprof.out','place_all.pl' ) ; # add here for skipping from process by this script
+opendir(my $dh, $base_dir ) || die  "cannot open Directory $base_dir : $! \n";
+my @files = readdir($dh);
+closedir $dh;
+
+sub get_file_details {
+  my $fname_in = shift ;
+  my $dir;
+  my $fname_out;
+
+  open(my $fh, '<', "$fname_in") or die "cannot open $fname_in :$! \n";
+
+  while (<$fh>) {
+    if (/\#\+DEST=(.*)/i) {
+      $dir = $+;
+    }
+
+    if (/\#\+FNAME=(.*)/) {	# acquire the destination file name 
+      $fname_out = $+;
+    last if (defined($dir) and defined($fname_out));
+    }
+  }
+  close($fh);
+  return(  "$dir", "$fname_out" )
+}
+
+foreach my $x (@files) {
+  next if ( -d $x ); # skip for . and .. or any dirs comes in
+  next if ( "$this_script" eq $x ); #skip the current script
+  next if ($x ~~ @excludes); #skip those are in excludes
+  my ($dest_dir , $copy_as ) = get_file_details($x);
+  $dest_dir =~ s/\$HOME/$Home/;
+  my $copy_as_in = "$dest_dir"."$copy_as"; # concat the destnation dir and file
+  print $x ,"  -->  " ,$copy_as_in, "\n";
+  copy($x,$copy_as_in) or die "Copy Failed: $!";
+}