Skip to content

Instantly share code, notes, and snippets.

View shorepound's full-sized avatar
:octocat:
Set your status

Nathan Arnold shorepound

:octocat:
Set your status
View GitHub Profile

Keybase proof

I hereby claim:

  • I am shorepound on github.
  • I am shorepound (https://keybase.io/shorepound) on keybase.
  • I have a public key whose fingerprint is B6DA C73B E3BB 410D 51D0 1443 1821 3054 3655 9332

To claim this, I am signing this object:

public string MassageAddress(string line)
{
StringBuilder sb = new StringBuilder (line);
sb.Replace("# ","");
sb.Replace("#","");
line = sb.ToString();
string[] sParts = line.Split(' ');
for(int i = 0; i < sParts.Length; i++)
{
switch(sParts[i].ToString())
function getLocation(){
if (navigator.geolocation){
navigator.geolocation.getCurrentPosition(getAddress);
} else{
alert("Geolocation is not supported by this browser.");
}
}
function getAddress(position){
var lat = position.coords.latitude;