#!/usr/bin/python#pythonstartupfileimportsysimportreadlineimportrlcompleterimportatexitimportos#tabcompletionreadline.parse_and_bind(‘tab:complete‘)#historyfilehistfile=os.path.join(os.environ[‘HOME‘],‘.pythonhistory‘)try:readline.read_history_file(histfile..
分类:
编程语言 时间:
2015-03-03 10:03:31
阅读次数:
187
* linux/drivers/video/fpga_fb.c --fpga graphics adaptor frame buffer device* Created 16 Sep2011* Based on dnfb.c** History:** This file is subject to ...
分类:
系统相关 时间:
2015-03-02 20:46:22
阅读次数:
260
看到别人问一个问题,shell中不能用history命令。所以我自己刚好也没有遇到过,就去试了试,果真直接写到shell中不能用,所以只有用bash的一些选项算是勉强完成了。code:#!/bin/bashbash-i-c‘set-ohistory;history;‘
分类:
系统相关 时间:
2015-03-02 19:23:12
阅读次数:
187
1. History of the C++ Standards1.1 History of the C++ StandardsC++98 -> C++03 -> TR1 -> C++11 -> C++14(书中没有,貌似是最新标准)1.2 Common Questions about the C++...
分类:
编程语言 时间:
2015-03-02 18:24:26
阅读次数:
208
History of biofilm researchPerhaps because many biofilms are thick enough to be visible to the naked eye, the microbial communities were among the fir...
分类:
其他好文 时间:
2015-03-02 13:03:25
阅读次数:
152
顾名思义,WebPage就是指网页。这一点也可以从Webkit的WebCore的架构看出来:WebCore->page。在page目录下,实现了一些DOM的全局对象,比如Window,Timer,popup窗口,DOM的选择,焦点的控制、history等等。
总之,与WebView类似,WebPage就是WebCore用来编辑、查看网页内容的对象。
WebCore::page:
...
分类:
Web程序 时间:
2015-02-28 18:45:14
阅读次数:
197
Here is a famous story in Chinese history.That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse...
分类:
其他好文 时间:
2015-02-28 18:23:55
阅读次数:
209
基本上是3个solution: 1).设置网页过期(服务器端) 2).javascript:window.history(客户端) 3).对于键盘的backspace.通过window.event来过滤,当然要考虑的是对于Input控件,要保持删除的功能。 <script type="...
分类:
其他好文 时间:
2015-02-27 20:19:20
阅读次数:
196
shell原理认知:关于shell中的通配符* shell先展开通配符后再传给命令,例如"ls
-ld/usr/include/*"先展开为"ls
-ldfile-list,"查看历史:可以通过history命令来查看命令历史可一使用!!执行上一条命令bash启动: 查找全局设置/etc/profile,之后查找用户主目录下的设置,.bas..
分类:
系统相关 时间:
2015-02-27 10:16:57
阅读次数:
193
JavaScript的DOM操作(一)DOM是文档对象模型,这种模型为树模型;文档是指标签文档;对象是指文档中每个元素;模型是指抽象化的东西。(二)Windows对象操作1.属性和方法属性(值或者子对象):子对象:history,location,document,status,menubar,to...
分类:
编程语言 时间:
2015-02-26 21:39:26
阅读次数:
269