摘要: SELECT lower( hex(randomblob(4)) || '-' || hex(randomblob(2)) || '-' || '4' || substr(hex( randomblob(2)), 2) || '-' || substr('AB89', 1 + (abs(random 阅读全文
posted @ 2024-03-28 09:46 Misterj 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 浏览器版本问题导致的错误如下: System.InvalidOperationException:“session not created: This version of ChromeDriver only supports Chrome version 114Current browser ve 阅读全文
posted @ 2024-03-03 21:44 Misterj 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1.XPath函数 text()='xxx' 精确定位,引号中的内容需与HTML文档中的文本完全一样 contains(text(),'xxx') 模糊定位,HTML文档中的文本,包含引号中的内容即可 例如: 1. XPath为: //a[text()='下一页>'] 文本是为“下一页”的a标签 2 阅读全文
posted @ 2024-03-03 19:06 Misterj 阅读(3) 评论(0) 推荐(0) 编辑
摘要: public static Dictionary<string, string> GetAttributes<T>() { Dictionary<string, string> dic = new Dictionary<string, string>(); Type type = typeof(T) 阅读全文
posted @ 2023-06-09 18:09 Misterj 阅读(366) 评论(0) 推荐(0) 编辑
摘要: MemoryStream ms = new MemoryStream(); //方法一 byte[] bytes = ms.ToArray(); //方法二 byte[] bytes1 = new byte[ms.Length]; ms.Read(bytes1, 0, bytes1.Length); 阅读全文
posted @ 2023-05-18 11:04 Misterj 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1.Chinese (Simplified) 2.C# (VSCode的C#) 3.Auto-Using for C#(C#文件中导入的引用提供智能感知) 4.C# Extensions(VSCode的C#IDE扩展) 5.vscode-solution-explorer (解决方案资源管理器) 6 阅读全文
posted @ 2022-06-27 12:50 Misterj 阅读(4150) 评论(0) 推荐(0) 编辑
摘要: 注: TableName:表名 ColumnName:字段名(列名)idx_ColumnName:索引名 1.添加索引: 1.1普通索引(单字段索引): 方式一: create index idx_ColumnName ON TableName(ColumnName); 方式二: alter tab 阅读全文
posted @ 2021-09-26 15:55 Misterj 阅读(368) 评论(0) 推荐(0) 编辑
摘要: IaaS(Infrastructure as a service):基础设施即服务 PaaS(Platform as a service):平台及服务 SaaS(Software as a service):软件即服务 搞清楚:Iaas、Paas、SaaS 大大小小企业,财力不同、问题不同,因此对于 阅读全文
posted @ 2021-07-07 17:15 Misterj 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 完整报错内容如下 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |_ 阅读全文
posted @ 2021-06-21 15:44 Misterj 阅读(3603) 评论(0) 推荐(0) 编辑
摘要: 简单来介绍一下C#深浅拷贝问题 浅拷贝:复制其另一个对象的引用(在堆中使用的是同一个对象的引用); 深拷贝:而逐一复制被复制对象的数据成员的方式称为深复制(在堆中创建新的一块内存空间,使用的不是同一个对象的引用) 创建一个Person类: public class Person { public i 阅读全文
posted @ 2021-06-20 01:00 Misterj 阅读(1699) 评论(0) 推荐(0) 编辑