http {......省略sendfile on; tcp_nopush on; keepalive_timeout 60; tcp_nodelay on; server_tokens off; ......省略 } http {......省略sendfile on; tcp_nopush on ...
分类:
其他好文 时间:
2019-01-25 22:54:20
阅读次数:
148
<html> <head> <meta charset="utf-8"> <title>打字游戏</title> <!--引入animate.css动画库--> <link rel="stylesheet" href="animate.css"> <style> body{ margin: 0; / ...
分类:
其他好文 时间:
2019-01-25 15:04:29
阅读次数:
330
1.调用获取验证码方法 2.定时器 3.html <span class="btn time">请({{timeOut}})后再发送</span> ...
分类:
其他好文 时间:
2019-01-24 14:36:03
阅读次数:
166
Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the serv ...
分类:
其他好文 时间:
2019-01-24 13:27:02
阅读次数:
142
一、部署环境 docker版本 二、首先搭建基于swarm的percona-xtradb-cluster集群,参见上一篇 三、三台服务器安装haproxy 1、编写haproxy-Dockerfile 2、编辑haproxy配置文件 注:node1、node2、node3分别为三台服务器上的pxc集 ...
分类:
数据库 时间:
2019-01-23 17:13:16
阅读次数:
387
#!/bin/bash #author liuhui by #this script is only for CentOS 7.x #check the OS platform=`uname -i` if [ $platform != "x86_64" ];then echo "this scrip ...
分类:
其他好文 时间:
2019-01-23 01:24:14
阅读次数:
214
要使用python中的串口,可以下载pywin32-224-cp36-cp36m-win_amd64.whl去安装或者pip install去安装。 调试下来,有一点很不爽,读取read()数据的timeout时间最小单位是秒,这对应很频繁的读取使用,很浪费时间。如果不设置这个时间我在有些串口设备上 ...
分类:
编程语言 时间:
2019-01-23 00:18:56
阅读次数:
168
$("input,select").blur(function(){ setTimeout(function () { var scrollHeight = document.documentElement.scrollTop || document.body.scrollTop || 0; win ...
分类:
移动开发 时间:
2019-01-22 21:55:33
阅读次数:
344
1.启动类修改 2.pom配置 3.打包命令 mvn clean package -Dmaven.test.skip=true -Ptest 4.启动 将war包放到tomcat的webapps下,启动tomcat即可 ...
分类:
编程语言 时间:
2019-01-22 20:13:23
阅读次数:
130
在server.xml中找到这句即可,加上URIEncoding=UTF-8即可。 ...
分类:
其他好文 时间:
2019-01-22 20:11:51
阅读次数:
146