The 79th Anniversary of Anti-Japan War Difficulties vanish when faced bodly. 勇敢面对困难,困难自会退让。 The best way to memorize the past humilation is not to pas ...
分类:
其他好文 时间:
2016-07-08 00:06:53
阅读次数:
222
# 本demo实现原理来自 https://github.com/dodola/HotFix https://zhuanlan.zhihu.com/p/20308548 # Anti类功能,及其原理 如上图,A,B,C是三个class,它们在生成apk文件时,被打包入同一个dex文件中,当apk发布 ...
分类:
移动开发 时间:
2016-07-06 17:52:19
阅读次数:
303
Gossip算法又被称为反熵(Anti-Entropy),熵是物理学上的一个概念,代表杂乱无章,而反熵就是在杂乱无章中寻求一致,这充分说明了Gossip的特点: 在一个有界网络中,每个节点都随机地与其他节点通信,经过一番杂乱无章的通信,最终所有节点的状态都会达成一致。 每个节点可能知道所有其他节点, ...
分类:
其他好文 时间:
2016-07-04 22:08:33
阅读次数:
337
Token,就是令牌,最大的特点就是随机性,不可预测。一般黑客或软件无法猜测出来。 那么,Token有什么作用?又是什么原理呢? Token一般用在两个地方: 1)防止表单重复提交、 2)anti csrf攻击(跨站点请求伪造)。 两者在原理上都是通过session token来实现的。当客户端请求 ...
分类:
其他好文 时间:
2016-07-04 15:08:28
阅读次数:
160
原文地址:http://code.joejag.com/2016/anti-if-the-missing-patterns.html Around 10 years ago I encountered the anti-if campaign and found it to be an absurd ...
分类:
其他好文 时间:
2016-06-17 14:19:25
阅读次数:
192
https://wpl.codeplex.com/ Before understanding Anti-Cross Site Scripting Library (AntiXSS), let us understand Cross-Site Scripting(XSS). Cross-site Sc ...
分类:
其他好文 时间:
2016-06-13 07:41:48
阅读次数:
182
配置httpd防盗链可以用SetEnvIfNoCase和rewrite实现反盗链(Anti-Leech)一、使用SetEnvIfNoCase,注意放行自己的网址SetEnvIfNoCaseReferer"^http://.*\.sunnysky\.com"local_refSetEnvIfNoCaseReferer".*\.byqk\.com"local_refSetEnvIfNoCaseReferer"^$"local_ref<filesmatc..
分类:
Web程序 时间:
2016-06-06 09:13:59
阅读次数:
588
除了常用的画笔属性,比如普通的画笔(Paint),带边框、填充的style,颜色(Color),宽度(StrokeWidth),抗锯齿(ANTI_ALIAS_FLAG)等,Android还提供了各种各样专业的画笔工具,如记号笔、毛笔、蜡笔等,使用它们可以实现更加丰富的效果。...
分类:
移动开发 时间:
2016-06-01 10:23:09
阅读次数:
406
Anti-prime Sequences Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 3355 Accepted: 1531 Description Given a sequence of consecutive intege ...
分类:
其他好文 时间:
2016-05-27 14:26:09
阅读次数:
233