安装 Linux linux直接yum -y install httpd-tools,然后ab -V测试 Windows 1查看80端口有没有被占用,netstat -ano | findstr "80" 2下载地址https://www.apachehaus.com/cgi-bin/downloa ...
分类:
Web程序 时间:
2019-11-24 13:28:06
阅读次数:
136
面试问Kafka,这一篇全搞定 https://os.51cto.com/art/201911/606207.htm 图片来自 Pexels Kafka 基础 消息系统的作用 大部分小伙伴应该都清楚,这里用机油装箱举个例子: 所以消息系统就是如上图我们所说的仓库,能在中间过程作为缓存,并且实现解耦合 ...
分类:
其他好文 时间:
2019-11-24 12:19:37
阅读次数:
47
前言 只有光头才能变强。 文本已收录至我的GitHub仓库,欢迎Star: "https://github.com/ZhongFuCheng3y/3y" 在公司看文档的时候,经常看到一些专业的术语,很尴尬,看不懂。比如说 ,`dau`等等 在公司的wiki里边搜到了一个专门讲解这些术语的PPT,我在 ...
分类:
其他好文 时间:
2019-11-24 12:16:43
阅读次数:
192
参考自:https://www.zhihu.com/question/268384579下面的回答。 1.分段线性函数可以拟合任意连续函数,如何理解? 评论里的回答:可以通过让每个分段的长度无穷小来逼近。 //回答中提到了Borel可测函数,搜了一下发现十分复杂,遂中止。 2.含两个隐层神经元的单隐 ...
分类:
其他好文 时间:
2019-11-24 12:13:58
阅读次数:
81
在index.html中添加代码: <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> 在其他界面输出即可: console.log(returnCitySN["cip"]) 即可打印出所在位置的公网ip ...
分类:
其他好文 时间:
2019-11-24 12:09:09
阅读次数:
234
1.准备证书 2.1 springboot 1.x配置 2.2 springboot 2.x配置 1.准备证书: keytool -genkeypair -alias tomcat -keyalg RSA -keystore C:\tomcat.key #注意要用.key结尾证书文件 更多keyto ...
分类:
编程语言 时间:
2019-11-24 12:07:43
阅读次数:
74
原题链接在这里:https://leetcode.com/problems/find-right-interval/ 题目: Given a set of intervals, for each of the interval i, check if there exists an interval ...
分类:
其他好文 时间:
2019-11-24 12:06:09
阅读次数:
53
KEEP CODING 代码改变世界 20180909 解析JS Cookie的设置,获取和检索 引用: JavaScript Cookie - by runoob.com Cookie是储存在电脑文本文件中的数据,用于保存访问者的信息,并可以在下次打开页面时引用。 页面在设置/引用访问者信息时,需 ...
分类:
其他好文 时间:
2019-11-24 12:05:55
阅读次数:
92
1、创建SpringBoot项目第一种方式:在SpringBoot官方提供的Web页面创建(地址:https://start.spring.io)界面如下:在上面界面中填入project、语言、SpringBoot的版本、项目元信息(group、Artifact),然后在Dependencies中输... ...
分类:
编程语言 时间:
2019-11-24 12:02:14
阅读次数:
178
docker 管理docker的默认镜像源:hub.docker.com修改docker国内的镜像仓库:vim /etc/docker/daemon.json{ "registry-mirrors": [ "https://registry.docker-cn.com" ]}or{ "registr ...
分类:
其他好文 时间:
2019-11-24 12:01:47
阅读次数:
59