同源策略限制一个加载于A origin的document或者script能够如何和来自于另外一个origin的resource交互。同源策略是隔离潜在恶意网页的安全机制。源的定义两个网页只有具有相同的protocol,port以及host才被认为是具有相同的origin的。比如http://xxx....
分类:
编程语言 时间:
2015-12-10 18:52:57
阅读次数:
192
<html><head><scripttype="text/javascript"src="http://www.w3school.com.cn/jquery/jquery.js"></script><style>.bg1{background-p_w_picpath:url(21.jpg);}.bg2{background-p_w_picpath:url(22.jpg);}</style><scripttype="text/jav..
分类:
Web程序 时间:
2015-12-10 11:31:58
阅读次数:
126
解决办法:依次点击Windows-->Preferences-->Myeclipse-->Files and Editors-->JavaScript-->Editor-->Syntax Coloring至此点击右边的Background-->Script block设置颜色为你jsp页面的背景色或...
分类:
编程语言 时间:
2015-12-10 11:01:52
阅读次数:
226
==================================================#!/bin/bashsqlplus=sqlplus64username=$1psswd=$2filedir=$3[[ $filedir ]] || filedir="/sandbox/EDF_API...
分类:
系统相关 时间:
2015-12-09 19:27:48
阅读次数:
227
本文出自 Linux运维日志,转载时请注明出处及相应链接。本文永久链接: https://www.centos.bz/2012/07/shell-script-exercises/Q1分析图片服务日志,把日志(每个图片访问次数*图片大小的总和)排行,也就是计算每个url的总访问大小说明:本题生产环境...
分类:
系统相关 时间:
2015-12-09 19:12:51
阅读次数:
392
实现跨域请求的有iframe,img,script中的src属性.那么jquery是如何解决跨域请求的呢?一:项目jsonp2中有个app.js文件,代码如下:function app(json){ alert(json['name']);}项目jsonp1中的index.html执行结果:这...
分类:
Web程序 时间:
2015-12-09 19:02:07
阅读次数:
241
When using biber I usually follow the order of pdflatex → biber → pdflatex → pdflatex, which is not an available option of many IDEs.#! /bin/bash# # A...
分类:
系统相关 时间:
2015-12-07 15:41:30
阅读次数:
147
USE [DB_JP_BaseInfo]GO/****** Object: StoredProcedure [dbo].[sp_HeGeIndexReport] Script Date: 12/07/2015 10:28:21 ******/SET ANSI_NULLS ONGOSET QU...
分类:
其他好文 时间:
2015-12-07 12:22:30
阅读次数:
212
参考此篇How to Remove the old (or new) Kernelshttp://ubuntuhandbook.org/index.php/2015/08/install-latest-kernel-script/1.在拥有图形界面的ubuntu里:1.1 在Ubuntu Softw...
分类:
系统相关 时间:
2015-12-07 02:13:01
阅读次数:
172
原文链接:http://blog.chinaunix.net/uid-22548820-id-3181798.htmlfork ( /directory/script.sh) :如果shell中包含执行命令,那么子命令并不影响父级的命令。在子命令执行完后再执行父级命令,子级的环境变量不会影响到父级。...
分类:
系统相关 时间:
2015-12-06 11:21:57
阅读次数:
209