Webdriver中比较常用的操作元素的方法:clear() 清除输入框的默认内容send_keys("xxx") 在一个输入框里输入xx内容——如果输入中文,则需要在脚本开头声明编码为utf-8,然后在中文字符前面加u(如:send_keys(u"中文内容"))click() 点击一个按钮s...
分类:
编程语言 时间:
2015-03-06 18:54:51
阅读次数:
212
我们可以使用ng-repeat指令遍历一个javascript数组,当数组中有重复元素的时候,angularjs会报错:
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: user in user...
分类:
其他好文 时间:
2015-03-06 17:13:28
阅读次数:
217
原文: 数据库开发——参照完整性——在外键中使用Delete on cascade选项 原文:http://www.mssqltips.com/sqlservertip/2743/using-delete-cascade-option-for-foreign-keys/?utm_source=dai...
分类:
数据库 时间:
2015-03-06 12:39:45
阅读次数:
236
最近安全研究人员发现一种新型SSL/TLS漏洞,漏洞编号为CVE-2015-0204,该漏洞被称为FREAK(疯怪)。漏洞的名称取自于“RSA_EXPORT素数攻击”的英文首字母(Factoring attack on RSA-EXPORT Keys)。通过它...
分类:
Web程序 时间:
2015-03-06 10:40:40
阅读次数:
134
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ou...
分类:
其他好文 时间:
2015-03-06 00:57:57
阅读次数:
152
HashMap实现了Map接口,该接口的作用主要是为客户提供三种方式的数据显示:只查看keys列表;只查看values列表,或以key-value形式成对查看。Map接口并没有定义数据要如何存储,也没有指定如何判定key是一样,因此并不是所有的Map实现都会与hashCode方法扯上关系,如Tr.....
分类:
其他好文 时间:
2015-03-05 18:52:03
阅读次数:
158
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:
The left subtree of a node contains only nodes with keys less than the node's key.
The righ...
分类:
其他好文 时间:
2015-03-05 17:08:50
阅读次数:
178
一、使用账号(管理员权限),安装文件复制到服务器二、检查维护状态如果维护状态过期,更新到新版本会变成未授权。 先进Manage Product Keys刷新一下维护日期。三、清理 1.确认服务器状态tabadmin status 2.清除无用日志等信息(不会清除数据库的访问日志)tabadmin c...
分类:
其他好文 时间:
2015-03-05 10:38:31
阅读次数:
173
使用密钥登录linux的操作步骤(使用putty):1、用putty远程登录linux服务器,然后使用puttygen生成密钥,将生成的密钥保存,保存私钥将公钥复制保存到linux服务器的authorized_keys文件里面 2、创建文件: vi /root/.ssh/authorized_ke....
分类:
系统相关 时间:
2015-03-04 22:28:40
阅读次数:
176
自动代码补全完全是一个改善生活质量的功能呀!cdt拥有自动代码补全功能,只是我们没有打开而已
1. 绑定快捷方式
1. windows -> preferences ->general->keys 在搜索框输入 template
然后在binding 中输入 alt+/
2. 开启自动填充功能
windows -> preferences -> c/c++ -> edi...
分类:
系统相关 时间:
2015-03-03 16:38:04
阅读次数:
2473