小编Hig*_*mos的帖子

如何在GitHub上运行post-receive hook

如何在GitHub中运行post-receive钩子?我知道有一个web-one但是我想写一个自定义脚本,不想从github收到帖子.

git github githooks

22
推荐指数
1
解决办法
2万
查看次数

Windows Phone 8 Geolocator在模拟器上返回虚假位置

我试图在xaml windows phone 8 app中显示我的位置.但总是当我试图找到我当前的位置时,我得到假的微软位置,即使使用默认的地图应用程序.例如,上面的代码总是返回相同的纬度和经度:

Geolocator locator = new Geolocator();
locator.DesiredAccuracy = PositionAccuracy.High;
Geoposition position = await locator.GetGeopositionAsync();
LatitudeValue.Text = position.Coordinate.Latitude.ToString("0.00");
LongitudeValue.Text = position.Coordinate.Longitude.ToString("0.00");
Run Code Online (Sandbox Code Playgroud)

c# windows-phone windows-phone-8 windows-phone-8-emulator

4
推荐指数
1
解决办法
4057
查看次数