var map = new BMapGL.Map('map',{ minZoom:8, maxZoom:12, // 设置显示类型 MapType: BMAP_NORMAL_MAP }); // 设置中心点 var point = new BMapGL.Point(116.404,39.915); ...
分类:
其他好文 时间:
2021-04-06 14:48:41
阅读次数:
0
输入:时间字符串“yyyy-MM-dd” private String subMonth(String date) throws ParseException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Date dt = ...
分类:
编程语言 时间:
2021-04-06 14:42:38
阅读次数:
0
// 判斷是否已登錄授權 module.exports.getDate = getDate function getDate(){ var time = new Date().toLocaleDateString().split('/').join('-') return time; } // 判斷 ...
分类:
Web程序 时间:
2021-04-06 14:39:35
阅读次数:
0
zookeeper特性 1、Zookeeper:一个leader,多个follower组成的集群 2、全局数据一致:每个server保存一份相同的数据副本,client无论连接到哪个server,数据都是一致的 3、分布式读写,更新请求转发,由leader实施 4、更新请求顺序进行,来自同一个cli ...
分类:
其他好文 时间:
2021-04-06 14:38:48
阅读次数:
0
阿里云Ubuntu Server 20.04 apt-get update -y apt-get upgrade -y apt-get install -y xorg-dev apt-get install -y libgtk2.0-dev apt-get install -y vim vim-sc ...
分类:
系统相关 时间:
2021-04-06 14:36:20
阅读次数:
0
In a forest, each rabbit has some color. Some subset of rabbits (possibly all of them) tell you how many other rabbits have the same color as them. Th ...
分类:
其他好文 时间:
2021-04-06 14:17:51
阅读次数:
0
前言 有时需要加密保存数据,但是我不会用AES……所以选择了更简单的异或加密。 解决方案 public static String xor(String data, String password) { //异或加密 byte b1[] = data.getBytes(); byte b2[] = ...
分类:
编程语言 时间:
2021-04-06 14:14:59
阅读次数:
0
1.数组的遍历 通常用双for循环或者foreach循环来遍历二维数组,例如: char arr[][]=new char[4][]; arr[0]=new char[] {'春','江','潮','水','连','海','平'}; arr[1]=new char[] {'海','上','明','月 ...
分类:
编程语言 时间:
2021-04-06 14:14:36
阅读次数:
0
一、WEB应用程序B/S ( browser/server ,浏览器/服务器)架构 基于HTTP传输协议(超文本传输协议,回忆HTML的名字:超文本标记语言) WEB程序必须要运行在web容器上,如Tomcat /Jboss/WebLogic等 二、HTTP协议HTTP使用TCP作为它的支撑运输层协 ...
分类:
编程语言 时间:
2021-04-06 14:12:31
阅读次数:
0
█ 0.代码函数: ○ 0.1 边界 Integer.MAX_VALUE int[] preorder ==> preorder == null || preorder.length == 0 char[][] board ==> board == null int[][] matrix ==> ( ...
分类:
其他好文 时间:
2021-04-06 14:10:55
阅读次数:
0