一、安装Nginx 指令 yum install -y nginx 二、设置开机启动 指令 systemctl start nginx.service systemctl enable nginx.service 三、浏览器打开ip地址查看效果 ...
分类:
其他好文 时间:
2020-05-13 11:44:41
阅读次数:
66
{ // 决定 linter 是在保存时还是输入时运行。 "php.validate.run": "onSave", // 启用/禁用内置的 PHP 验证。 "php.validate.enable": true, // 启用/禁用 JavaScript 验证。 "javascript.valida ...
分类:
其他好文 时间:
2020-05-11 10:26:12
阅读次数:
222
探究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
To enable SRv6 support, at least CONFIG_IPV6 must be enabled. The default built-in SRv6 code supports elementary processing of SR-enabled packets. For ...
分类:
系统相关 时间:
2020-05-08 20:10:42
阅读次数:
154
简介 在vue中创建多个ueditor实例,我使用neditor,其实就是把ueditor样式美化了下,其他和ueditor几乎一样 截图 源码地址 https://github.com/obliviouss... 说明 下载ueditor或neditor源码,拷贝到static目录下面 然后修改u ...
分类:
其他好文 时间:
2020-05-08 16:31:08
阅读次数:
56
To enable Flash for a specific website, first open your Chrome browser and type chrome://settings/content in the address bar, then press enter. Then o ...
分类:
其他好文 时间:
2020-05-08 10:03:00
阅读次数:
76