posted @ 2017-04-07 18:15
papering
阅读(1418)
推荐(0)
摘要:
w http://php.net/manual/en/language.variables.scope.php http://php.net/manual/zh/language.variables.scope.php //0000 //0123 //0123 Notice: Undefined v
阅读全文
posted @ 2017-04-07 14:00
papering
阅读(233)
推荐(0)
posted @ 2017-04-07 12:52
papering
阅读(206)
推荐(0)
摘要:
w 0-Qphp 在全局范围内访问变量有哪几种方法A2种 <?php$a = 1;$b = 2;var_dump($GLOBALS); <?php$a = 1;$b = 2; function Sum(){ global $a, $b; $b = $a + $b;} Sum();echo $b; 1
阅读全文
posted @ 2017-04-07 12:17
papering
阅读(209)
推荐(0)
摘要:
RFC 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content https://tools.ietf.org/html/rfc7231#section-4 HTTP request methods - HTTP | M
阅读全文
posted @ 2017-04-07 11:55
papering
阅读(555)
推荐(0)
摘要:
单元测试 你会写单元测试吗 - 掘金 https://juejin.im/post/5d01a541e51d45554877a5b6 干货—Go语言编写单元测试 - 知乎 https://zhuanlan.zhihu.com/p/34164753
阅读全文
posted @ 2017-04-07 11:30
papering
阅读(498)
推荐(0)
摘要:
w http://php.net/manual/zh/language.variables.scope.php http://php.net/manual/en/language.variables.scope.php 0- $GLOBALS 是一个关联数组,每一个变量为一个元素,键名对应变量名,值
阅读全文
posted @ 2017-04-07 11:28
papering
阅读(280)
推荐(0)
posted @ 2017-04-07 08:31
papering
阅读(168)
推荐(0)
摘要:
w 感谢Spencer老师! 建议先把awk生成的sql语句写到文件,然后检查,再执行避免你的变量中存在sql注入的可能 安全角度 》在awk返回结果的那一层,通过awk去过滤 》通过管道丢给mysql? 问题是,怎样“实现文件检查自动化脚本化”呢,如果其被实现了,那为什么不把这个自动化脚本化交给a
阅读全文
posted @ 2017-04-06 21:51
papering
阅读(364)
推荐(0)
摘要:
w 0- http://httpd.apache.org/docs/2.4/logs.html Access Log mod_log_config mod_setenvif CustomLog LogFormat SetEnvIf The server access log records all
阅读全文
posted @ 2017-04-06 20:38
papering
阅读(557)
推荐(0)
摘要:
On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution (via the exit system c
阅读全文
posted @ 2017-04-06 19:25
papering
阅读(438)
推荐(0)
摘要:
Learning PHP Design Patterns CHAPTER 1 Algorithms handle speed of operations, and design patterns handle speed of development. 算法处理程序运行速度,设计模式处理程序开发速度
阅读全文
posted @ 2017-04-06 18:31
papering
阅读(172)
推荐(0)
posted @ 2017-04-06 16:28
papering
阅读(268)
推荐(0)
摘要:
http://php.net/manual/zh/language.oop5.abstract.php MWSOrdersPHPClientLibrary-2013-09-01._V533357711_\src\MarketplaceWebServiceOrders\Model.php MWSOrd
阅读全文
posted @ 2017-04-06 16:20
papering
阅读(635)
推荐(0)
摘要:
http://php.net/manual/en/language.oop5.interfaces.php http://php.net/manual/zh/language.oop5.interfaces.php Object Interfaces Object interfaces allow
阅读全文
posted @ 2017-04-06 15:36
papering
阅读(249)
推荐(0)
摘要:
小结: 1、An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically. 给每一个对象的引用追加一个可以被原子更新的戳。 什
阅读全文
posted @ 2017-04-06 14:49
papering
阅读(242)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/Compare-and-swap Compare-and-swap From Wikipedia, the free encyclopedia Jump to navigationJump to search In computer sci
阅读全文
posted @ 2017-04-06 12:18
papering
阅读(487)
推荐(0)
摘要:
Docker实践 - 懒人的技术笔记 - 博客频道 - CSDN.NET http://blog.csdn.net/lincyang/article/details/43055061 Docker直译为码头工人。当它成为一种技术时,做的也是码头工人的事。官网是这样描述它的:“Docker是一个开发的
阅读全文
posted @ 2017-04-06 09:59
papering
阅读(275)
推荐(0)
摘要:
w满屏的框架,甚至翻页了还是框架,起始user是想看下bootstrap在框架出来前是什么东西。
阅读全文
posted @ 2017-04-06 09:53
papering
阅读(201)
推荐(0)
摘要:
http://baike.baidu.com/item/IP地址 公有地址 http://baike.baidu.com/item/IP地址 公有地址 公有地址(Public address)由Inter NIC(Internet Network Information Center因特网信息中心)
阅读全文
posted @ 2017-04-06 09:40
papering
阅读(318)
推荐(0)
摘要:
http://baike.baidu.com/item/重放攻击 重放攻击(Replay Attacks)又称重播攻击、回放攻击或新鲜性攻击(Freshness Attacks),是指攻击者发送一个目的主机已接收过的包,特别是在认证的过程中,用于认证用户身份所接收的包,来达到欺骗系统的目的,主要用于
阅读全文
posted @ 2017-04-05 11:23
papering
阅读(1790)
推荐(0)
摘要:
怎样用通俗的语言解释什么叫 REST,以及什么是 RESTful? - 知乎 https://www.zhihu.com/question/28557115 大家都知道"古代"网页是前端后端融在一起的,比如之前的PHP,JSP等。在之前的桌面时代问题不大,但是近年来移动互联网的发展,各种类型的Cli
阅读全文
posted @ 2017-04-03 15:08
papering
阅读(572)
推荐(0)
posted @ 2017-04-03 09:27
papering
阅读(157)
推荐(0)
摘要:
w 撤回的条件 0-0-全额撤回0-1-部分撤回 1-0-撤回指定人1-1-撤回非指定人 2-0-撤回发生在除/不除发出者外没有一个人领红包2-1-反 领红包与撤回红包0-0-私聊红包,删与被删好友或拉黑与被拉黑后0-1-群红包,退群或被踢群后
阅读全文
posted @ 2017-04-01 20:05
papering
阅读(395)
推荐(0)
摘要:
curl https://passport.jd.com/new/login.aspx https://passport.jd.com/new/misc/js/login2016.js?v=201702221137
阅读全文
posted @ 2017-04-01 15:47
papering
阅读(4024)
推荐(0)
摘要:
RFC 7540 - Hypertext Transfer Protocol Version 2 (HTTP/2) https://tools.ietf.org/html/rfc7540#page-4 The Hypertext Transfer Protocol (HTTP) is a wildl
阅读全文
posted @ 2017-04-01 15:05
papering
阅读(391)
推荐(0)
摘要:
--distributed-is-the-new-centralized 几乎所有的版本控制系统都以某种形式支持分支。使用分支意味着你可以把你的工作从开发主线上分离开来,以免影响开发主线。在很多版本控制系统中,这是一个略微低效的过程——常常需要完全创建一个源代码目录的副本。对于大项目来说,这样的过程
阅读全文
posted @ 2017-03-31 16:51
papering
阅读(736)
推荐(0)
摘要:
小结: 1、Unix domain socket 和 TCP socket相比 IPC with UDS looks very similar to IPC with regular TCP sockets 2、 UDS支持面向流的TCP协议、面向数据报的UDP协议。 UNIX domain soc
阅读全文
posted @ 2017-03-31 15:42
papering
阅读(960)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/T-t070BAiE2Zwf6G1Wt3_A 聊聊架构张辉 InfoQ 2016-11-07
阅读全文
posted @ 2017-03-31 14:08
papering
阅读(243)
推荐(0)
摘要:
小结: The malicious content sent to the web browser often takes the form of a segment of JavaScript, but may also include HTML, Flash, or any other type
阅读全文
posted @ 2017-03-31 13:56
papering
阅读(2424)
推荐(0)
摘要:
Laravel 使得防止应用 遭到跨站请求伪造攻击变得简单。 Laravel 自动为每一个被应用管理的有效用户会话生成一个 CSRF “令牌”,该令牌用于验证授权用 户和发起请求者是否是同一个人。 任何时候在 Laravel 应用中定义 HTML 表单,都需要在表单中引入 CSRF 令牌字段,这样
阅读全文
posted @ 2017-03-31 13:44
papering
阅读(268)
推荐(0)
摘要:
跨站请求伪造目标站 无知用户 恶意站 http://fallensnow-jack.blogspot.com/2011/08/webgoat-csrf.html https://wiki.cantara.no/display/dev/CSRF https://en.wikipedia.org/wik
阅读全文
posted @ 2017-03-31 13:42
papering
阅读(289)
推荐(0)
摘要:
w http://structure.usc.edu/svn/svn.ref.svn.c.revert.html svn revert — Undo all local edits.
阅读全文
posted @ 2017-03-31 12:50
papering
阅读(172)
推荐(0)
摘要:
w https://zh.wikipedia.org/wiki/内容分发网络 内容分发网络(Content delivery network或Content distribution network,缩写:CDN)是指一种通过互联网互相连接的电脑网络系统,利用最靠近每位用户的服务器,更快、更可靠地将
阅读全文
posted @ 2017-03-31 00:54
papering
阅读(408)
推荐(0)
摘要:
w https://zh.wikipedia.org/wiki/MD5 1992年8月,罗纳德·李维斯特向IETF提交了一份重要文件,描述了这种算法的原理,由于这种算法的公开性和安全性,在90年代被广泛使用在各种程序语言中,用以确保资料传递无误等。 MD5由MD4、MD3、MD2改进而来,主要增强算
阅读全文
posted @ 2017-03-30 20:26
papering
阅读(357)
推荐(0)
摘要:
http://www.numpy.org/ NumPy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional
阅读全文
posted @ 2017-03-30 19:38
papering
阅读(533)
推荐(0)
posted @ 2017-03-30 16:34
papering
阅读(283)
推荐(0)
摘要:
Spencer : 百度加一层跳转主要为了监控点击 w 基于dns和用户体验考虑的猜测 0-百度自己的cdn服务器存入各个域名/url的服务器ip(多ip情况下,返回物理空间相对用户最近的服务器ip),重点是不经过第三方dns服务器,即用户点击后,浏览器第二次请求百度cdn服务器,百度cdn服务器告
阅读全文
posted @ 2017-03-30 13:20
papering
阅读(394)
推荐(0)
摘要:
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001375840038939c291467cc7c747b1810aab2fb8863508000 https://www.zhih
阅读全文
posted @ 2017-03-30 12:27
papering
阅读(1274)
推荐(0)
posted @ 2017-03-30 09:37
papering
阅读(145)
推荐(0)