摘要: 源码地址:https://github.com/wuchangming/node-mitmproxy node-mitmproxy node-mitmproxy是一个基于nodejs,支持http/https的中间人(MITM)代理,便于渗透测试和开发调试。 1、特性 1、支持https2、支持配置 阅读全文
posted @ 2016-05-18 15:51 notCharming 阅读(3529) 评论(3) 推荐(1) 编辑
摘要: 项目名称: spy-debugger 项目地址:https://github.com/wuchangming/spy-debugger 关于spy-debugger npm Build Status 1、一站式页面调试工具,远程调试任何手机浏览器页面,任何手机移动端webview(如:微信,Hybi 阅读全文
posted @ 2016-05-09 13:20 notCharming 阅读(5230) 评论(1) 推荐(0) 编辑
摘要: 项目:jquery-ajax-cache 地址:https://github.com/WQTeam/jquery-ajax-cache 最近在项目中用到了本地缓存localStorage做数据的缓存。1、简单说下localStorage localStorage和cookies相比,... 阅读全文
posted @ 2015-12-22 22:52 notCharming 阅读(4842) 评论(7) 推荐(4) 编辑
摘要: 项目名:web-storage-cache项目地址:https://github.com/WQTeam/web-storage-cacheAPI说明:https://github.com/WQTeam/web-storage-cache/blob/master/README_zh_CN.md本人在前... 阅读全文
posted @ 2015-10-21 14:30 notCharming 阅读(3121) 评论(3) 推荐(3) 编辑
摘要: 项目名称:github-notification项目地址:https://github.com/WQTeam/github-notification说明:本人打算抽时间学习前端(html+css+js),选择Chrome扩展应用程序制作一个简单练手的项目。避免中途放弃在此立字为证!有一起的兄弟吗?项... 阅读全文
posted @ 2015-10-19 17:16 notCharming 阅读(2055) 评论(4) 推荐(1) 编辑
摘要: 1、数组创建的方法有很多种:int[] anArray ;//这一步只是做了声明,内存中并没分配,这一点是和C/C++不同的地方 anArray = new int[10];//这一步数组才真正建立int[] anArray = {1,2,3};2、数组与Array类的关系: 数组的写法与创建方式与一般的类有很大的不同,我一直认为数组与Java基本数据类型相似。其实不是。数组的创建确实与一般的类有所不同。 Java中的所有数组都是通过Array类实例化。Array类没有public的构造方法,数组是通过Array的newInstance()方法进行实例化。源代码如下:一维数组: ... 阅读全文
posted @ 2013-03-28 10:32 notCharming 阅读(11907) 评论(1) 推荐(1) 编辑
摘要: float 大小为 32-bit 存储的结构:1位符号位,8位指数(幂),23位尾数double 大小为 64-bit 存储的结构:1位符号位,11位指数(幂),52位尾数float与double结构类似,下面以float为例子做分析:1、通过程序的方式获取float的二进制表示:public class FloatTest { public static void main(String[] args) { float f = 8; //因为int型与float型在内存中的长度相同,用floatToIntBits()可以把float中的二进制标... 阅读全文
posted @ 2013-03-26 22:18 notCharming 阅读(4042) 评论(1) 推荐(1) 编辑
摘要: 用Find bugs找到了代码中的一处bug"+".equals (dialNumber.charAt(0)) 原因是charAt()方法返回的是 char类型,char类型比较相等用的是 "=="。正确写法应该是:'+' == (dialNumber.charAt(0)) 由此想到String类型的比较问题。 在C/C++中String类型的比较用的是"==",但在Java中String的类型比较却不能用"=="。 先看看String类的结构(注:下面用的都是JDK1.6的代码,每个版本都有不同) 阅读全文
posted @ 2013-03-25 22:00 notCharming 阅读(196) 评论(1) 推荐(0) 编辑
摘要: 1、maven命令:mvn clean 清除编译临时文件mvn install 发布到本地资源库指令mvncompile 编译mvnpackage 打包mvn -Pfastinstall 快速导入架包,不导入test等mvn eclipse:eclipse 一般从svn上拉下maven工程后,在相应工程路径下执行此命令,然后导入eclipse即可 下面的命令是把下载的架包导入到本地仓库,默认位置在${user.dir}/.m2/repository: mvn install:install-file -Dfile=C:\Users\12071142\Desktop\cxf-rt-manage. 阅读全文
posted @ 2013-03-22 18:59 notCharming 阅读(245) 评论(1) 推荐(0) 编辑