import timeimport randomfrom threading import Thread,Eventdef connect_db(e): count = 0 while count<3: e.wait(1) #状态为false的时候,我只等待1s就结束 if e.is_set() = ...
分类:
编程语言 时间:
2020-09-17 17:01:57
阅读次数:
26
IDA 调试安卓 工具: Nox IDA 进入Nox\bin目录 cd C:\Program Files (x86)\Nox\bin adb连接模拟器 nox_adb.exe connect 127.0.0.1:62001 上传ida 监听文件 adb push 'C:\Users\b\Deskto ...
分类:
移动开发 时间:
2020-09-17 16:19:30
阅读次数:
38
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1278908289143574529 We have a network of computers and a list of bi-directional connect ...
分类:
其他好文 时间:
2020-09-17 15:44:44
阅读次数:
21
"Cannot make a visible window modal错误的解决方法" cannot make a visible window modal错误的解决方法 delphi的fsmdichild类型的窗体是不能使用showmodal的,否则会弹出"cannot make a visibl ...
# 导入MySQL import pymysql # 连接数据库 conn = pymysql.connect(host="111.111.111.111", user="11111", password="1111111", port=3306, db="11111",charset="utf8" ...
分类:
数据库 时间:
2020-09-17 13:25:32
阅读次数:
41
基础函数 客户端 Socket() 产生一个socket; 填写一个sockaddr in结构体 使用connect进行服务器连接 如果成功 则返回大于0的值 向服务器发送信息需要send函数 Send函数需要指定一个socket 缓冲区 发送字节数 Recv函数同send函数 Recv可以指定本次 ...
分类:
其他好文 时间:
2020-09-17 13:24:55
阅读次数:
31
目的:通过Nginx服务器对grafana进行代理,实现通过https://域名/grafana在公网进行访问实践过程:1、修改Nginx配置(nginx.conf)文件,添加访问grafana的配置,配置时注意proxy_pass后面一定要有符号/(目的是去掉/grafana/以匹配本身)vi/usr/local/nginx/conf/nginx.confserver{listen443ssl;
分类:
其他好文 时间:
2020-09-14 19:20:17
阅读次数:
79
问题 在使用echarts生成图表的时候,报错cannot read property 'querycomponents' of undefined 解决 通过跟踪代码发现是eModel.querycomponents中eModel为undefined,初步判断是eModel没有生成. 解决方法就是 ...
分类:
其他好文 时间:
2020-09-14 19:02:26
阅读次数:
97
概述 PCI(Peripheral Component Interconnect,外围设备互联)的简称,是普遍使用在桌面及更大型的计算机上的外设总线。 PCI 架构被设计为 ISA 标准的替代品,它有三个主要目标:获得在计算机和外设之间传输数据时更好的性能;尽可能的平台无关;简化往系统中添加和删除外 ...
分类:
系统相关 时间:
2020-09-12 21:46:09
阅读次数:
44
python3 访问windows共享目录 1、安装pysmb包 pip install pysmb 2、连接共享目录 #!/usr/bin/env python3 # -*- coding:utf-8 -*- from smb.SMBConnection import SMBConnection ...
分类:
编程语言 时间:
2020-09-12 21:30:17
阅读次数:
53