屏蔽所有iFrame元素,大多数广告都是以iframe的方法显示
*$subdocument
屏蔽所有iFrame元素,大多数广告都是以iframe的方法显示
*$subdocument
div.container>p+table>tr[data-scroll-reveal='enter bottom']*30>td*10>{item$$}
生成:
<div class="container">
<p></p>
#!/bin/sh | |
DESC="Jenkins CI Server" | |
NAME=jenkins | |
PIDFILE=$NAME.pid | |
COMMAND="${PWD}/jdk1.7.0_21/bin/java -- -Xms128m -Xmx1024m -jar ${PWD}/jenkins.war" | |
d_start() { | |
export JENKINS_HOME=${PWD}/.jenkins |
<tomcat-users> | |
<!-- | |
NOTE: By default, no user is included in the "manager-gui" role required | |
to operate the "/manager/html" web application. If you wish to use this app, | |
you must define such a user - the username and password are arbitrary. | |
--> | |
<!-- | |
NOTE: The sample user and role entries below are wrapped in a comment | |
and thus are ignored when reading this file. Do not forget to remove | |
<!.. ..> that surrounds them. |
##HttpServletResponse 流只能读取一次,通过以下方法增加输出
public class ResponseLoggingFilter extends GenericFilterBean {
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {
HttpServletResponse responseWrapper = loggingResponseWrapper((HttpServletResponse) response);
filterChain.doFilter(request, responseWrapper);
}
$('table tr input[type=checkbox]:nth-child(1) ').prop('checked', $(e.target).prop('checked')); |
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<meta name="description" content="angularjs service,factory,provider区别" /> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.1/angular.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body ng-controller="MyCtrl"> | |
{{serviceOutput}} |
##$q的使用
var q = $q.defer(),
p = q.promise;
chrome.fileSystem.chooseEntry({type: "openWritableFile", accepts: [
{extensions: ["md"]}
]},
function (entry) {
##replace 替换/和. 为 -
function convertToid(path) {
return path.replace(/\.|\//g, '-')
}
##endwith