使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:
及分年数据(存在部分重复影片,原始数据的问题):
$(function () { | |
$.ajax({ | |
type: 'GET', | |
cache: false, | |
url: location.href, | |
complete: function (req, textStatus) { | |
var dateString = req.getResponseHeader('Date'); | |
if (dateString.indexOf('GMT') === -1) { | |
dateString += ' GMT'; | |
} |
<script type="text/ng-template" id="one.html"> | |
<div>This is first template</div> | |
</script> | |
<script type="text/ng-template" id="two.html"> | |
<div>This is second template</div> | |
</script> |
@foo: `javascript` ; |
/* | |
* @function: 通过a标签解析url标签 | |
* @param:url url参数是字符串,解析的目标 | |
通过IE6-9 chrome Firefox测试 | |
* | |
*/ | |
function parseURL(url) { | |
//创建一个a标签 | |
var a = document.createElement('a'); |
1.强制按照ie7的模式来渲染,无视doc头声明,和兼容性设置 | |
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> | |
2.强制按照ie当前版本来渲染,同上。 | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
3.直接跳转 | |
<meta http-equiv="refresh" content="0;url=pathtojump"/> | |
4.禁止网页在移动设备上的缩放(非强制禁止) |
Apache或者xmapp配置域名并跳转到特定目录 | |
1.在/conf/extra/httpd-vhosts.conf中(或者直接写到httpd.conf)增加 | |
<VirtualHost *:80> | |
DocumentRoot "E:/http/sanyou_cc" | |
ServerName "sanyou.cc" | |
</VirtualHost> | |
可以参考42行之前的举例,这里需要注意的是,apache的配置,不能用tab,不然会报错 | |
如果端口好不为80可以在httpd.conf中增加 | |
Listen 80 |
/** | |
* This code is licensed under the terms of the MIT license | |
* | |
* Deep diff between two object, using lodash | |
* @param {Object} object Object compared | |
* @param {Object} base Object to compare with | |
* @return {Object} Return a new object who represent the diff | |
*/ | |
function difference(object, base) { | |
function changes(object, base) { |
使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:
及分年数据(存在部分重复影片,原始数据的问题):