I hereby claim:
- I am jesperordrup on github.
- I am jesperordrup (https://keybase.io/jesperordrup) on keybase.
- I have a public key ASAcTjnv9Z6oOOa2xJ9HSvAdWJLVC9MYy-Ns_prEcynpIAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using MailChimp; | |
using MailChimp.Helper; | |
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.ServiceModel.Channels; |
@{ | |
Layout = null; | |
string primaryUrl = "www.jesper.com"; | |
string adjustedUrl = ""; | |
bool doRedirect = false; | |
var thisUrl = HttpContext.Current.Request.Url; | |
string host = thisUrl.Host.ToLower(); | |
string PathAndQuery = thisUrl.PathAndQuery; |
var sCoord = new GeoCoordinate(sLatitude, sLongitude); | |
var eCoord = new GeoCoordinate(eLatitude, eLongitude); | |
return sCoord.GetDistanceTo(eCoord); |