实验要求:1,关闭防火墙 systemctl status firewalld查看防火墙状态(active为开启,inactive为关闭) systemctl stop firewalld(关闭防火墙) systemctl disable firewalld(删除firewalld服务,即永久删除f ...
分类:
其他好文 时间:
2020-05-13 19:53:08
阅读次数:
105
CAD环境下DWG转PDF Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim f As FileInfo = New FileInfo("E:\j9-FwfeplGMIpixSq ...
File directory = new File("src/main/resources/static/pic"); String courseFile = directory.getCanonicalPath(); System.out.println(courseFile); ...
分类:
其他好文 时间:
2020-05-13 15:21:18
阅读次数:
165
前言 浏览器缓存又叫客户端缓存,存储在客户端的缓存,由浏览器控制,关于存储的策略由响应头(Response Header)规定,主要的响应头标记是Cache-Contro、Etag、Last-Modified. 生效范围: 仅对当前浏览器生效。 实现方式: 使用HTTP Header 更新策略: T ...
分类:
其他好文 时间:
2020-05-13 12:12:51
阅读次数:
60
本篇文章为系列文章,未读前几集的同学请猛戳这里: Spring Cloud 系列之 Config 配置中心(一)Spring Cloud 系列之 Config 配置中心(二) 本篇文章讲解 Config 如何实现配置中心加解密,配置中心用户安全认证。 配置中心加解密 考虑这样一个问题:所有的配置文件 ...
分类:
编程语言 时间:
2020-05-13 11:46:45
阅读次数:
96
1、基础方法① /** * 通过class名和标签名获取css样式对象组 */ function getClassNames(classStr, tagName) { if (document.getElementsByClassName) { return document.getElements ...
分类:
其他好文 时间:
2020-05-13 11:41:50
阅读次数:
95
本文介绍了在CentOS7的efi+gpt模式下,如何修复grub2的方法。提供了 grub2-install:错误: /usr/lib/grub/x86_64-efi/modinfo.sh doesn‘t exist. Please specify --target or --directory. 的解决办法。我在网上没有搜索到这个报错的解决范例。
分类:
其他好文 时间:
2020-05-13 09:29:13
阅读次数:
436
此项目是Spring Cloud Alibaba 和 Dubbo 整合 Demo 版本 Apache Dubbo Demo JDK 1.8 Dubbo 2.7.2 Nacos Client 1.0.0 Spring Boot 2.1.6.RELEASE Dubbo Registry Nacos 2. ...
分类:
Web程序 时间:
2020-05-13 00:25:45
阅读次数:
90
public static void SaveCSV(DataTable dt, string fullPath) { var fi = new FileInfo(fullPath); if (!fi.Directory.Exists) { fi.Directory.Create(); } var ...
当前pom.xml配置 <build> <resources> <!--引入配置文件--> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> </resource> <!--引入静态文件 ...
分类:
编程语言 时间:
2020-05-12 17:07:33
阅读次数:
54