//函数原型:版本号linux-3.0.8struct task_struct *__switch_to(structtask_struct *,struct thread_info *, struct thread_info *);#define switch_to(prev,next,last)...
分类:
系统相关 时间:
2015-12-24 09:13:31
阅读次数:
308
Last-Modified和Expires针对浏览器,而ETag则与客户端无关,所以可适合REST架构中。两者都应用在浏览器端的区别是:Expires日期到达前,浏览器不会再发出新的请求,除非用户按浏览器的刷新,所以,Last-Modified和Expires基本是降低浏览器向服务器发出请求的次数,...
分类:
其他好文 时间:
2015-12-23 19:21:57
阅读次数:
141
常用命令:1、clc——清空窗口命令(The Command Windows);2、clf——清空当前图像窗口中的内容;3、clear——在工作空间窗口(The workspace browser)中变量用clear清除;4、克隆运算符:first:incr:last 第一个值:增量:最后一个值>>...
分类:
其他好文 时间:
2015-12-23 17:52:18
阅读次数:
210
$arr[$i]['FirstName'] = $d_first_name;$arr[$i]['MiddleName'] = $d_middle_name;$arr[$i]['LastName'] = $d_last_name;$arr[$i]['Company'] = $d_company;$ar...
分类:
编程语言 时间:
2015-12-23 14:16:49
阅读次数:
153
select table_name.column_name,........from table_name1,table_name,.....1.等值连接2.不等值连接3.外连接4.自连接s_emps_depts_region需求一: 查询所有员工的名字,和所有部门的名字 select last_n...
分类:
其他好文 时间:
2015-12-23 10:38:45
阅读次数:
104
1、报错信息如下:Last_SQL_Error:Error‘Can‘tdropdatabase‘oldboy‘;databasedoesn‘texist‘onquery.Defaultdatabase:‘oldboy‘.Query:‘dropdatabaseoldboy‘Replicate_Ignore_Server_Ids:Master_Server_Id:11rowinset(0.00sec)解决处理过程:mysql>stopslave;QueryOK,0rowsaff..
分类:
数据库 时间:
2015-12-23 02:09:37
阅读次数:
208
1、vi的基本概念 基本上vi可以分为三种状态,分别是命令模式(command mode)、插入模式(Insert mode)和底行模式(last line mode),各模式的功能区分如下: 1) 命令行模式command mode) 控制屏幕光标的移动,字符、字或行的删除,移动复制某区段及...
分类:
系统相关 时间:
2015-12-21 21:54:00
阅读次数:
217
VirtualBox error: Kernel driver not installed (rc=1908)Hi all, Let me first say that this is my final resort after googling this issue for the last se...
分类:
其他好文 时间:
2015-12-21 21:52:45
阅读次数:
473
~ 为区分大小写匹配~* 为不区分大小写匹配!~和!~*分别为区分大小写不匹配及不区分大小写不匹-f和!-f用来判断是否存在文件-d和!-d用来判断是否存在目录-e和!-e用来判断是否存在文件或目录-x和!-x用来判断文件是否可执行last 相当于Apache里的[L]标记,表示完成rewrite,...
分类:
其他好文 时间:
2015-12-21 10:55:03
阅读次数:
186
1:nginx版本隐藏之前访问root@zxl-nginxconf]#curl-Ihttp://www.zxl.com
HTTP/1.1200OK
Server:nginx/1.8.0
Date:Sat,19Dec201514:07:29GMT
Content-Type:text/html
Content-Length:44
Last-Modified:Fri,18Dec201505:23:18GMT
Connection:keep-alive
ETag:"56739846-2c"
Acce..
分类:
其他好文 时间:
2015-12-20 09:20:53
阅读次数:
233