修改 /etc/emqx/emqx.conf 的配置项 ## Allow anonymous authentication by default if no auth plugins loaded. ## Notice: Disable the option in production deploy ...
分类:
其他好文 时间:
2020-06-20 18:46:51
阅读次数:
113
目的:实现api并生成swagger文档 引入swagger 在pom.xml添加swagger依赖 <!--整合Swagger2配置类--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</a ...
演示项目采用IDEA 前提: 安装idea 安装jdk 1.8 1、第一步 新建项目 2、第二步 选择 Spring Initializr projicet SDK 选择jdk的安装位置(一般会默认选中) 其他不用管,直接next 备注: 为什么选择这个,前辈介绍Spring Initializr ...
分类:
编程语言 时间:
2020-06-20 14:14:37
阅读次数:
68
一.配置环境 1.1 Linux环境说明zabbix 安装要求 https://www.zabbix.com/documentation/4.0/zh/manual/installation/requirements [root@localhost bw]# cat /etc/redhat-rele ...
分类:
其他好文 时间:
2020-06-20 13:45:41
阅读次数:
57
在使用pip install selenium时遇到错误: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max ...
分类:
其他好文 时间:
2020-06-19 23:22:46
阅读次数:
297
本文是Kubernetes.io官方文档中介绍如何创建暴露外部IP地址的Kubernetes Service 对象。 学习目标 运行Hello World应用程序的五个实例。 创建一个暴露外部IP地址的Service对象。 使用Service对象访问正在运行的应用程序。 准备工作 安装kubectl ...
分类:
Web程序 时间:
2020-06-19 23:15:58
阅读次数:
106
Windows 安装 JDK 一、下载JDK 官网下载路径:https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html 百度网盘: 链接:https://pan.baidu.com/s/1_RBlZBdOdkX ...
Constructs a cookie with a specified name and value.The name must conform to RFC 2109. That means it can contain only ASCII alphanumeric characters an ...
分类:
其他好文 时间:
2020-06-19 19:15:22
阅读次数:
75
现在的程序使用单页面应用,因此程序会在一开始就会加载页面JS。如果带宽不够,那么会影响页面下载速度。 我们可以使用NGINX 进行压缩,加快文件下载。 gzip on; gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.0; gz ...
分类:
其他好文 时间:
2020-06-19 15:56:19
阅读次数:
51
微信自带的swiper不支持dot样式修改,如果UI设计的样式有变化,将很难自定义 以下,提供一种方案来解决dot样式自定义的问题 如图: 大致思路 就是隐藏默认swiper的dots,然后自定义自己的dotview,并同步事件 <!--index.wxml--> <view class="swip ...
分类:
微信 时间:
2020-06-19 15:47:51
阅读次数:
288