Windows常用快捷键 tab 切换菜单 Alt+F4:关闭窗口 Ctrl+C:复制 Ctrl+V:黏贴 Ctrl+A:全选 Ctrl+X:剪切 Ctrl+Z:撤销 Ctrl+S:保存 Ctrl+F:查找 Shift+delete:彻底删除 Windows+R:run运行 Windows+E:打开 ...
分类:
其他好文 时间:
2020-12-18 12:45:20
阅读次数:
3
Java基础之:单例模式 设计模式 设计模式是在大量的实践中总结和理论化之后优选的代码结构、编程风格、以及解决问题的思考方式 。设计模式就像是经典的棋谱,不同的棋局,我们用不同的棋谱,免去我们自己再思考和摸索。 单例模式 对于一个类而言,外部只能获取其一个实例。 实现步骤: 1) 构造器私有化 2) ...
分类:
编程语言 时间:
2020-12-18 12:43:42
阅读次数:
2
参考:http://www.cnblogs.com/21207-iHome/p/6085334.html 代码:from transitions import Machine 定义一个自己的类 class Matter(object): pass model = Matter() 状态定义 stat ...
分类:
编程语言 时间:
2020-12-18 12:42:26
阅读次数:
2
function getCacheData(key: string): any { return (window as any).cache[key]; } interface Cat { name: string; run(): void; } const tom = getCacheData(' ...
分类:
其他好文 时间:
2020-12-18 12:29:58
阅读次数:
2
百度多次未找到遍历一个uiautomator2中子元素的方法,通过自己查看实现代码,找到了方法,分享出来供大家参考。 当你获取了页面某个元素之后 elements = d('//*[@clickable="true"]').all() 返回的是一个list,其中是<uiautomator2.xpat ...
分类:
编程语言 时间:
2020-12-17 13:05:13
阅读次数:
4
Smallest Subtree with all the Deepest Nodes (M) 题目 Given the root of a binary tree, the depth of each node is the shortest distance to the root. Retur ...
分类:
其他好文 时间:
2020-12-17 12:55:47
阅读次数:
3
1.Win+R 录入: regedit 进入注册表选择对应的数据库 找到Pwd 文件 获取到加密的密码 获取到加密密码后 https://tool.lu/coderunner/ 进入这个网站 用PHP工具 在线解析密码 解析代码: <?php namespace FatSmallTools; cla ...
分类:
数据库 时间:
2020-12-17 12:39:29
阅读次数:
4
LoadRunner工具有三个组成分别是: Virtual User Generator:用户行为模拟;录制运行脚本。 Controller:上面的录制一个用户操作,这个可以将其克隆成多个用户,模拟多个用用户操作。还用来监控相应时间、吞吐量、资源利用率等(负载生成及监控), Analysis:数据收 ...
分类:
其他好文 时间:
2020-12-17 12:29:28
阅读次数:
2
public class Demo02Lambda { public static void main(String[] args) { // 简化代码 new Thread(new Runnable() { @Override public void run() { System.out.prin ...
分类:
其他好文 时间:
2020-12-17 12:19:33
阅读次数:
3
1、说明 Spring Boot为开发者提供了一个名为spring-boot-devtools的模块来使Spring Boot应用支持热部署,提高开发者的开发效率,无需手动重启Spring Boot应用。 2、配置方法 2.1、首先确认工程继承自 spring-boot-starter-parent ...
分类:
编程语言 时间:
2020-12-17 12:17:46
阅读次数:
2