Saturday, 3 November 2018

A dream trip



It's strange that so many people on earth, are living without having such a mystic experience and they have no clue about it. People try meditation for years without achieving anything concrete.  One night trip to can alter your conscience in such a profound way that no amount of words or picture can explain. The only way is to experience one.


It all started with a feeling of ecstasy, with slightly uncontrolled laughter. Soon it was clear that any light source or colours were appearing brighter than usual. This is due to that the fact pupil gets dilated. Any sort of gracious movement attracts your attention.
Body coordination was affected even simple task like walking or plugging the charger of the phone was not easy.
The heightened sense of body awareness can make you feel the structure of your own skeleton, muscles, pulses movement etc. In one situation  I observed a  mosquito was biting me in a completely dark room, I turned on my mobile's flashlight and killed a mosquito with flawless accuracy. Locating a source of minor pain even minor improved distinctly.


Another revelation was regarding Hindu gods and goddess, the aura of their image makes much more sense on such trip. I also felt that whoever created these statues or images in the first place must be in a similar state as I was. People who are indulging in the traditional sense of worship never be able to realise the magnificence of deity.

On turning off the room's light, the hallucination of strange creatures having a head of small man and body of the snake was observed crawling on the wall of rooms.

When in the sober state, there are people who matter to you emotionally. While on the trip they'll appear insignificant. You can talk to them, watch their images without feeling any kind of emotional attachment. There was an absolute feeling of fearless,  and it seemed that I can do anything no matter the complexity. The brain was more interested in thinking about bigger picture rather getting stuck in chores. Overall thought  process was very articulated, without the involvement of any emotion like fear, love, anger etc.
Normally when we look at the face of a stranger, there is a feeling of stress, but when on the trip it was effortless. There is no fear associated to looking around at fellow unknown peoples.

I was able to observe the rapid flicking of AC incandescent light bulb and can distinguish between sounds coming from  4-5 fans of the neighbouring room. Any kind of trippy music video will appear fascinating. The screen of mobile was appearing slightly curve than normal.
In the case of the genre of videos liked by you, there will be a feeling of utter dislike for any kind of violence, abuse, crime, politics etc. Any kind of adult content would be disliked as well.

In the morning I went to the rooftop. Movement of birds like pigeon and eagle was appearing very gracious. Rising sun, clouds, plants very equally fascinating. I can feel the childlike fascination for such things. It seemed to me that certain area of the brain has been activated which trying to connect me to nature. 

Also, foods tasted better, every bit chewed can be felt precisely than ever before.


Since the effect was so profound that there is no doubt that some people resort to it to escape from the problem of reality. Any people regularly undergoing this can be divided into four category
  1. Pleasure - Most people fall in this category and waste the advantage offered, which is supposed to do the greater purpose.
  2. Spiritual - When people use it for this purpose and makes sense of trip. But I have limited knowledge about it.
  3. Self-development - Creative use to boost their materialistic growth and in my view should be the primary target for the trip.
  4. Rehabilitation - Person suffering from depression, negativity can greatly benefit from such a retreat. 
Although effect lasted just one night and early morning. The changes introduced continue affecting my lifetime. It provided me with a very different way to look at life and nature.


Sunday, 28 October 2018

5 Must read books for every men

Below are collection of must read books according to me.

1. A brief history of time by Stephen Hawking.


In this book Stephen Hawking described how scientific community perceived universe in layman term. He have also touched upon subject of how God might have no role in creation of universe.


2. The Art of war by Sun Tzu

Sun Tzu was Chinese military general of ancient china. The Art of war is collection strategy discovered by him. 

You might be thinking that who is fighting war these day, but method discovered by Sun Tzu is applicable to any type of conflict even psychological one.

3. The Way of the Superior Man by David Deida


David Deida 'll teach how to be better man. Some of his advise are rather harsh but practical. For example author insist on living as if your father is dead. Logic behind this is father acts like umbrella, it's okay to take shelter when you are child but once you have grown up, you must leave his shade and struggle yourself to discover your potential.


4. Think and grow rich by Napolean Hill


Napolean Hill had interviewed nearly 500 very rich person of his time to condense their knowledge and wisdom in 16 laws in his book "Think and grow rich".


5. The Mystery Method by Erik Von Markovik

Erik Von Markovik is a "pickup artist". This book is give insight into functioning of any relationship. I have found him first guy to have transferred stages of relationship in a kind algorithmic flow chart.
Definitely a must read for guys looking either to understand relationship or get in one.


Sunday, 17 September 2017

Getting most out of Linux terminal


Here are a few tips that you can incorporate in your Linux terminal to make your life easier. All these settings have to be done in ~/.bashrc file. Also note that you have to  either restart your terminal for changes to take place or just execute this command
exec bash
This basically reloads any config changes that you made in ~/.bashrc.

1. Colourise your terminal

If your terminal is all monotonic black and white consider adding/uncommenting this line in terminal

force_color_prompt=yes

2. Enable tab completion by adding following lines in .bashrc

if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

3. Change colour of Linux prompt username with respect to last exit value.

#CHANGE BASH USER NAME BASED ON EXIT CODE ##
color_exit_code(){
       if  [ $? -eq 0 ]; then
            echo -e "\033[01;32m"  #green
       else
            echo -e "\033[01;31m"   #red
 fi

}
After adding this function , you have called it. Discussed later in this post.

4. Git info on terminal prompt

 Display git branch in terminal and show the status of repository by changing the branch colour name
#GIT COLORING FUNCTION ########################################################
git_set_color(){
   UNTRACKED="$( git status --short 2> /dev/null | awk '{ print $1 }'| grep "??" | wc -l )"
   MODIFIED="$( git status --short 2> /dev/null | awk '{ print $1 }'| grep "M" | wc -l )"
   DELETED="$( git status --short 2> /dev/null | awk '{ print $1 }'| grep "D" | wc -l )"
   RENAMED="$( git status --short 2> /dev/null | awk '{ print $1 }'| grep "R" | wc -l )"
   ADDED="$( git status --short 2> /dev/null | awk '{ print $1 }'| grep "A" | wc -l )"
   REMOTE="$( git status 2> /dev/null | grep "ahead"| wc -l )"
   if [[ "$UNTRACKED" -eq 0 && "$DELETED" -eq 0 ]]; then
           if [[ "$MODIFIED" -eq 0 && "$RENAMED" -eq 0 && "$ADDED" -eq 0 && "$REMOTE" -eq 0 ]]; then
     echo -e "\033[00;32m"  #green
    elif [[ "$MODIFIED" -eq 0 && "$RENAMED" -eq 0 && "$ADDED" -eq 0 ]]; then
     echo -e "\033[01;34m"   #blue
    else
     echo -e "\033[00;33m"   #yellow
    fi
   else
    echo -e "\033[00;31m"   #red
   fi
}
Now call both of these git_set_color and color_exit_code in PS1 variable
Like
if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}$(color_exit_code)\u\[\033[00m\]:\[\033[01;34m\]\w$(git_set_color)$(parse_git_branch)\n\[\033[0;37m\]\$\[\033[00m\]'
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi

Here' s how Linux prompt will look like after changes.
Green colour show clean git repository


Yellow colour show modified files

Red colour show presence of untracked files in repository

Blue colour show commit has not been pushed to remote repository




















Changes colour of username based on exit code 





5. Create alias for useful long commands

Let's create alias for long and frequently used commands like  "sudo openconnect grid1.abc.com" , Now by just executing "vpn"  corresponding command get executed.
alias vpn="sudo openconnect grid1.abc.com"

6. Try different terminal emulator personally I prefer terminator.

Terminator provides features like splitting screen, creating tabs, also broadcast feature. Broadcast feature is really useful if you have to do same task in multiple terminal i.e if you want to  execute same set of commands by logging in multiple computers.

7. Know better alternative to navigate quickly in between directory location

For jumping in between directory location use shortcut like
cd     Jump directly to home directory
cd -   Jump to previous directory location
cd ..  Jump to parent directory

8. Enable Vi or Emacs mode in terminal. 

If you are vim command junky set this in your ~/.bashrc
set -o vi
Else by default you use emacs shortcut
set -o emacs
 which generally start which Ctrl . Here are some sample emacs mode shortcut.

C-a move cursor to (at) beginning-of-line
C-e move cursor to end-of-line
C-f move cursor forward one character
C-b move cursor backward one character
C-n move cursor to next line
C-p move cursor to previous line
C-v scroll file forward by one screenful
ESC v scroll file backward by one screenful
ESC < go to beginning-of-buffer
ESC > go to end-of-buffer
ESC f    move cursor forward one word
ESC b move cursor backward one word

Go more detail go to source .

9. Start using Screen or Tmux.

If you work on the remote server considers using multiplexer like screen or tmux. So that you work without worry about network disconnection or if you want to access running process after some time.

10. git diff vs diff-so-fancy

If you git version control you project, which you must should, you'll find diff-so-fancy a better alternative to plain git diff.

11. Ctrl + R enhanced with fzf

Bash command Ctrl+R is used to browse through earlier command used in terminal, fzf combines it which fuzzy matching. A must try.





Saturday, 16 September 2017

Saviour of Civilisation

Long before technological advancement begun, nature was in kind of perfect harmony. There were instances where single species seems to dominate the landscape for some time but over the course of time, nature used take the lead. In case of human by dint of our Intelligence we seemed to slowed this process.It may take time, nature  will ultimately restore the balance. But it may be too late and may result in slow and painful death like situation for human civilisation. In Hindu mythology all three gods  creation(Brahma), upkeep(Vishnu) and destruction(Shiva) is considered of equal importance. Destruction is not something bad, but in fact it's first step toward new construction.


Earth is facing another major form of extinction of species and this time it is entirely man made.
Earlier major extinction gave way for other suppressed species to flourish. As it is big animals and plants which suffer most in such cases. Till now there has been five major extinction , and we facing sixth extinction.

Increasing population of human has not just affected other species but have also significantly reduced the quality of human life as well. Few decades back is was easy to have a big front yard garden and lot of open spaces to roam. Now a day it only a privilege for a selected riches. Decreasing resources will further degrade lifestyle and increase stress in our life.

So what is solution for all these ? What can be done to ensure to other species of plants and animals thrives as well? Also how to ensure enough availability of resource for upcoming generation?

Some may claim solar energy, nuclear energy, population control or effective use of other technology as way of solution. But I beg to differ these way are too naive to effectively reduce burden of 7.2 billion people.

Destructive approach can be only effective way to free the earth. What such approach will be our saviour?
It may be
1. Nuclear Weapons
2. Massive asteroid Attack
3. Global Infectious Disease
4. Or a reason not yet known to mankind
 
There may be several other reasons, many of which I am unaware of. What part we can play to accelerate this process ? If possible I'll try to address this question in next blog.


Monday, 3 February 2014

Things to do after installing kali linux

After you have finished your kali linux installation , Open the terminal and run the following command. These software can make life much more easier in kali.

1. apt-get install gedit
2. apt-get install recordmydesktop
3. apt-get install etherape
4. apt-get install gnome-tweak-tool
5. apt-get install gcc
6. apt-get install java
7. apt-get install gcc++
8. apt-get install zip
9. apt-get install unzip
10. apt-get install flashplugin-nonfree
11. apt-get install startupmanager
12. apt-get install gimp

After installing these run
13. apt-get update

If you have any problem in installing any of the above software check your   /etc/apt/sources.list that you have required repository  and not other which may break kali installation . Repository in sources.list should be like ----
 ## Security updates
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free

## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free