- 博客(3)
- 收藏
- 关注
转载 确定经纬度 搜索附件 sql
在网上查了很多资料,mysql空间数据库、矩形算法、geohash我都用过了,当数据上了百万之后mysql空间数据库方法是最强最精确的(查询前100条数据只需5秒左右)。 接下来推出一个原创计算方法,查询速度是mysql空间数据库算法的2倍 $lng是你的经度,$lat是你的纬度 SELECT lng,lat, (POWER(MOD(A
2016-02-16 17:11:29 407
原创 使用getResourceAsStream 读取文件类型 .properties
Properties configProperty = new Properties(); //从WebRoot/WEB-INF/config下的路径 configProperty.load(PropertyUtil.class.getResourceAsStream("/../config/properties/config.properties")); /* Cla
2016-02-16 11:18:20 4649
转载 BASE64Decoder And BASE64Encoder
Java code import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; public class Test { public static void main(String args[]) throws IOException { BASE64Encoder enc
2016-02-16 10:32:33 278
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人