Distance Calculator with map in Django

I had an urgent need to embed a distance teller map into my Django application. I used many pre-made Django modules like GeoDjango etc, but they did not serve my need. Then I used Google map distnce calculator api and tweaked some code of my application to save the distance in database. So these are … Continue reading

Updating the Git Repository

First of all go into the project folder in your system. Like in my system, I do : $ cd Automation Then apply these commands : git add . git push origin master git commit -a -m “Your message here” These commands will successfully update your repository.

Trip to Rajgarh (Hp)

If I wind up all the experiences at trip, I can then say that it was full of enjoyment, adventure, meditation and a religious trip. Our journey began at 4:30 A.M, from college. We, then had breakfast at Pinjore garden at about 7:30 A.M. It is a very nice place, calm and close to nature … Continue reading

Why FOSS?

Free and Open Source Softwares depict different meaning to all. Free to all, means that it is free of cost. For sure it is free, but most importantly it means “freedom to speak”, that means you are free to explore it, develop it, configure it or distribute it, irrespective of¬†proprietary softwares.¬† Open Source to some … Continue reading

Some Useful terminal commands

Playing Video through terminal command. Select any of the player you have. I have tried with mplayer and vlc. If you don’t have just install it using ubuntu Software center. Then go to the folder which contain your videos or songs. And run following command : mplayer a.flv or for vlc player vlc a.flv Command … Continue reading

Uploading the project on sarovar using CVS

CVS treats collections of files as single units, making it easy to work on large projects and permitting multiple users to work on the same file. CVS also provides valuable self-documenting features for its utilities. So recently I needed to upload my project on Sarovar using CVS. The steps I followed to upload the project … Continue reading

Making Certificate in Gimp

Making Certificate in Gimp is very easy. You just need to follow all the steps given below and you are done. For this you just need to have an image editing tool, named Gimp. If you don’t have it in your system, just install it with the issuing following command on terminal : sudo apt-get … Continue reading

Updating the database using Shell in Django

Recently, I had a urgent need to change or say, update the database fields without affecting any code of my Django projects. This came to me as a challenge. Sometimes these challenges help us to learn a lot. I had a table named ‘Amount’ which had 2 columns as field and other_field.These columns were filled … Continue reading

How can we do Shell Scripting

A shell script is a file that contains commands that shell can execute. he commands in the shell script can be any commands you can enter in response to a shell prompt. Let me explain you how to do shell scripting with some examples : First of all create a new file with extension .sh … Continue reading