摘要: http://www.cnblogs.com/5bug/p/7684323.html 题目是:有一组“+”和“-”符号,要求将“+”排到左边,“-”排到右边,写出具体的实现方法。 方法一: def StringSort(data): count=len(data) for j in range(co 阅读全文
posted @ 2019-05-06 14:27 by2018 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1)python斐波那切数列1,1,2,3,5,8,13,21,…,编程求第n个斐波那契数列的数: def fbql(x): if x == 1 or x ==2: return 1 else: return fbql(x-1)+fbql(x-2) 2)n的阶乘(递归实现): def fact(n) 阅读全文
posted @ 2019-04-25 10:03 by2018 阅读(266) 评论(0) 推荐(0) 编辑
摘要: '''https://blog.csdn.net/qq_40056626/article/details/81224187https://www.cnblogs.com/wuxinyan/p/8615127.html抓了a,b,c,d四名犯罪嫌疑人,其中有一人是小偷,审讯中:•a说我不是小偷;•b说 阅读全文
posted @ 2019-04-21 20:43 by2018 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1. 打开手机USB 调试开关 2. 执行: adb devices 3.启动你的测试APP (如手机QQ) 4.执行:adb shell dumpsys window |findstr mCurrent 阅读全文
posted @ 2019-03-20 09:13 by2018 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://www.cnblogs.com/shangren/p/8191879.html 1. 首先执行这个命令:npm install -g cnpm --registry=https://registry.npm.taobao.org 安装cnpm(完成后如下图): 2. 然后通 阅读全文
posted @ 2019-01-24 09:01 by2018 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.cnblogs.com/imyalost/p/6086808.html 参考书籍为《图解tcp/ip》-第五版。这篇随笔,主要内容还是TCP/IP所必备的基础知识,包括计算机与网络发展的历史及标准化过程(简述)、OSI参考模型、网络概念的本质、网络构建的设备等 下面是协议 阅读全文
posted @ 2019-01-22 11:52 by2018 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 前些日子写一个滑动手机页面的小脚本,看到大家给的内容都是swipe方法,这里对swipe方法做一个小介绍: Swipe(int start x,int start y,int end x,int y,duration) 解释:int start x-开始滑动的x坐标, int start y -开始 阅读全文
posted @ 2019-01-02 11:45 by2018 阅读(1261) 评论(0) 推荐(0) 编辑
摘要: 将JMETER脚本里的请求超时时间由1000ms 修改为 10000ms,该错误不再出现。 阅读全文
posted @ 2018-11-15 15:33 by2018 阅读(5208) 评论(0) 推荐(0) 编辑
摘要: 相关值解析MaxUserPort:最大动态端口数(Default = 5000, Max = 65534)TcpTimedWaitDelay:TCP等待延迟时间(30)TcpNumConnections:TCP最大连接数(Default = 16,777,214) MaxFreeTcbs:最大TCP 阅读全文
posted @ 2018-11-14 19:30 by2018 阅读(13246) 评论(0) 推荐(0) 编辑
摘要: What is Distributed Testing? Distributed Testing is a kind of testing which use multiple systems to perform Stress Testing. Distributed testing is app 阅读全文
posted @ 2018-10-22 10:35 by2018 阅读(444) 评论(0) 推荐(0) 编辑