摘要:js中的数据类型有undefined,boolean,number,string,object等5种,前4种为原始类型,第5种为引用类型。 new Object() functionundefined判断的是变量的类型,而其他两个判断是变量的值。undefined可以用来表示以下的状况1. 表示一个
阅读全文
摘要:在一个maven项目中,如果存在编译需要而发布不需要的jar包,可以用scope标签,值设为provided。如下: <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version
阅读全文
摘要:https://blog.csdn.net/zhongweijian/article/details/4742549https://www.jython.org/downloads.htmlhttps://github.com/PortSwigger
阅读全文
摘要:unzip -p charles.jar META-INF/MANIFEST.MF https://blog.csdn.net/isea533/article/details/50278205 https://www.ibm.com/developerworks/cn/java/j-lo-sprin
阅读全文
摘要:WASM: https://github.com/Hanks10100/wasm-examples/tree/master/simple mkdir hello cd hello echo '#include <stdio.h>' > hello.c echo 'int main(int argc,
阅读全文
摘要:spring mvchttp://www.cnblogs.com/wcf6676/p/5333352.html 利用mybatis-generator自动生成代码http://www.cnblogs.com/yjmyzz/p/4210554.html spring-boothttps://gitee
阅读全文
摘要:http://www.cnblogs.com/onlys/articles/jQuery.html
阅读全文
摘要:https://juejin.im/post/5b0903b26fb9a07a9d70c7e0[ js 数组详细操作方法及解析合集 js array and for each https://blog.csdn.net/zdhsoft/article/details/54017183 http://
阅读全文
摘要:https://www.jb51.net/web/499127.html http://www.atool.org/useragent.php query for type 用Curl测试POST POST请求 http://172.16.102.208:8089/wiapi/score?leade
阅读全文
摘要:jmxtrans more tomcat.json { "servers" : [ { "port" : "12345", "host" : "129.0.1.229", "queries" : [ { "obj" : "java.lang:type=Memory", "attr" : [ "Hea
阅读全文
摘要:一: 语法: $(selector).hide(speed,callback); $(selector).show(speed,callback); 实例 //点击隐藏 $("#hide").click(function(){ $("p").hide(); }); //点击显示 $("#show")
阅读全文
摘要:正则表达式,一个十分古老而又强大的文本处理工具,仅仅用一段非常简短的表达式语句,便能够快速实现一个非常复杂的业务逻辑。熟练地掌握正则表达式的话,能够使你的开发效率得到极大的提升。 正则表达式经常被用于字段或任意字符串的校验,如下面这段校验基本日期格式的JavaScript代码: var reg =
阅读全文
摘要:http://www.jb51.net/article/62155.htm http://www.cnblogs.com/dkblog/archive/2011/03/02/1980644.html https://www.liaoxuefeng.com/wiki/001374738125095c9
阅读全文
摘要:__________________________ yum search vnc-server sudo yum install tigervnc-server vncserver -list yum install xauth sudo yum install xclock xclock -di
阅读全文
摘要:jq = document.createElement('script'); jq.src = "file:///home/liulqiang/jquery.js"; document.getElementsByTagName('head')[0].appendChild(jq); jQuery.n
阅读全文
摘要:charles --usage http://www.cnblogs.com/chenlogin/p/5849471.html 按照Charles的提示,PC打开 chls.pro/ssl下载得到一个 charles-proxy-ssl-proxying-certificate.pem 证书传送到手
阅读全文
摘要:最近在做一个生成网站缩略图的功能,从网上查到相关资料,现与大家分享,xvfb这个软件,安装上之后一条命令就能执行此操作。很容易的就生成了自己想要的缩略图。 xvfb-run -运行在一个虚拟的X服务器环境中的指定的X客户端或命令。 xvfb-run --server-args="-screen 0,
阅读全文
摘要:原文链接:http://caibaojian.com/ajax-jsonp.html 一、JS原生ajax ajax:一种请求数据的方式,不需要刷新整个页面; ajax的技术核心是 XMLHttpRequest 对象; ajax 请求过程:创建 XMLHttpRequest 对象、连接服务器、发送请
阅读全文
摘要:之前在项目中使用ajax都是通过jQuery的Ajax API来进行的,今天试了一下通过基本的JavaScript来进行ajax请求,将代码记录下来: jsp 页面 [xhtml] view plain copy <%@ page pageEncoding="UTF-8"%> > <html> <h
阅读全文
摘要:http://www.cnblogs.com/fnng/p/5827577.html jmeter 性能测试 jmeter常见参数 vars、prev、ctx 、props 类的api ctx - ( JMeterContext ) - gives access to the context var
阅读全文