Easy Sanskrit verbs 

Posted: July 27, 2017 in Language
Tags: ,

Learning of the day ..

Learnt some of the Sanskrit verbs and associated with body parts to remember those


Sanskrit Nouns

Posted: July 26, 2017 in Language
Tags: ,

Learning of the day !!!

Some of the easy Sanskrit nouns

Sanskrit Text: “Arjuna uvacha : senayor ubhayor madhye ratham sthapaya me acchutha”

Meaning: Arjuna requests Lord Krishna to drive his chariot into center of the two armies

Senayo: – Of the armies  – referring to the armies of Pandavas and Kauravas
Ubhayo – of both
Madhye – in the middle
Ratham – chariot
Sthapaya – stop
Me – My
Acchutha – the infallible

With no intention of fighting against his own kins, Arjuna requests his Sarathi to take him into the center of two armies. But, the question here is why he wants to move into the center of the army?

May be he wants to be a spectator and see what is going on against Pandavas or he is so curious to see the kins and relatives who turned against them.

In this world, we come across the same situation many times, when we have to make a decision and we are so confused on which side we should fall. Only way we can get clarity on situation is by standing in the middle and weighing with the pros and cons of the situation. May be thats what Arjuna is trying to do.

Learning L shaped OLL

Posted: July 24, 2017 in Uncategorized

There are 6 L shaped OLLs . In that first two can be easily memorized as one is mirror case of another . 

For the faster recognition I always write oll algorithm in notebook with a 2D notation.

First case is pretty easy to recognize. The hyphen in the outer layer denotes the yellow color . And “T” is RUR’U’.

Second case is easy to execute . But for faster recognition it would be easy to memorize it as third diagram. 

Double pawn in Ruy Lopez

Posted: July 24, 2017 in Uncategorized

Learning of the day :

This is the tactics that I learnt today to eliminate double pawn position while playing as black against Spanish Opening( screenshot given below)

We need to play the move Nge7(knight e7) after white plays bishop b5.

If white decides to capture the knight ,we can win back using the other knight. But , what if white doesnt trade and decides to castle ? By moving knight to e7 we blocked our dark square Bishop and king couldn’t castle.

We can play the move a6 which will threaten white bishop to move back. Now bishop moves back to A4. black plays b5 to put more pressure. White bishop settles in the square B3

As the threat against the knight is eliminated, we can move Knight g6. However , black needs to keep in mind that white is eying on the f7 pawn.

Now black can think about moving his dark square bishop and castle on kings side. And then place light squared bishop to b7.

Played couple of games today with this position and felt comfortable than having double pawn .

Good luck !!!

Many of us would have encountered this situation where we need to run some script which takes hours together to complete.

And most of the time the shell goes inactive and it becomes really hard to track what has happened.

One simple solution for that is to run the script in background.\

For example:

./run_my_script.sh &

Oh.. But where are my logs.. Yes, its difficult for us to track what has happened, unless we redirect our output to some specific file .

Anyhow, we have a posix command in linux which can do this stuff. Its nohub.

Checkout the wikipedia link for it here


all you need is to add nohup parameter before your script

nohup run_my_script.sh

Even if the shell goes down, doesnt matter.. We will have the process running in the background. And we can track the logs from nohub.out file . This file will be autocreated in the directory where we ran the script.

For installing python releated packages we need to use pip. Hence installing pip in our server is our first task.

the package name for pip is “python-pip”. Hence the straight forward approach to install pip would be

apt-get install python-pip

But, if the source list is not updated properly , we will end up with older version of pip (in my case i got 1.5.3 however, 8.1.1 is the latest one). Hence to avoid this issue , we need to follow the approach given in wikipedia

i.e  to download the package from internet via this url . Hence we use the curl command

curl https://bootstrap.pypa.io/get-pip.py

Once get-pip.py gets downloaded. run the python file to install pip

python get-pip.py

Even beyond this, if we need to install pip package without internet .

Download the source from https://pypi.python.org/pypi/pip

wget https://pypi.python.org/pypi?:action=show_md5&digest=6b86f11841e89c8241d689956ba99ed7

extract the folder

tar -xvzf pip-8.1.1.tar.gz

Move inside the folder and install it

cd pip-8.1.1; python setup.py install