Driving Distance Calculator using Google Maps API

I had a post on Google Drive API few days back, It was just an introduction to Google Drive API and yesterday I got an opportunity to taste Google Maps API for the first time. The problem was We had to calculate Distance between two points and then send it to the database using django framework (django work was not done by me as I don't know anything about it). My task was to just get the distance and store it in a variable, and send it via form. Creating the front end application for distance calculator is very easy and even beginner with intermediate knowledge of HTML and Javascript can create it in just few minutes.

World's Longest Palindrome


You might have created a palindrome program in your basic oops class. But have you ever thought of creating the biggest palindrome sentence. Though with some counter -claims Peter Norvig has been a ble to find a 17,826 word palindrome. The program he used was written by him in just few hours after his kids were asleep. Read full story here. The palindrome sentence goes like this.
A man, a plan, a cameo, Zena, Bird, Mocha, Prowel, a rave,
Uganda, Wait, a lobola, Argo, Goto, Koser, Ihab, Udall, a revocation,
Ebarta, Muscat, eyes, Rehm, a cession, Udella, E-boat, OAS, a mirage,
IPBM, a caress, Etam, FCA, a mica, Ojai, Lebowa, Yaeger, a barge, Rab,

The Code Linux

It's 0104hrs and I am up yet, I have finished watching some selected scenes of social network, watched Pirates of Silicon Valley and now watching documentary The Code Linux. Movies such as these, provide motivation and a feel and make you remember what you are aimed at.
Due to illness that I suffered from last 15days, I was little depressed so decided to watch these videos that put me on track and make me wake up excited as I am living my dream, I am about to become a computer engineer, only worry I have is Will I be a good engineer?. This question haunts me a lot. I am person that wants to change the world. Put a dent in this world, make some recognition. I want to live my life as a legend. All these are but yet dreams, I keep on pushing myself to turn them into goals and not just dreams. I am embedding this documentary from The Code Linux.

This is another video that I love

Mac Vs Linux Security.

There has always been going a debate who is  more secure Windows, Linux or Mac. I was curious too so did a bit of search and found some interesting results. So without wasting much time let's go straight to facts.

Uploading presentation to youtube.

This is my first post on demand. (It feels like a boss) To upload a presentation video (from ubuntu) to youtube, you need few ingredients.
1) Kazam screen recorder
2) Odp presentation on Impress
3) Youtube account.

1) First of all create an odp presentation with effects and animations


First Smiley :-)

The First Smiley :-)

The smiley :-) and its many variants are an important (and fun!) part of the worldwide online social culture -- allowing emotions to be conveyed in plain text.  It has been in widespread use since the early '80s, when it was first proposed.  Yet the original message in which the smiley was invented had been lost -- until now. :-)  After a significant effort to locate it, on September 10, 2002 the original post made by Scott Fahlman on CMU CS general bboard was retrieved by Jeff Baird from an October 1982 backup tape of the spice vax (cmu-750x).  Here is Scott's original post:
19-Sep-82 11:44    Scott E  Fahlman             :-)
From: Scott E  Fahlman <Fahlman at Cmu-20c>

I propose that the following character sequence for joke markers:

:-)

Read it sideways.  Actually, it is probably more economical to mark
things that are NOT jokes, given current trends.  For this, use

:-(

Above was an extract from http://research.microsoft.com/en-us/um/people/mbj/smiley/smiley.html

Making your first PHP Google Drive Application


 It's afternoon here, clouds and sun are playing hide and seek. I have exams day after tomorrow, have broken various assignment deadlines and now trying to make a console application for google drive using recently released google drive api and sdk. First of all I went to developers.google.com and clicked on Api Console icon, Clicked on create project, and then from the list that came enabled google drive api and sdk. After that went and click API access to create credentials. Drive API uses OAuth2. Create credentials is a step by step process, at first screen add your logo, name of your application. At the second screen when it asks whether you want web application, installed application,etc. Click on Installed application and you will have an option to choose operating system, options are for ios,android and other. Click on other.

Installing Gnome3 on ubuntu

Yup! there is an official ubuntu package but the problem with such official packages is that the stabilization periods of operating system project as big as ubuntu are also one of long periods. So usually what you get via official packages is an outdated application. But as discussed in post for installing wt, you can easily add a third party repository(at your risk) and install using that. So to install gnome 3 on ubuntu, press ctrl +t and type
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell
 and when Installation is done, Reboot and now you have your gnome 3 on ubuntu. Congractulations

It's 0630 hrs in the morning, tea time and my installation is on it's way. I will come back here with screenshots and what to do after installing gnome? after i reboot.

It's 0640 hrs and I am here after a reboot.
After you reboot, in the login screen you will have additional options from where you can choose which interface you want, gnome classic, gnome, or gnome classic (without effects).
You can choose your type here and then what you have is an amazing innovative shell. The best part that i love about Gnome is the ability to add gnome extenstions. So just go to extension . http://extensions.gnome.com and add extensions to customize gnome for your ease. You can also install gnome tweak tool with

sudo apt-get install gnome-tweak-tool

How to install wt : Witty (2)

Continued from What the witty
This is the second post among the various wt related posts. Wt is a c++ web toolkit hat you can use to make websites in witty. Websites made in witty are efficient, fast, light and greener as compared to other websites made in other web based frameworks and technologies. This post is on how to install wt.
There are three ways in which you can install witty on ubuntu operating system for other operating system specific tutorials go to witty platform specific instructions on it's wiki page. This link includes instructions from installing witty on debian, windows, arch linux, etc etc  and even android. I am focusing now in this post on ubuntu and as i install and use wt on other operating systems that i eventually will, i will post on this blog. There are three ways of installing witty on ubuntu, they are:

What the witty : Witty

Go to the post "installing wt"
After a struggle of various days, weeks and months I have been through witty and here writing this post a day after i have successfully completed my first website in wt.Wt has been a great learning experience and probably this was the first time that i depended just on documentation and chose the method of "learning by doing" instead of "learning and doing". Thanks to peter norvig for that. So now i am here to present you with series of wt related posts that will help you to get through the places where i was stuck and this is the first post related to wt.

WT pronounced as "witty" is a c++ web toolkit. A toolkit made in c++ that will help you make website in c++.  You may ask why to choose wt