在用户根目录创建个filebeat.docker.yml文件,文件内容如下 filebeat.config: modules: path: ${path.config}/modules.d/*.yml reload.enabled: false filebeat.autodiscover: prov ...
分类:
其他好文 时间:
2020-06-11 18:10:21
阅读次数:
115
一、操作cookie 1 from selenium import webdriver 2 3 driver_path = 'D:\chromedriver\chromedriver.exe' 4 driver = webdriver.Chrome(executable_path=driver_pa ...
分类:
Web程序 时间:
2020-06-11 16:41:26
阅读次数:
64
CF3A Shortest path of the king Luogu题地址 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <queue> using namespace ...
分类:
其他好文 时间:
2020-06-11 16:24:45
阅读次数:
50
jenkins build 报错: [hello-world-freestyle] $ /bin/sh -xe /root/softs/apache-tomcat-9.0.35/temp/jenkins5323864766359302328.sh + mvn clean package /root/ ...
分类:
其他好文 时间:
2020-06-11 16:21:50
阅读次数:
160
[官网]下载mongodb-linux-x86_64-rhel62-3.4.3.tgz 通过FTP(WinSCP,FileZilla等)工具上传到“/apps”目录 使用解压命令解压到当前目录 tar -zvxf mongodb-linux-x86_64-rhel62-3.4.3.tgz 开启270 ...
分类:
数据库 时间:
2020-06-11 16:19:28
阅读次数:
53
以python代码为例: import requests def func(): session = requests.session() url = 'http://IP:8069/web?db=temp' # 指定数据库名称 url2 = 'http://IP:8069/stock_ex/sto ...
分类:
数据库 时间:
2020-06-11 13:47:53
阅读次数:
163
SpecFlow 在 Temp 文件夹中创建一个 .cache 文件,该文件包含这些绑定以加快速度。如果该文件出了问题,您可以删除它: 退出视觉工作室。 打开 Windows 资源管理器。 在地址栏中,键入 %TEMP% 并点击 Enter 转到临时文件夹。 查找名称以 "specflow-step ...
分类:
其他好文 时间:
2020-06-11 13:39:07
阅读次数:
51
Rustlings_test1 练习过程中的随手记,很多问题也未深究,,简单问题可能直接贴改完之后的代码,..分享出来,若能帮助大家,意外乐趣 // test1.rs // This is a test for the following sections: // - Variables // - ...
分类:
其他好文 时间:
2020-06-11 13:24:30
阅读次数:
59
一些简单的编程规范 效率 1、函数 为什么要函数? 有一些重复的代码,如果每次都写一遍,代码量大、写的过程麻烦、修改麻烦 常用的代码封装,用的时候直接调用,不需再写一遍 不能为了用函数而用函数 函数的使用场景: 常用的代码:文件读取,压缩 def read_file( file_path, use_ ...
分类:
其他好文 时间:
2020-06-11 13:14:44
阅读次数:
71
这两天突然想在树梅派上写博客文章,因照片素材都是存在手机上的,每次插拔usb接口实在太麻烦了,想着能不能用无线传输文件呢? 之前在windows中用过CHFS搭建服务进行文件共享,感觉传输速率和使用都挺方便,也知道CHFS有Linux版本,而且这个软件是开源的,试想着看那就试试吧!访问CHFS官网 ...
分类:
Web程序 时间:
2020-06-11 12:01:42
阅读次数:
65