find -exec 的标准写法 find ./ -name "*.tmp" -exec rm -rf "{}" \; find -exec 这个命令组合很好用,在find命令后加上 -exec,就可以把找出来的东西进行操作。 之前写过一篇Linux命令:find与exec参数的用法 #find . ...
分类:
其他好文 时间:
2016-11-10 11:37:04
阅读次数:
129
Don't follow the crowd, let the crowd follow you. 不要随波逐流,要引领潮流。 But to be a good follower is already very difficult for me, not to mention to be a goo ...
分类:
其他好文 时间:
2016-11-10 02:55:21
阅读次数:
157
Mybatis采用责任链模式,通过动态代理组织多个拦截器(插件),通过这些拦截器可以改变Mybatis的默认行为(诸如SQL重写之类的),由于插件会深入到Mybatis的核心,因此在编写自己的插件前最好了解下它的原理,以便写出安全高效的插件。 代理链的生成 Mybatis支持对Executor、St ...
分类:
其他好文 时间:
2016-11-10 02:40:44
阅读次数:
244
登陆模块封装文件:public.py#coding=utf-8
fromseleniumimportwebdriver
fromtimeimportsleep
classLogin():
#登陆
defuser_login(self,driver):
driver.find_element_by_id("loginform-username").clear()
driver.find_element_by_id("loginform-username").send_keys("91ctt..
分类:
其他好文 时间:
2016-11-09 23:34:39
阅读次数:
266
封装模块文件public_1.py#coding=utf-8
fromseleniumimportwebdriver
fromtimeimportsleep
classLogin():
#登陆
defuser_login(self,driver,username,password):
driver.find_element_by_id("loginform-username").clear()
driver.find_element_by_id("loginform-username").s..
分类:
其他好文 时间:
2016-11-09 23:26:28
阅读次数:
212
第一章、linux 的介绍和安装1.1 linux 操作系统介绍 linux 的创始人 Linus torvalds。 linux 与 GNU 和 minix linux 与 windows linux 与 unix(POSIX 标准) linux 的版本号 linux 的优点1.2 linux 操 ...
分类:
系统相关 时间:
2016-11-09 22:37:08
阅读次数:
259
这个错误是说,找不到这个注释: 解决方案: 1、更改自己本机的jdk版本(我的更改了无效): 在工程选择框内点击右键 >build path >Library >add Library 选择JRE System Library >next 就可以更改了。 2、更改aspectjweaver.ja的版 ...
分类:
编程语言 时间:
2016-11-09 22:03:08
阅读次数:
203
Problem Description Given two positive integers a and b,find suitable X and Y to meet the conditions: X+Y=a Least Common Multiple (X, Y) =b Input Inpu ...
分类:
其他好文 时间:
2016-11-09 22:01:42
阅读次数:
192
1.题目描述 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 思路:从左下开始,小,往上,大,往右。 class Solution { public: bool Find(vect ...
分类:
其他好文 时间:
2016-11-09 19:53:43
阅读次数:
224