1. screen screen.availWidth 可用的屏幕宽度 screen.availHeight 可用的屏幕高度2. history history.back() 与浏览器中点击后退按钮相同 该方法加载历史列表中的前一个URL. history.forward() 与...
history是一条非常实用的shell命令,可以显示出之前在shell中运行的命令,配合last显示之前登录的用户,就可以追溯是哪个用户执行了某些命令。以下详细说明history使用中常见的命令或技巧,在实际系统管理中,应用得当,可以让工作事半功倍。使用HISTTIMEFORMAT在历史中显示TI...
分类:
其他好文 时间:
2015-10-16 14:53:44
阅读次数:
201
pjax是history.pustState与ajax的结合,用于实现当点击链接后,页面局部刷新,url改变,历史后退可以回退到之前页面。 pjax项目地址在https://github.com/defunkt/jquery-pjax 实际的效果见http://pjax.heroku.com/ 原....
分类:
其他好文 时间:
2015-10-15 16:11:43
阅读次数:
159
编辑/etc/profile文件或者/etc/bashrc文件,添加如下内容export HISTFILE=$HOME/.bash_historyexport HISTSIZE=2000export HISTFILESIZE=2000export HISTTIMEFORMAT="%F %T `who...
分类:
其他好文 时间:
2015-10-13 10:38:08
阅读次数:
123
解读android 6.0 :http://www.ifanr.com/app/569615
分类:
移动开发 时间:
2015-10-12 17:36:47
阅读次数:
140
/*** @author Administrator** @description Java多线程编程入门测试类* @history*/// 方法一、继承线程类Threadclass MyThread extends Thread{public MyThread(String threadName)...
分类:
编程语言 时间:
2015-10-11 10:12:22
阅读次数:
245
/*** @author Administrator** @description Object类学习测试类* @history*/public class ObjectTestDemo {/***@description*@param args* @throws ClassNotFoundExce...
分类:
其他好文 时间:
2015-10-11 10:11:05
阅读次数:
236
/*** @author Administrator** @description 接口测试类* @history*/interface Interface{public static final String INFO = "helloeclipse";public void print(); /...
分类:
其他好文 时间:
2015-10-11 10:10:01
阅读次数:
176
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-10-09 21:13:08
阅读次数:
284
使用到的apihistory.state当前URL下对应的状态信息。 如果当前URL不是通过pushState或者replaceState产生的,那么history.state是null。history.pushState(state, title, url) 将当前URL和history.st.....
分类:
Web程序 时间:
2015-10-09 18:09:16
阅读次数:
136