VIM 基本命令离开 viZZ :wq :x 先存档再离开:w 档名 存成他档:q 离开 (档案有改会提示):q! 放弃编辑,直接离开:wq! 强制存档,并离开暂时离开 vi:! 暂时执行一下UNIX指令:sh 产生新shell, Ctrl + d 回...
分类:
其他好文 时间:
2014-07-23 16:15:51
阅读次数:
208
linux由三部分构成,the kernel(内核), the shell and the programs(程序).shell是用来连接内核的,而连接shell在本机用的最多的就是终端,shell有很多种,在kali中默认使用的是bash,这也是使用的比较广泛的一种shell。
分类:
系统相关 时间:
2014-07-23 16:13:13
阅读次数:
311
话说有一文章表article,存储文章的添加文章的时间是add_time字段,该字段为int(5)类型的,现需要查询今天添加的文章总数并且按照时间从大到小排序,则查询语句如下:1 select * from `article` where date_format(from_UNIXTIME(`add...
分类:
数据库 时间:
2014-07-23 15:48:49
阅读次数:
286
场景webdriver中可以设置很多的超时时间implicit_wait。识别对象时的超时时间。过了这个时间如果对象还没找到的话就会抛出异常代码ff = webdriver.Firefox()ff.implicitly_wait(10) # secondsff.get("http://somedom...
分类:
其他好文 时间:
2014-07-23 15:38:19
阅读次数:
227
多核时代不宜再用 x86 的 RDTSC 指令测试指令周期和时间陈硕Blog.csdn.net/Solstice自从 Intel Pentium 加入 RDTSC 指令以来,这条指令是 micro-benchmarking 的利器,可以以极小的代价获得高精度的 CPU 时钟周期数(Time Stam...
分类:
编程语言 时间:
2014-07-23 15:21:56
阅读次数:
347
/** * @class FormOperation 表单操作方法集合类 * @constructor */function FormOperation(){ var TIP_CLASS_NAME = "tip-messages"; //消息显示框类 var TIP_SHOW_TIME ...
分类:
其他好文 时间:
2014-07-23 15:21:16
阅读次数:
245
1、jQuery对象缓存如果同一元素被查找多次时,就应该将该jQuery对象缓存起来,不然每次查找都要遍历整个文档。使用下边的代码做个简单的测试 用Chrome浏览器按F12打开控制台查看结果:(注:console.time在Chrome和Firefox浏览器好用,IE不行)性能还...
分类:
Web程序 时间:
2014-07-23 15:14:26
阅读次数:
216
后缀自己主动机的简单运用....Glass BeadsTime Limit:3000MSMemory Limit:10000KTotal Submissions:2352Accepted:1375DescriptionOnce upon a time there was a famous actre...
分类:
其他好文 时间:
2014-07-23 15:11:46
阅读次数:
238
#pragma warning(disable:4996)
#include <Windows.h>
#include <tchar.h>
#include <cstdio>
#include <vector>
using namespace std;
/*
submit time : 1 // But I don‘t know how to deal with "Follow u...
分类:
其他好文 时间:
2014-07-23 13:55:36
阅读次数:
280
** Building terminfo database, please wait...
Running tic to install /usr/share/terminfo ...
You may see messages regarding extended capabilities, e.g., AX.
These are extended t...
分类:
其他好文 时间:
2014-07-23 13:40:16
阅读次数:
468