You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2019-12-13 14:08:00
阅读次数:
76
具体需求:有一个登陆页面, 上面有2个textbox, 一个提交按钮。 请针对这个页面设计30个以上的test case. 此题的考察目的: 面试者是否熟悉各种测试方法,是否有丰富的Web测试经验, 是否了解Web开发,以及设计Test case的能力 功能测试(Function test) 1.输 ...
分类:
其他好文 时间:
2019-12-12 19:31:31
阅读次数:
255
创建文本菜单:echo和case定制菜单;select工具快速创建文本菜单;dialog包制作窗口;mktemp创建本地临时文件
分类:
系统相关 时间:
2019-12-12 16:49:48
阅读次数:
281
移动端唤起qq var u = navigator.userAgent; var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); var qqUrl = 'mqqwpa://im/chat?chat_type=wpa&uin=QQ号&versi ...
分类:
移动开发 时间:
2019-12-12 15:27:23
阅读次数:
504
def nrun(): report = ('report_' + ('%s') % time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime()) + '.html').replace('\\', '/') suite = unittest.default ...
分类:
其他好文 时间:
2019-12-12 15:03:09
阅读次数:
377
原题链接在这里:https://leetcode.com/problems/valid-palindrome-iii/ 题目: Given a string s and an integer k, find out if the given string is a K-Palindrome or n ...
分类:
其他好文 时间:
2019-12-12 13:24:20
阅读次数:
107
show variables like 'validate_password%'; 查看密码策略 | validate_password_check_user_name | OFF || validate_password_dictionary_file | || validate_password ...
分类:
数据库 时间:
2019-12-12 13:04:02
阅读次数:
113
When 表达式 when 将它的参数和所有的分支条件顺序比较,直到某个分支满足条件。 when 既可以被当做表达式使用也可以被当做语句使用。如果它被当做表达式,符合条件的分支的值就是整个表达式的值,如果当做语句使用, 则忽略个别分支的值。 when 类似其他语言的 switch 操作符。其最简单的 ...
分类:
其他好文 时间:
2019-12-12 12:53:56
阅读次数:
98
前段时间,闲的蛋疼,重新整理了一下python的学习资料,现在把整理的python中字符串操作分享出来,方便自己和大家今后查询 a = 'SUNW ukong 123456' #print(a.capitalize()) #字符串首字母变成大写 #print(a.casefold()) #将字符串中 ...
分类:
编程语言 时间:
2019-12-11 23:37:22
阅读次数:
99
config = configparser.ConfigParser() config_path = os.path.join(path, 'Config/config.ini') config.read(config_path, encoding="utf-8-sig") switch = con ...
分类:
其他好文 时间:
2019-12-11 17:39:39
阅读次数:
85