先在 Windows上面安装 git.exe , 并加入到环境变量。 https://git scm.com/ Android Studio 配置GIT VCS Enable Version Control Integration 选择 GIT。 File Setting 里面配置 GIT 路径 完 ...
分类:
移动开发 时间:
2020-05-13 18:30:25
阅读次数:
79
一、安装Nginx 指令 yum install -y nginx 二、设置开机启动 指令 systemctl start nginx.service systemctl enable nginx.service 三、浏览器打开ip地址查看效果 ...
分类:
其他好文 时间:
2020-05-13 11:44:41
阅读次数:
66
一、blackbox_exporter应用场景 HTTP 测试: 定义 Request Header 信息、判断 Http status / Http Respones Header / Http Body 内容TCP 测试: 业务组件端口状态监听、应用层协议定义与监听ICMP 测试: 主机探活机制 ...
分类:
Web程序 时间:
2020-05-12 17:02:10
阅读次数:
311
{ // 决定 linter 是在保存时还是输入时运行。 "php.validate.run": "onSave", // 启用/禁用内置的 PHP 验证。 "php.validate.enable": true, // 启用/禁用 JavaScript 验证。 "javascript.valida ...
分类:
其他好文 时间:
2020-05-11 10:26:12
阅读次数:
222
计算机网络(4) ICMP协议 ICMP Internet控制消息协议ICMP(Internet Control Message Protocol)是网络层的一个重要协议。ICMP协议用来 在网络设备间传递各种差错和控制信息,并对于收集各种网络信息、诊断和排除各种网络故障等方面起着至关重要的作用 。 ...
分类:
其他好文 时间:
2020-05-10 19:34:33
阅读次数:
113
探究share_ptr的底层实现 本人大二菜鸡, 源码看不懂的地方会查资料, 应该大部分人都看得懂 最重要的地方在最后面 首先我们写 class A { } int main() { std::cout shared_ptr a; } 然后ctrl+click进入shared_ptr 是长这样的 展 ...
分类:
其他好文 时间:
2020-05-10 15:01:22
阅读次数:
54
上一篇讲解了网关zuul的path-url这种转发方式;这一篇讲解一下path-serviceId这种转发方式。path-serviceId这种方式需要使用到注册中心eureka 1、 新建项目sc-zuul-consumer,该项目主要提供一个Controller,两个接口,对应的pom.xml文 ...
分类:
其他好文 时间:
2020-05-10 14:46:35
阅读次数:
51
导语 如何开发一个自定义的 starter Java SPI 机制简介 Java SPI 机制示例 Spring Boot SPI 机制底层实现 开发一个自定义 starter 自定义 starter 优化 总结 导语 熟悉 Spring Boot 的同学都知道,Spring Boot 提供了很多开 ...
分类:
其他好文 时间:
2020-05-09 19:07:46
阅读次数:
317
1.先定义一个注解 import java.lang.annotation.*; /** * @desc 定义一个不重复提交的注解 */ @Target({ElementType.PARAMETER, ElementType.METHOD}) @Retention(RetentionPolicy.R ...
分类:
编程语言 时间:
2020-05-09 18:51:22
阅读次数:
74
1, 查看防火墙状态: firewall cmd state systemctl status firewalld.service 2, 开启防火墙: systemctl start firewalld.service 3,设置开机自启: systemctl enable firewalld.ser ...
分类:
其他好文 时间:
2020-05-09 17:21:17
阅读次数:
63