在controller节点,shell窗口进行账户登录,需要配置用户环境脚本 export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_NAME=admin(项目名称) export OS_USERNAME=admin(账户名) export OS_P ...
分类:
其他好文 时间:
2021-07-29 16:22:50
阅读次数:
0
debug:am trace-ipc源码分析 一、使用 官网介绍 链接:Slow rendering 如果您有 binder 事务,则可以使用以下 adb 命令捕获其调用堆栈: $ adb shell am trace-ipc start … use the app - scroll/animate ...
分类:
其他好文 时间:
2021-07-28 21:34:30
阅读次数:
0
1 获取当前脚本所处目录路径 #!/bin/bash work_dir=$(cd $(dirname $0);pwd) echo $work_dir ...
分类:
系统相关 时间:
2021-07-28 21:18:02
阅读次数:
0
思路:搜索+剪枝。 本人在撰写这篇题解之前,在网络上搜索过别的题解,发现仅此一篇题解。在学习理解该题解的基础上编写了此题的代码,因此思路上很相像。以下为自己理解的内容,请放心食用。 首先,审题之后,我们可以发现山羊的移动就是从 \((x,y,z)\) 到 \((x\pm1,y,z)\) \((x,y ...
分类:
其他好文 时间:
2021-07-28 21:15:08
阅读次数:
0
例如要将A分支的一个commit合并到B分支: 首先切换到A分支 git checkout A git log 找出要合并的commit ID : 例如 0128660c08e325d410cb845616af355c0c19c6fe 然后切换到B分支上 git checkout B git che ...
分类:
其他好文 时间:
2021-07-26 16:44:06
阅读次数:
0
os模块: os.system os.system("cat/cmd等...") os.popen print os.popen("adb shell ls ../aa.png").read() >>> 输出:aa.png 爆出包含文件 {{%20config.__class__.__init__. ...
分类:
编程语言 时间:
2021-07-26 16:40:48
阅读次数:
0
首先呢,就是推荐技术类网站 CSDN 51CTO itEye cnBlogs BlogJava BlogRead ChinaUnix Github OSCHINA(oschina) ITPUB(itpub) 精华网站: 伯乐在线 ImportNew Segmentfault InfoQ V2EX 互 ...
分类:
Web程序 时间:
2021-07-23 17:38:43
阅读次数:
0
@pytest.fixture 装饰器 被 @pytest.fixture 装饰器装饰的方法名可以作为一个参数传入测试方法中作用:① 使用此方法可以完成测试之前的数据初始化;【测试还未开始时,先执行fixture函数,完成数据初始化(获取数据/执行前置动作)】② 此方法可以返回数据给测试函数;【fi ...
分类:
其他好文 时间:
2021-07-22 17:37:48
阅读次数:
0
变量未定义时, 其被赋为undefined let aaa; console.log("undefined ...",undefined); console.log("aaa ...", aaa); if(aaa==undefined){ console.log("aaa == undefined" ...
分类:
其他好文 时间:
2021-07-21 17:40:09
阅读次数:
0
###一.sshd简介 sshd(secure shell)服务使用ssh协议远程开启其他主机shell的服务。首先需要打开sshd 服务 ###二.sshd服务状态调整 systemctl status sshd 查看服务状态 systemctl start sshd 打开服务 systemctl ...
分类:
系统相关 时间:
2021-07-21 17:39:31
阅读次数:
0