加载中
(lua版)计算距离的逻辑是从Android的提供的接口(Location.distanceBetween)中拔来的,应该是最精确的方法了

---coding by yuangu(lifulinghan@aol.com) --用于计算2个pgs之间的距离 function computeDistance(lat1, lon1, lat2, lon2) -- Based on http://www.ngs.noaa.gov/PUBS_LIB/inve...

2017/09/17 11:57
695
virutalbox安装macos的一些命令

cd "C:\Program Files\Oracle\VirtualBox" VBoxManage.exe modifyvm "mac" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff VBoxManage setextradata "mac" "VBoxInternal/Devices...

2017/09/13 19:47
556
python获取主机ip的正确方式

我发现网上的大部份方法对都不太行。最终找到了(验证成功了),希望对大家有用: import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(("8.8.8.8", 80)) print(...

2017/09/05 14:32
813
nginx配置https和生成自己的CA证书 and 使用itms-services安装iOS App

nginx配置https和生成自己的CA证书 http://www.linuxidc.com/Linux/2013-08/88271.htm https://segmentfault.com/q/1010000000335158 使用itms-services安装iOS App http://blog.csdn.net/ke...

2017/09/04 16:30
406
python中判断文本的编码格式

import chardet #返回{'confidence': 0.38398486178080915, 'language': 'Russian', 'encoding': 'KOI8-R'} codeInfo = chardet.detect("测试") import codecs #UTF8 BOM的常量 codecs.B...

2017/09/02 12:47
1.5K

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部