可以用javaScript解决? 在你想控制跳转的页面,比如login.jsp中的<head>与</head>之间加入以下代码:? <script language="JavaScript">? if (window != top)? top.location.href = location.href;? </script...
分类:
其他好文 时间:
2015-10-15 11:26:30
阅读次数:
118
python目录中有两个关键性的目录:lib和Script lib:包含了python的内置模块;当下载的第三方模块则在lib\site-packages内; Script:包含了脚本exe文件;etc : pip.exe;easy_install.exe等; python安装的方式汇总...
分类:
编程语言 时间:
2015-10-15 11:22:54
阅读次数:
204
3D动态切换效果 1 jQuery(document).ready(function(){ 2 var scripts = document.getElementsByTagName("script"); 3 var jsF...
分类:
其他好文 时间:
2015-10-14 19:58:22
阅读次数:
254
#!/bin/bash#this script is appropriate for minimize installation system centos or linux 6.x(这脚本适合最小化安装6.x版本的系统)#you have already install the osread -....
分类:
其他好文 时间:
2015-10-14 17:40:54
阅读次数:
199
!/bin/bash#this script is source packages installed lnmp for redhat or centos 6.xmalyum -y install wget#"============download the source package=====....
分类:
系统相关 时间:
2015-10-14 17:34:26
阅读次数:
408
Linux中运行shell脚本主要有三种方式: ????1.直接命令下达: shell.sh 文件必须要具备可读与可运行 (rx) 的权限,然后: ????????绝对路径:使用 /home/dmtsai/shell.sh 来下达命令; ???????...
分类:
系统相关 时间:
2015-10-14 12:46:22
阅读次数:
186
1. 减少HTTP请求次数合并图片、CSS、JS,改进首次访问用户等待时间。2. 使用CDN就近缓存==>智能路由==>负载均衡==>WSA全站动态加速3. 避免空的src和href当link标签的href属性为空、script标签的src属性为空的时候,浏览器渲染的时候会把当前页面的URL作为它们...
分类:
Web程序 时间:
2015-10-13 22:32:26
阅读次数:
186
NERD tree树形目录插件? 插件简介 NERD tree是一款vim树形文件资源管理器插件。NERD tree可以让你在vim中浏览你的文件系统,打开想要的文件或目录。? 插件安装 ? 下载NERD tree,下载地址:http://www.vim.org/scripts/script.p.....
分类:
系统相关 时间:
2015-10-13 20:45:19
阅读次数:
231
php网页重定向的实现方法 1、header("Location:?http://www.baidu.com");?//Location:之后有“空格”
2、echo?"<script>window.location?=?"?
3、echo?"<METAHTTP-EQUIV=\"Refresh\"?CONTENT=\"0;?URL...
分类:
Web程序 时间:
2015-10-13 17:24:14
阅读次数:
146
前面反复使用的命令行,好学喜欢命令行:一 格公式lua [options][script][args]两 详细命令-e 直接命令传递一个lua-l 加载文件-i 进入交互模式比例如。端子输入:lua -e "print(math.sin(12))" ...
分类:
其他好文 时间:
2015-10-13 16:53:57
阅读次数:
157