At the weekend I spend some time testing aroung with geolocation and coordinates wihtin Windows Phone 7 development  and wrote a Method,  which calculates the distance of two given geocoordinates (Point A –> LatitudeA | LongitudeA and Point B –> LatitudeB | LongitudeB ) in kilometer (km).

It works just fine and  I want to share the code with everyone, so here it is

Grab the code here –>

Maybe it`s helpful for one or the other.


As the title suggests, this blogpost is all about setting up Git on your Windows machine and connecting it to, a great open source Git repository hosting service with social components!

There are several steps one have to follow. I present you an logical order so the whole setting-up process should work fine!

  • Download msysgit from This is the “Git for Windows” package. On the left side of the msysgit-Page choose either the netinstall- or the fullinstall-package. Download msysgit and install it on your machine. If the installprocess was successful you will see a BASH window like this below


Within the shell you`re able to use all Git features just by hacking in the appropriate commands.

  • After successful installing Git for Windows, head over to, create an account, if you don`t have one already and create a repository, give it a name and follow the Github instructions.
  • At some point you have to enter a public key. You can generate you a key by using the ssh-keygen command within the bash. Just type ssh-keygen –t dsa for example. A dialog like the following appears

Generating public/private rsa key pair.
Enter file in which to save the key (/Users/cordellcp3/.ssh/id_rsa): <enter>
Enter passphrase (empty for no passphrase): <enter>
Enter same passphrase again: <enter>
Your identification has been saved in /Users/cordellcp3/.ssh/id_rsa.
Your public key has been saved in /Users/cordellcp3/.ssh/
The key fingerprint is:

  • It automatically adds a new entry in your known_hosts file. Now switch to your .ssh/ folder and open your generated file and copy the complete line ssh-rsa AAAA… to the clipboard. After that head over to, click on “Account Settings”, choose SSH Public-Keys and past your copied content in, save it and your done!

I hope that this post is a help for someone, who wants to start using Git and Github Smiley

There are also PlugIns for Visual Studio (2008, 2010) like Git Extensions or Git Source Control Provider.