This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name 优酷/腾讯/爱奇艺 倍速播放 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://v.qq.com/x/cover* | |
| // @match https://v.youku.com/v_show* | |
| // @match https://www.iqiyi.com/v_* | |
| // @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DistanceUtil { | |
| private static final double EARTH_RADIUS = 6378137; | |
| private static double rad(double d) | |
| { | |
| return d * Math.PI / 180.0; | |
| } | |
| /** *//** | |
| * 根据两点间经纬度坐标(double值),计算两点间距离,单位为米 | |
| * @param lng1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 方式1 | |
| */ | |
| Iterator iterator = hm.keySet().iterator(); | |
| while(iterator.hasNext()) { | |
| System.out.println(hm.get(iterator.next())); | |
| } | |
| /* | |
| * 方式2 |