会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
martinsun
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2022年1月13日
获取android入口activity
摘要: adb shell monkey -p "com.xueqiu.android" -vvv 1
阅读全文
posted @ 2022-01-13 16:08 martinsun
阅读(71)
评论(0)
推荐(0)
2021年11月7日
google禁止更新服务
摘要: 1、新建bat文件,复制一下内容运行 @echo off title=关闭 Chrome 浏览器自动更新服务 sc config gupdate start= Disabled > nul && sc config gupdatem start= disabled > nul && echo 处理完
阅读全文
posted @ 2021-11-07 10:26 martinsun
阅读(184)
评论(0)
推荐(0)
2021年11月6日
git 建立仓库步骤
摘要: 账号相关 1、ssh初始化参考 https://gitee.com/help/articles/4181 2、git多账号管理 https://gitee.com/help/articles/4229#article-header0 3、git远程密码更改 https://gitee.com/hel
阅读全文
posted @ 2021-11-06 09:37 martinsun
阅读(195)
评论(0)
推荐(0)
git 第一次上传报错 rejected error: failed to push some refs to
摘要: git仓库建好后,如果仓库有md文件,需要先pull一次 1、报错信息如下 The most similar command is credential-store To https://gitee.com/martin-sun/web-ui-test-excel-driver.git ! [rej
阅读全文
posted @ 2021-11-06 09:22 martinsun
阅读(539)
评论(0)
推荐(0)
2021年11月5日
selenium WebDriverWait 重写子类,赋值真实异常message
摘要: selenium.webdriver.support.wait.WebDriverWait"""参数 ignored_exceptions=None """ def until(self, method, message=''): """Calls the method provided with
阅读全文
posted @ 2021-11-05 10:37 martinsun
阅读(220)
评论(0)
推荐(0)
2021年9月28日
vmware centos 设置静态ip
摘要: /etc/sysconfig/network-scripts/ifcfg-ens33 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.226.128 # IP地址(重要)。 NETMARSK=255.255.255.0 # 子网掩码(重要)。 GATEWAY=1
阅读全文
posted @ 2021-09-28 22:32 martinsun
阅读(34)
评论(0)
推荐(0)
2021年9月1日
xdist ModuleNotFoundError: No module named 'xxxx',xxx为自定义的模块
摘要: 解决方案: 删除项目根目录下的_init_.py文件,否则会提示找不到模块
阅读全文
posted @ 2021-09-01 07:19 martinsun
阅读(53)
评论(0)
推荐(0)
2021年8月27日
python eval 内置函数用法
摘要: 1、类型转换 str="['test']" listobj=eval(str) str="{'test':1}" dictob=eval(str) 2、获取字符串名称储存的对象 obj_str=xxobject eval('objec_str')
阅读全文
posted @ 2021-08-27 15:53 martinsun
阅读(33)
评论(0)
推荐(0)
2021年8月15日
windows使用python脚本实现ssh-copy-id免密钥ssh登录linux
摘要: 1 windows 安装openssh 2 打开cmd,运行命令行 ssh-keygen -t rsa 3 进入用户名/.ssh文件夹 4 使用ptyhon 同步 公钥 id_rsa.pub至linux服务器 python ssh-copy-id.py -i :c:/users/{根换自己当前登录用
阅读全文
posted @ 2021-08-15 12:16 martinsun
阅读(797)
评论(0)
推荐(0)
2021年5月27日
常用正则表达式
摘要: # 匹配首尾字符串之间的内容,不包含首尾(?<=db_id=").*(?=" mock_id)
阅读全文
posted @ 2021-05-27 16:42 martinsun
阅读(32)
评论(0)
推荐(0)
1
2
下一页
公告