我们可以到Cygwin的官方网站下载Cygwin的安装程序 下载完成后,运行setup.exe程序,首先是同意安装,第三方的软件在windows上不受信任,出现安装画面。直接点“下一步”,出现安装模式的对话框,如下图所示: 我们看到有三种安装模式: 1 Install from Internet,这 ...
下面方法是格式化BigDecimal,将其设置为指定精度。 使用.stripTrailingZeros().toPlainString()可以简化小数点后尾部的0 1 /** 2 * 设置精度,并以简单方式输出(去除小数点后末位的0) 3 * @param number 4 * @param pre ...
分类:
其他好文 时间:
2020-04-08 14:52:56
阅读次数:
224
git版本略低,引发的血案 原本部署在阿里云上的项目,准备放到内网jenkins上发布,配置完成后发版,jenkins变红了,详细错误信息如下 经查git版本为1.7过低了 所以卸载git,重装,yum用不了,yum升级 yum升级 [Errno 14] Could not open/read fi ...
分类:
其他好文 时间:
2020-04-08 14:51:00
阅读次数:
139
题目描述 Given the relations of all the activities of a project, you are supposed to find the earliest completion time of the project. Input Specification ...
分类:
其他好文 时间:
2020-04-08 12:23:10
阅读次数:
78
HTML代码 <div class="box"> <label for="">手机号</label> <input type="number"> <button>获取</button> </div> JS代码 1 var btn = document.querySelector('button') ...
分类:
Web程序 时间:
2020-04-08 12:22:37
阅读次数:
92
web安全一直是多向的问题,服务器安全、代码安全等等,本文介绍为php开发的web,如何用php实现一个账号不能多个用户同时登陆 。 ...
分类:
Web程序 时间:
2020-04-08 12:15:03
阅读次数:
85
ElasticSearch安装运行前提条件:配置好Jdk Head-Master运行前提条件:node 一.下载 地址:https://www.elastic.co/cn/downloads/elasticsearch 历史版本:找到下面这句话 然后双击 Not the version you're ...
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s ...
分类:
其他好文 时间:
2020-04-08 09:57:26
阅读次数:
67
1.添加基本的依赖坐标(项目如需有具体别的依赖,根据实际情况添加) 1 <!-- 统一管理jar包版本 --> 2 <properties> 3 <spring.version>5.0.2.RELEASE</spring.version> 4 <slf4j.version>1.6.6</slf4j. ...
分类:
其他好文 时间:
2020-04-08 09:21:10
阅读次数:
63
n boys and m girls came to the party. Each boy presented each girl some integer number of sweets (possibly zero). All boys are numbered with integers ...
分类:
其他好文 时间:
2020-04-07 23:59:05
阅读次数:
142