<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.60</version> </dependency> JSON_OBJ_STR = "{"studentName":" ...
分类:
Web程序 时间:
2020-06-30 00:20:31
阅读次数:
85
Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. 对1-n的数分组,分组规则 ...
分类:
其他好文 时间:
2020-06-29 20:18:12
阅读次数:
73
数据类型是数据库的一个重要组成部分,在MySQL数据库中可将数据类型分为三大类:Text类型(文本类型)、Number类型(数字类型)、Date类型(日期类型)。
分类:
数据库 时间:
2020-06-29 17:20:30
阅读次数:
268
tuple // 一项数组的项数已知,其中每一项的类型也已知 const arr: [string,number,string] = ['1',1,'1'] unknow any // any类型 变量可以进行任意赋值,实例化,函数执行 // unknown类型 只允许赋值,不允许实例化,函数执行 ...
分类:
其他好文 时间:
2020-06-29 17:18:55
阅读次数:
54
今天前端来问是否能在电脑上调试和查看在App的WebView中打开的页面。之前没注意这个事,大致搜索了一下,还是很简单的。基本步骤如下:1.首先,要在WebView页面打开可以debug的设置。(不过只支持KITKAT以上版本)if(Build.VERSION.SDK_INT >= Build.VE... ...
分类:
移动开发 时间:
2020-06-29 17:16:34
阅读次数:
85
环境 系统:CentOS 7.5软件:prometheus-2.18.1.linux-amd64.tar.gz 安装 下载二进制包地址:https://prometheus.io/download/ 安装 # tar -xzvf prometheus-2.18.1.linux-amd64.tar.g ...
分类:
其他好文 时间:
2020-06-29 17:09:15
阅读次数:
88
1、引入最新版的swaager Install-Package Swashbuckle.AspNetCore -Version 5.0.0-rc4 2、在startup类中的ConfigureServices 方法中的服务集合中添加如下代码 // Register the Swagger gener ...
分类:
Web程序 时间:
2020-06-29 17:06:10
阅读次数:
83
Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students that must move in order for ...
分类:
其他好文 时间:
2020-06-29 15:25:43
阅读次数:
59
1.首先去官网下载node:https://nodejs.org/en/ 2.双击安装node,下一步,下一步…… 3.打开“cmd”命令行,输入 node --version 4.win10右击菜单添加‘在此处打开命令窗口’选项 第一步:新建一个txt文件,命名为OpenCmdHere.txt,注 ...
分类:
Web程序 时间:
2020-06-29 13:04:56
阅读次数:
139
将数字四舍五入到指定的小数位数。使用 Math.round() 和模板字面量将数字四舍五入为指定的小数位数。 省略第二个参数 decimals ,数字将被四舍五入到一个整数。 const round = (n, decimals = 0) => Number(`${Math.round(`${n}e ...
分类:
Web程序 时间:
2020-06-29 11:47:16
阅读次数:
77