firewalld的富规则可以定义更复杂强大的防火墙规则语法:fiewall-cmd[--permanent]--add-rich-rule="richrule"其中富规则的结构如下:1,一般规则结构rule[source][destination]service|port|protocol|icmp-block|icmp-type|masquerade|forward-port|source-p
分类:
其他好文 时间:
2020-11-24 12:17:08
阅读次数:
9
CONCATENATE '无权限' p_str INTO msg. p_str = |{ p_str1 }'啊'|. LEAVE TO TRANSACTION sy-tcode. SELECTION-SCREEN: BEGIN OF BLOCK b01 WITH FRAME TITLE TEXT-0 ...
分类:
其他好文 时间:
2020-11-24 12:05:51
阅读次数:
9
问题背景: 最近测试同学给我提了个bug,字段不能置空,我查看了下项目配置发现是字段级别被设置为NOT_EMPTY导致的。 mybatis-plus FieldStrategy 有三种策略: 1.IGNORED:0 忽略 2.NOT_NULL:1 非 NULL,默认策略 3.NOT_EMPTY:2 ...
分类:
其他好文 时间:
2020-11-24 12:05:13
阅读次数:
32
打开mac终端,进入到WebDriverAgent目录下:输入:cd/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent再输入命令:xcodebuild-projectWebDriverAgent.xcodeproj
分类:
移动开发 时间:
2020-11-23 12:40:08
阅读次数:
26
1、引入fs模块 const fs = require('fs'); 2、常用方法 1、fs.stat 检测是文件还是目录 检测文件or目录是否存在 检测是文件还是目录 fs.stat('./test.html',(err,data)=>{ if(err){ console.log(err); re ...
分类:
Web程序 时间:
2020-11-23 12:21:53
阅读次数:
12
django解决跨域问题 1 使用第三方模块django-cors-headers 1.1 安装 pip install django-cors-headers 1.2 配置 INSTALLED_APPS = [ 'corsheaders', ] MIDDLEWARE = [ 'corsheader ...
分类:
其他好文 时间:
2020-11-23 12:10:55
阅读次数:
6
`import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJ ...
分类:
编程语言 时间:
2020-11-21 12:46:32
阅读次数:
25
参考: https://www.jianshu.com/p/2a446ce48803 https://blog.csdn.net/htf2620032/article/details/79298661 https://www.cnblogs.com/xichji/p/11811733.html ht ...
分类:
编程语言 时间:
2020-11-21 12:11:57
阅读次数:
10
KDnuggets2018年的一个博客发起了一项投票:数据科学中最好用的Python IDE是什么?本次调查共有1900多人参与,调查结果如下图所示。前5个选择是:Jupyter,57%PyCharm,35%Spyder,27%Visual Studio Code,21%Sublime Text,1 ...
分类:
编程语言 时间:
2020-11-21 11:47:21
阅读次数:
7
# -*- coding: utf-8 -*-import cv2import jsonimport numpy as npbase_path = "D:/Personal_Task/A3_ADASProject/Traffic_Line/dataset/train_set/"targetpath ...
分类:
Web程序 时间:
2020-11-20 12:21:54
阅读次数:
33