项目健壮性提高 path参数化 import os # 获取项目所在的绝对路径 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # 用例模块所在的目录路径 CASE_DIR = os.path.join(B ...
分类:
其他好文 时间:
2020-06-26 12:42:27
阅读次数:
61
TypeScript 模块的设计理念是可以更换的组织代码。模块是在其自身的作用域里执行,并不是在全局作用域,这意味着定义在模块里面的变量、函数和类等在模块外部是不可见的,除非明确地使用 export 导出它们。类似地,我们必须通过 import 导入其他模块导出的变量、函数、类等。两个模块之间的关系... ...
分类:
其他好文 时间:
2020-06-26 11:05:11
阅读次数:
68
这篇文章是我在一家公司担任技术主管期间审查了超过五百份简历后总结的的程序员编写简历时可能犯的错误以及相关建议 精选你的技能 不要把自己会的所有技术、框架或者语言都列在简历上,因为这很容易让别人认为你杂而不精。 例如熟悉C#, Java, PHP, .NET, MySQL, Oracle, C, C+ ...
分类:
其他好文 时间:
2020-06-25 21:52:43
阅读次数:
82
cgi: CGI的英文是(COMMON GATEWAY INTERFACE)公共网关接口,它的作用就是帮助服务器与语言通信,它是Web服务器与外部应用程序(CGI程序)之间传递信息的接口标准。这里就是nginx和php进行通信,因为nginx和php的语言不通,因此需要一个沟通转换的过程,而CGI就 ...
分类:
Web程序 时间:
2020-06-25 17:39:08
阅读次数:
71
自定义分区器: import org.apache.kafka.clients.producer.Partitioner; import org.apache.kafka.common.Cluster; import org.apache.kafka.common.PartitionInfo; im ...
分类:
其他好文 时间:
2020-06-25 15:30:00
阅读次数:
55
description Given a positive integer N, return the number of positive integers less than or equal to N that have at least 1 repeated digit. Example In ...
分类:
其他好文 时间:
2020-06-25 14:09:06
阅读次数:
65
package spendreport; import org.apache.flink.api.common.state.ValueState; import org.apache.flink.api.common.state.ValueStateDescriptor; import org.ap ...
分类:
Web程序 时间:
2020-06-25 13:37:20
阅读次数:
162
Find the Duplicate Number (M) 题目 Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least ...
分类:
其他好文 时间:
2020-06-25 09:20:33
阅读次数:
64
Power Strings Time Limit: 3000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Submit Status Description Given two strings a and b we define a* ...
分类:
其他好文 时间:
2020-06-24 21:40:19
阅读次数:
63
1、编译报错 Error:(16, 8) java: 无法将类 uiauto.web.common.OperationNewLabelPageImpl中的构造器 OperationNewLabelPageImpl应用到给定类型; 需要: org.openqa.selenium.chrome.Chro ...
分类:
编程语言 时间:
2020-06-24 00:08:44
阅读次数:
84