Pages

Monday, April 6, 2015

Syntax highlighter in google blogger

As google blogger does not allow to upload any css and javascript folder, one need to think in different way to make use of highlighter. So here is step by step guide to have it on your blogger
1. Download syntax highlighter from here
2. Copy it in your dropbox public directory.
3. Go to template tab in your blogger setting and click on "edit html"
4. Now just above end of head tag, put the link of public url from your dropbox account.




5. Now you should remember to choose HTML mode while creating new post. An example to make syntax highlight for python would be

#!/usr/bin/python
print "Hello, Python!";
""

This would result in following python code in your blog:

#!/usr/bin/python
print "Hello, Python!";
""

Sunday, April 5, 2015

About Me

Hi, This is santosh baral from country of Himalaya, Nepal. I believe I have technical mind with spiritual heart. In this blog, I will try to write about everything that comes up in my mind.  Any feedbacks would be really appreciated

Saturday, September 19, 2009

What if when you forget the login password, when using ubuntu

"There is no any option left other than formatting your computer when you forget the login password in ubuntu". This is not really true . If you forget your password you are requested to follow the instructions below.

1. Start your computer.
2. After sometime a screen appears where you can choose whether to boot normally or use recovery mode. Press the letter 'E' then your are redirected to a page . Type the 'single' for using single user mode and press 'b' for boot. Then, You should choose the recovery mode to enter into the non-GUI mode.
3. After some time choose 'drop root down to window'.
4. Then you now have the privilege to setup password .You can add user with help of command 'adduser username' and password by using 'passwd password'. Ok cheers Its over.

One last thing i would like to say is that you can switch from GUI to command line by pressing ctrl+alt+F2 and also to switch from command to GUI mode press 'ctrl+alt+F7'.

Friday, September 18, 2009

15 days to mustang


It is really great experience in my life. Mustang is very remote district of our country, Nepal. If time would rotate its clock to two to three years before, people would have to walk to go to the see the beauty of mustang. But at this time bus and jeep runs on gravel road of it. When i land on the land of jomsom, i feel greatly cold. I saw mountains on both side ,in front of me there is high hills with no trees at all, and between them kaligandaki river is flowing with making sound indicating the existence of it.

I think it is the place where heaven directly come into the earth and stop at this place.And God shiva is dancing his nritya 'tandap', river flow from the mountain as if it is orignating from the jatta of shiva. I sometimes even saturated with drinking the direct water flowing from himalayas, dont even eat rice. And sometime i reject rice for having many bites of apple which i directly picked from the tree of it.
It is really good to have some puff of cigarettes with marpha and wuwa. Marpha and wuwa are some brand of whiskey that are popular in mustang. Also there is great experience of walking for many hours alone in the road when there is no-one coming and going in the road. There is always confusing sound coming from the high hill beside the road which sounds like sound of river flowing beside the another side of road.
I think you would never had seen the mountain in the south direction but scenarios is amazingly great in mustang....