import xlrd,threading, requests,threading,json,time,math import numpy as np import gevent from queue import Queue products = Queue() result = Queue() ...
分类:
编程语言 时间:
2020-07-02 16:05:50
阅读次数:
105
一、.实现弹窗淡入淡出等效果即弹窗自动关闭 技术要点: 1.弹窗效果(淡入淡出,自下而上滑入)使用WIN API实现 2.弹出的窗体在一定时间后,自动关闭使用一个timer实现,弹窗开始是,打开timer,到设置时间后,触发timer关闭窗体 代码: using System; using Syst ...
分类:
微信 时间:
2020-07-02 14:54:45
阅读次数:
105
杂言 我从来不知道自己有那么热爱学习(大哭),摸鱼了一个学期,最后一个月终于把期末给应付过去了,接下来就是把之前应付考试的时间补回来刷题和实习准备了,这次是5月网鼎青龙组的一道,我现在才拿来复现。。。。 解题 开幕雷击 <?php include("flag.php"); highlight_fil ...
分类:
其他好文 时间:
2020-07-01 20:36:44
阅读次数:
68
1.最基本的返回验证 //1.验证返回状态码是否是200 pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); //2.验证返回body内是否含有某个值 pm.test("Body match ...
分类:
其他好文 时间:
2020-07-01 20:09:25
阅读次数:
191
单条件查询: db.getCollection('task').find({"id": "dc717654-dc45-4bf9-8e8a-1f1b146d6524"}) 单条件查询(属性为叶子节点) db.getCollection('archive_result').find({"results. ...
分类:
数据库 时间:
2020-07-01 16:06:36
阅读次数:
84
Function(还没弄完...等下继续) "LSOR" SORTING BLOCK 1 : Ascending -1: Descending Example ['4','1','9','8','2','10','3','7','6','5'] => ['1','2','3','4','5','6&... ...
分类:
编程语言 时间:
2020-07-01 12:59:21
阅读次数:
73
可能是代码不规范,在力扣端编译环境下出错:Line 35: Char 10: runtime error: load of value 64, which is not a valid value for type 'bool' (solution.cpp)。 在VS环境下没有问题。先搁置问题,以后 ...
分类:
编程语言 时间:
2020-07-01 12:29:34
阅读次数:
375
1、H3C NQA、静态路由联动# 创建管理员名为admin、操作标签为test的NQA测试组[SwitchA] nqa entry admin test# 配置测试类型为ICMP-echo[SwitchA-nqa-admin-test] type icmp-echo# 配置测试的目的地址为10.2 ...
分类:
其他好文 时间:
2020-06-30 22:33:05
阅读次数:
870
binarySearch()方法的返回值为: 1、如果找到关键字,则返回值为关键字在数组中的位置索引,且索引从0开始 2、如果没有找到关键字,返回值为负的插入点值,所谓插入点值就是第一个比关键字大的元素在数组中的位置索引,而且这个位置索引从1开始。 注意:调用binarySearch()方法前要先调 ...
分类:
其他好文 时间:
2020-06-30 22:18:17
阅读次数:
47
string path = "test.txt"; FileStream fs = new FileStream(path, FileMode.Open); StreamReader sr = new StreamReader(fs); char[] separator = new char[] { ...