前言 之前在利用docker 2375端口漏洞的时候,写公钥发现没有权限,检查后发现其被chattr锁定了 当使用chattr命令去解锁时,就出现了这个问题 chattr: Operation not permitted while setting flags on file 解决方案 chattr ...
分类:
其他好文 时间:
2021-05-24 13:37:55
阅读次数:
0
在使用MySQL查询数据时发现,不管大小写都能查询到数据,也就是说其对大小写不敏感,没有区分大小写。先看下面的案例: 1.演示案例 1)创建表插入数据 CREATE TABLE `user` ( `username` varchar(255) DEFAULT NULL, `password` var ...
分类:
数据库 时间:
2021-05-24 13:36:41
阅读次数:
0
数据库导入导出数据解释 --新建用户(sibpm_hc:用户名,sibpm_osa_f_hc:密码) create user sibpm_hc identified by sibpm_osa_f_hc --授权 grant dba,connect to sibpm_hc --cmd 运行,不用登陆 ...
分类:
数据库 时间:
2021-05-24 13:35:21
阅读次数:
0
对于一些场景需要大量数据来支撑的测试,就可以用到参数化来节省手工测试所花费的时间 pytest参数化需要用到装饰器:parametrize 用户,导入pytest模块之后,在函数上方使用,效果如下: import pytest @pytest.mark.parametrize("id,goodsco ...
分类:
其他好文 时间:
2021-05-24 13:16:38
阅读次数:
0
使用: 1、在build.gradle中添加 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories ...
分类:
其他好文 时间:
2021-05-24 13:15:41
阅读次数:
0
opencv提供了很多人脸识别方法,大多是通用类face::facerecognizer的子类 局部二值模式(LBP) LBP原理介绍以及算法实现_holly的专栏-CSDN博客 再来看cv::face:: LBPHFaceRecognizer类,它的 create方法的前两个参数分别指定了邻域的大 ...
分类:
其他好文 时间:
2021-05-24 13:08:48
阅读次数:
0
github地址 https://github.com/rest-client/rest-client gemfile里添加 gem 'rest-client', '~> 2.0' 执行 bundle install 代码里 # 要请求接口地址 # 上传文件的key名字 # file 文件的绝对路径 ...
分类:
Web程序 时间:
2021-05-24 12:42:18
阅读次数:
0
1.第三方提供了这么一个API接口,POST后将附件以file文件上传,通过postman工具界面是下面这种样子 Body为form-data类型,不管是文本还是文件,都能在value上填上去 2.C#实现接口调用代码 public static string PostForm(string url ...
centos编译安装Python时,提示“Warning: File `Makefile.pre.in' has modification time 19209898 s in the future”先说结论:系统时间不对。如果遇到编译make时一直checking,那不用等了,它停不下来。实际上m... ...
分类:
系统相关 时间:
2021-05-24 12:34:55
阅读次数:
0
1、创建快照 # gluster snapshot create trobvol-s1 trobvol snapshot create: success: Snap trobvol-s1_GMT-2021.05.16-02.47.36 created successfully 说明: trobvol ...
分类:
其他好文 时间:
2021-05-24 12:25:40
阅读次数:
0