摘要: JSON 对象与 JS 对象的区别: 1. https://segmentfault.com/a/1190000005943794 2. http://jucheng.github.io/blog/2016/12/09/FEW-JavaScript-JSON.html 3. http://www.j 阅读全文
posted @ 2017-06-01 18:17 木易小邪 阅读(125) 评论(0) 推荐(0) 编辑
摘要: by GlenFord J. Myers(U.S.A) 测试是为发现错误而执行程序的过程 软件测试心理学 人类的行为总是倾向于具有高度目标性,建议一个正确的目标有重要的心理学影响,如果我们的目标在于证明程序中的错误,那我们设计的测试数据就会发现更多的问题, 反之,则相反。 如果在测试阶段发现了错误并 阅读全文
posted @ 2017-05-28 21:11 木易小邪 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Drop-in replacement is a term used in computer science and other fields. It refers to the ability to replace one hardware (or software) component with 阅读全文
posted @ 2017-05-26 16:32 木易小邪 阅读(484) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef DEBUG #define debug(fmt, args...) printf(fmt, ##args) #else #define debug(fmt, args. 阅读全文
posted @ 2017-05-24 11:51 木易小邪 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 有六大要素 1. 功能性 2. 可靠性(稳定性,压力) 3. 效率(性能) 4. 易用性 5. 可移植性(兼容性) 6. 可维护性 阅读全文
posted @ 2017-05-22 18:12 木易小邪 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 各种有用的三方库总结: https://awesome-python.com/#algorithms-and-design-patterns 阅读全文
posted @ 2017-05-18 17:19 木易小邪 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 背景 有一些任务,可能事先需要设置,事后做清理工作。对于这种场景,Python的with语句提供了一种非常方便的处理方式。 with如何工作? 紧跟with后面的语句被求值后,返回对象的 __enter__() 方法被调用,这个方法的返回值将被赋值给as后面的变量。 当with后面的代码块全部被执行 阅读全文
posted @ 2017-05-18 15:24 木易小邪 阅读(13597) 评论(0) 推荐(1) 编辑
摘要: MAC OS X:10.11.8 Apache: 2.4 DocumentRoot: ~/Desktop/WWW/ Error: 403 forbidden 各种查资料,问题都没有办法解决,尝试如下方案: 1. DocumentRoot 更改为 系统默认的 /Libary/WebServer/Doc 阅读全文
posted @ 2017-03-21 18:47 木易小邪 阅读(304) 评论(0) 推荐(0) 编辑
摘要: HTML Form 属性 阅读全文
posted @ 2017-03-21 11:24 木易小邪 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 详细实体集引用至: http://w3school.com.cn/tags/html_ref_entities.html HTML 中有用的字符实体 注释:实体名称对大小写敏感! 阅读全文
posted @ 2017-03-21 11:05 木易小邪 阅读(145) 评论(0) 推荐(0) 编辑