摘要:
ps -aux 查当前端口占用 w 怎样筛选出仅有num(属性?节点)的object ? 有哪些简洁的code的写法?有哪些高效的程序执行方法? collection – Collection level operations — PyMongo 3.4.0 documentationhttp://
阅读全文
posted @ 2017-04-27 18:45
papering
阅读(825)
推荐(0)
摘要:
Markdown 进阶技能:用代码画时序图 - 知乎 https://zhuanlan.zhihu.com/p/70261692 微信支付-开发者文档 https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter2_3.shtml sequenc
阅读全文
posted @ 2017-04-27 12:20
papering
阅读(661)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/26x8O1bRzurl84e3nM6TTA CAP 一致性协议及应用解析 原创 有赞技术 有赞coder 2019-01-23 18:33 CAP一致性协议及应用解析 https://tech.youzan.com/cap-coherence-
阅读全文
posted @ 2017-04-27 12:08
papering
阅读(203)
推荐(0)
摘要:
w https://dev.mysql.com/doc/refman/5.7/en/lock-tables.html MySQL enables client sessions to acquire table locks explicitly for the purpose of cooperat
阅读全文
posted @ 2017-04-27 09:56
papering
阅读(239)
推荐(0)
摘要:
Nullshttps://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements005.htm
阅读全文
posted @ 2017-04-27 02:05
papering
阅读(322)
推荐(0)
摘要:
https://tech.youzan.com/code-coverage/ 浅谈代码覆盖率 https://www.cnblogs.com/coderzh/archive/2009/03/29/1424344.html 代码覆盖率浅谈 在做单元测试时,代码覆盖率常常被拿来作为衡量测试好坏的指标,甚
阅读全文
posted @ 2017-04-27 02:04
papering
阅读(550)
推荐(0)
摘要:
NoSQL 数据库分类 类型 部分代表特点 列存储 HbaseCassandraHypertable顾名思义,是按列存储数据的。最大的特点是方便存储结构化和半结构化数据,方便做数据压缩,对针对某一列或者某几列的查询有非常大的IO优势。 文档存储MongoDBCouchDB文档存储一般用类似json的
阅读全文
posted @ 2017-04-27 01:52
papering
阅读(251)
推荐(0)
摘要:
w 问题 0-新增和读取,可以忽略更新和删除; 1-被请求方的xml dom结构多层且不定,且未来可能增删某些键(dom节点),且键值长度最值可能无法确定; 3-请求过程可能出现异常exception, 3-0被请求方的api文档可能没有穷举异常; 3-1当出现异常时,可能请求脚本还可以继续执行且接
阅读全文
posted @ 2017-04-27 01:34
papering
阅读(197)
推荐(0)
摘要:
RFC 1630 - Universal Resource Identifiers in WWW: A Unifying Syntax for the Expression of Names and Addresses of Objects on the Network as used in the
阅读全文
posted @ 2017-04-26 22:27
papering
阅读(338)
推荐(0)
摘要:
w Parse error: syntax error, unexpected '?'
阅读全文
posted @ 2017-04-26 21:00
papering
阅读(177)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Amortized_analysis In computer science, amortized analysis is a method for analyzing a given algorithm's time complexi
阅读全文
posted @ 2017-04-26 20:00
papering
阅读(329)
推荐(0)
摘要:
需要对加密和解密使用相同密钥的加密算法。由于其速度快,对称性加密通常在消息发送方需要加密大量数据时使用。对称性加密也称为密钥加密。 所谓对称,就是采用这种加密方法的双方使用方式用同样的密钥进行加密和解密。密钥是控制加密及解密过程的指令。算法是一组规则,规定如何进行加密和解密。 因此加密的安全性不仅取
阅读全文
posted @ 2017-04-26 18:50
papering
阅读(303)
推荐(0)
摘要:
class property(fget=None, fset=None, fdel=None, doc=None) 返回 property 属性。 fget 是获取属性值的函数。 fset 是用于设置属性值的函数。 fdel 是用于删除属性值的函数。并且 doc 为属性对象创建文档字符串。 一个典型
阅读全文
posted @ 2017-04-26 16:42
papering
阅读(649)
推荐(0)
摘要:
Underscores in Python https://shahriar.svbtle.com/underscores-in-python Underscores in Python This post discusses the use of the _ character in Python
阅读全文
posted @ 2017-04-26 16:01
papering
阅读(273)
推荐(0)
摘要:
Using the URLconf defined in config.urls, Django tried these URL patterns, in this order:
阅读全文
posted @ 2017-04-26 14:55
papering
阅读(530)
推荐(0)
posted @ 2017-04-26 14:28
papering
阅读(143)
推荐(0)
摘要:
https://zh.wikipedia.org/wiki/欧拉定理_(数论) 费马小定理的推广 潘承洞 潘承彪. 《初等数论》. 北京大学出版社. 2003. ISBN 9787301060759. Albert H. Beiler 著,谈祥柏 译. 《数论妙趣--数学女王的盛情款待》. 上海教育
阅读全文
posted @ 2017-04-26 14:25
papering
阅读(1148)
推荐(0)
摘要:
w 忽略不影响次方数或至多升一次方的外层加法运算,即线性运算; 非线性运算估算:4+(4+4)+1=13
阅读全文
posted @ 2017-04-26 14:20
papering
阅读(608)
推荐(0)
摘要:
Optimistic concurrency control https://en.wikipedia.org/wiki/Optimistic_concurrency_control Optimistic concurrency control (OCC) is a concurrency cont
阅读全文
posted @ 2017-04-26 11:03
papering
阅读(723)
推荐(0)
摘要:
w MySQL :: MySQL 5.7 Reference Manual :: 9.2.1.19 Avoiding Full Table Scanshttps://dev.mysql.com/doc/refman/5.7/en/table-scan-avoidance.html
阅读全文
posted @ 2017-04-26 11:01
papering
阅读(163)
推荐(0)
摘要:
整数的质数次方和自身的差是质数的倍数 费马小定理(Fermat Theory)是数论中的一个重要定理,其内容为: 假如p是质数,且Gcd(a,p)=1,那么 a(p-1)≡1(mod p)。即:假如a是整数,p是质数,且a,p互质(即两者只有一个公约数1),那么a的(p-1)次方除以p的余数恒等于1
阅读全文
posted @ 2017-04-25 22:49
papering
阅读(852)
推荐(0)
摘要:
注册表的结构 - Win32 apps | Microsoft Docs https://docs.microsoft.com/zh-cn/windows/win32/sysinfo/structure-of-the-registry 注册表是层次结构数据库,其中包含的数据对 Windows 和 W
阅读全文
posted @ 2017-04-25 22:11
papering
阅读(532)
推荐(0)
摘要:
w http://php.net/manual/en/function.extract.php
阅读全文
posted @ 2017-04-25 20:03
papering
阅读(244)
推荐(0)
posted @ 2017-04-25 19:41
papering
阅读(166)
推荐(0)
摘要:
w http://php.net/manual/en/language.oop5.final.php PHP 5 introduces the final keyword, which prevents child classes from overriding a method by prefix
阅读全文
posted @ 2017-04-25 14:17
papering
阅读(272)
推荐(0)
摘要:
w w Exponential Backoff And Jitterhttps://www.awsarchitectureblog.com/2015/03/backoff.html Exponential Backoff And Jitter 04 Mar 2015 in Performance,
阅读全文
posted @ 2017-04-25 11:53
papering
阅读(470)
推荐(0)
摘要:
The prototypical MapReduce example counts the appearance of each word in a set of documents:[14] Here, each document is split into words, and each wor
阅读全文
posted @ 2017-04-25 08:19
papering
阅读(280)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Extract,_transform,_load
阅读全文
posted @ 2017-04-25 01:16
papering
阅读(190)
推荐(0)
摘要:
http://eprint.iacr.org/2010/006.pdf
阅读全文
posted @ 2017-04-24 18:30
papering
阅读(222)
推荐(0)
摘要:
CRC(循环冗余校验)_百度百科 https://baike.baidu.com/item/CRC/1453359 循环冗余校验(Cyclic Redundancy Check, CRC)是一种根据网络数据包或计算机文件等数据产生简短固定位数校验码的一种信道编码技术,主要用来检测或校验数据传输或者保
阅读全文
posted @ 2017-04-24 18:29
papering
阅读(627)
推荐(0)
摘要:
An Explanation of the `Deflate' Algorithm http://zlib.net/feldspar.html
阅读全文
posted @ 2017-04-24 12:07
papering
阅读(1369)
推荐(0)
posted @ 2017-04-24 08:52
papering
阅读(204)
推荐(0)
posted @ 2017-04-24 08:48
papering
阅读(237)
推荐(0)
摘要:
https://www.zhihu.com/question/32291769 作者:猎狐链接:https://www.zhihu.com/question/32291769/answer/70929156来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 咳咳,这个我来
阅读全文
posted @ 2017-04-24 00:06
papering
阅读(3032)
推荐(0)
摘要:
小结: 1、企鹅不是鸟,正方形不是长方形:派生类(子类)对象可以在程式中代替其基类(超类)对象 、 任何基类可以出现的地方,子类一定可以出现。 Liskov substitution principle - Wikipedia https://en.wikipedia.org/wiki/Liskov
阅读全文
posted @ 2017-04-23 23:37
papering
阅读(331)
推荐(0)
posted @ 2017-04-23 23:29
papering
阅读(227)
推荐(0)
摘要:
网络编程( 六):端口那些事儿 - 知乎专栏 https://zhuanlan.zhihu.com/p/20365900 不停服务reload、restart 多进程端口监听 我们都有一个计算机网络的常识:不同的进程不能使用同一端口。 如果一个端口正在被使用,无论是TIME_WAIT、CLOSE_W
阅读全文
posted @ 2017-04-23 21:35
papering
阅读(560)
推荐(0)
摘要:
https://www.nginx.com/resources/admin-guide/ NGINX is an open source web server and reverse proxy that excels at large‑scale web integration, applicat
阅读全文
posted @ 2017-04-23 20:41
papering
阅读(282)
推荐(0)
摘要:
w 内存不够只要插槽足够就可以添加,硬盘不够可以用移动硬盘的。
阅读全文
posted @ 2017-04-23 20:24
papering
阅读(167)
推荐(0)
摘要:
w 程杰 PC内存坏了,不应该成为更换CPU的理由:因为它们各自的职责是明确的。
阅读全文
posted @ 2017-04-23 20:19
papering
阅读(199)
推荐(0)