首先去Nuget中安装Log4Net包 安装:log4net 安装:Microsoft.Extensions.Logging.Console 安装:Microsoft.Extensions.Logging.Log4Net.AspNetCore 方式一 Program.cs文件 using Micro ...
分类:
Web程序 时间:
2020-06-20 21:29:26
阅读次数:
105
代码: 结果: PS E:\30.Study\30.自动化测试\99.零基础入门 Python Web 自动化测试\10.seleniumCodePractice> & "C:/Program Files/Python38/python.exe" "e:/30.Study/30.自动化测试/99.零 ...
分类:
编程语言 时间:
2020-06-20 11:09:48
阅读次数:
76
思路 暴力解决 注意事项 数字转字符,字符转数字 code=10的时候,是'X' #include<bits/stdc++.h> using namespace std; /* run this program using the console pauser or add your own get ...
分类:
其他好文 时间:
2020-06-19 22:57:24
阅读次数:
58
思路 用数组下标作为数字,数组元素记录次数 注意事项 声明数组的时候,如果用 int index[10000]; 会出现不为0的随机数 #include<bits/stdc++.h> using namespace std; /* run this program using the console ...
分类:
其他好文 时间:
2020-06-19 20:47:36
阅读次数:
52
手机抓包,不想走内网本机的网关。理论上模拟器和本机是连接的,不需要通过网关吧 0X01 mumu模拟器 1) 定IP 找到mumu的adb --> adb_server.exe C:\Program Files (x86)\MuMu\emulator\nemu\vmonitor\bin\adb_se ...
分类:
移动开发 时间:
2020-06-19 15:49:08
阅读次数:
62
官方文档 A Python program is constructed from code blocks. A block is a piece of Python program text that is executed as a unit. The following are blocks: ...
分类:
编程语言 时间:
2020-06-18 17:53:59
阅读次数:
63
直接上脚本吧。 # -*- coding: utf-8 -*- ''' Program:邮件伪造 Function:伪造邮件发送工具 ''' #导入两个库,用来发送邮件,multipart用来构造邮件,带附件的 import smtplib import email.mime.multipart i ...
分类:
其他好文 时间:
2020-06-18 16:05:22
阅读次数:
68
1、进入jmeter 应用所在路径 eg: cd D:\Program Files\apache-jmeter-5.2\bin 2、输入运行命令:jmeter -n -t [jmx脚本路径] -l [测试输出文件路径] eg: jmeter -n -t "D:\P1 API\nuc\nuc环境压测. ...
分类:
其他好文 时间:
2020-06-18 10:43:54
阅读次数:
74
在自己项目各层按图中设置(原理:编译后运行控制台程序,copy工作是让控制台程序完成的) 控制台程序源码 public class Program { public static void Main(string[] args) { //string para1 = @"D:\word_code\S ...
分类:
其他好文 时间:
2020-06-17 19:51:51
阅读次数:
56
在工作目录编辑c_cpp_properties.json文件 添加defines字段 { "configurations": [ { "name": "Win32", "includePath": [ "D:\\Program Files (x86)\\Arduino\\tools\\**", "D ...
分类:
其他好文 时间:
2020-06-17 01:25:03
阅读次数:
127