Skip to main content

Face Problems don't run away from them

One morning in Sarnath, after visiting the temple of Mother Durga,Swami Vivekananda was passing through a place, where there was a large tank of water on one side and a high wall on the other. Here, he was surrounded by a troop of large monkeys. They were not willing to allow him to passâ ¦and there was no other way. As he tried to walk past them, they howled and shrieked and clutched at his feet. As they pressed closer, he began to run; but the faster he ran, the bolder the monkeys got and they attempted to bite at him. When it seemed impossible for him to escape, he heard an old sannyasi calling out to him: "Face the brutes!"  The words brought him to his senses. He stopped running and turned majestically to boldly face the irate monkeys. As soon as he did that, they fell back and fled! With reverence and gratitude he gave the traditional greeting to the sannyasi, who smilingly responded with the same, and walked away.
Be Bold.. Be Strong.. Be Heroes..

I got inspiration from this and had a similar experience

I used to stay in hostel during my engineering n daily morning used to go to a near by shiva temple which was in the middle of a farm land full of trees.

One day I went to the temple.. stayed there for a while n then 2 girls came to the temple.
I was meditating, after pooja they sat at one end, after a while they left n came back within few minutes.I thought boys must be there waiting to tease them that is why they didnt go. I came out, took a turn at the end & saw that there were around more than 20 monkeys sitting in the middle of the small road. Initially I thought to go back n wait for sometime as the monkeys might attack, but a thought occurred to me, I remembered Swami Vivekananda’s story.

I decided to see what happens.I knew its risky bcoz these were wild monkeys. Although all of them were sitting beside the road, the moment I took first step, one monkey almost came very close to mehowling and shrieking near my feet, then rest all monkeys sat in the middle of the road, facing towards me as if they are threatened and they are about to attack.

I saw into its eyes n took another step ( convincing myself that I believe Swami Vivekananda n nothing will happen to me) they all cleared the road, My friends from hostel terrace were watching this, when I went back to hostel, they were saying I wanted to become hero infront of girls and that is why I did that. I said no, n told them the real intention n inspiration was Swami Vivekananda’s Story.


Popular posts from this blog

How to Install Hadoop (2.7.3) on Ubuntu (16.04 LTS)

As I am planning to learn Hadoop, I wanted to install Hadoop (2.7.3) on my Ubuntu (16.04 LTS) and I followed the steps mentioned in the documentation on the Apache Hadoop website. I encountered few problems which are mentioned below, spent some time finding solution to them.

Below are the steps I followed and the description of the error is at the end of this post and also I have mentioned what I missed and what caused these errors.

Step 1. Download Hadoop installation file. For Hadoop 2.7.3 version I used the following link 2. (Assuming you have downloaded the file into /home/<username>/Downloads folder

$ tar zxf hadoop-2.7.3-src.tar.gz
This will extract the files into a folder  "hadoop-2.7.3" .

Step 3. I moved the file to /home/<username> folder (many suggest to move it into /usr/local but I prefer to keep it here, may be once I learn more about linux I might get into tha…

Javascript KeyCode Reference table for Event Handling

The post explains Keyboard event handling using javascript.Javascript events are used to capture user keystrokes. Below is a table of key codes for the keys on a multimedia keyboard. If this table is inconsistent with your own findings, please let me know.

Java Script Code to Find Key code

<script language="JavaScript">
document.onkeydown = checkKeycode
function checkKeycode(e) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
alert("keycode: " + keycode);

Key Code Reference Table
Key PressedJavascript Key Codebackspace8tab9enter13shift16ctrl17alt18pause/break19caps lock20escape27page up33page down34end35home36left arrow37up arrow38right arrow39down arrow40insert45delete46048149250351452553654755856957a65b66c67d68

Replacing OpenJDK with Oracle JDK in Ubuntu

You can completely remove the OpenJDK and fresh Install Oracle Java JDK by the following steps:
Remove OpenJDK completely by this command:
sudo apt-get purge openjdk-\*Download the Oracle Java JDKhere.
Note: download appropriate file, for example if your system is x64 Ubuntu (i.e, Debian) the download file is named like this: jdk-8u51-linux-x64.tar.gz
To find which version is your OS, check hereCreate a folder named java in /usr/local/by this command:
sudo mkdir -p /usr/local/javaCopy the Downloaded file in the directory /usr/local/java. To do this, cd into directory where downloaded file is located and use this command for copying that file to /usr/local/java/:
sudo cp -r jdk-8u51-linux-x64.tar.gz /usr/local/java/CD into /usr/local/java/ directory and extract that copied file by using this command:
sudo tar xvzf jdk-8u51-linux-x64.tar.gzAfter extraction you must see a folder named jdk1.8.0_51.Update PATH file by opening /etc/profile file by the command sudo nano /etc/profile and past…