摘要:
sudo service mysql start https://dev.mysql.com/doc/refman/5.7/en/problems-with-mysql-sock.html B.5.3.6 How to Protect or Change the MySQL Unix Socket
阅读全文
posted @ 2017-04-13 14:15
papering
阅读(221)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Tunneling_protocol
阅读全文
posted @ 2017-04-13 14:01
papering
阅读(170)
推荐(0)
摘要:
w https://books.google.com/books?id=w7-8Im-JkuQC&pg=PA6&lpg=PA6&dq=Linux+真正意义上的多任务、多用户操作系统
阅读全文
posted @ 2017-04-13 12:56
papering
阅读(366)
推荐(0)
摘要:
小结: 1、 /n 前n为固定 例如192.168.0.0~192.168.31.255,后两段IP换算为二进制地址:00000000.00000000~00011111.11111111,可以得出前19位(8*2+3)是固定不变的,则换算为CIDR格式后,表示为:192.168.0.0/19。 h
阅读全文
posted @ 2017-04-13 11:07
papering
阅读(1542)
推荐(0)
posted @ 2017-04-12 15:15
papering
阅读(189)
推荐(0)
摘要:
Docker 教程 | 菜鸟教程 https://www.runoob.com/docker/docker-tutorial.html Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源。 Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级、可
阅读全文
posted @ 2017-04-12 12:24
papering
阅读(393)
推荐(0)
摘要:
https://zh.wikipedia.org/wiki/Secure_Shell Secure Shell(缩写为SSH),由IETF的网络工作小组(Network Working Group)所制定;SSH为一项创建在应用层和传输层基础上的安全协议,为计算机上的Shell(壳层)提供安全的传输
阅读全文
posted @ 2017-04-12 09:28
papering
阅读(287)
推荐(0)
摘要:
小结: 1、ICMP 常见网络丢包故障分析及处理 云极安 云极安 2019-12-25 我们在管理维护网络的过程中经常会遇到数据包丢失的现象。使用Ping命令进行连通性测试,则会发现Ping包延时远远超过正常值,甚至无法到达,同时还伴随着网络服务应用障碍,如打开网站速度很慢,严重时甚至打不开网页,在
阅读全文
posted @ 2017-04-12 07:25
papering
阅读(1934)
推荐(0)
摘要:
小结 1、 三次握手的原因:保证双方收和发消息功能正常; 连接建立(3) C-->S -->SYN c <--ACK c+1;SYN s -->ACK s+1 连接断开(4) C > S -->FIN c <--ACK c+1 [S close wait] <-- FIN s [C time wai
阅读全文
posted @ 2017-04-11 20:43
papering
阅读(796)
推荐(0)
摘要:
序列号 确认号 数据重传 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
阅读全文
posted @ 2017-04-11 15:50
papering
阅读(515)
推荐(0)
posted @ 2017-04-11 14:49
papering
阅读(143)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/Checksum https://zh.wikipedia.org/wiki/校验和 A checksum is a small-sized datum derived from a block of digital data for th
阅读全文
posted @ 2017-04-11 10:51
papering
阅读(388)
推荐(0)
摘要:
w https://www.cis.upenn.edu/~matuszek/cit594-2012/Pages/backtracking.html In this example we drew a picture of a tree. The tree is an abstract model o
阅读全文
posted @ 2017-04-11 09:24
papering
阅读(183)
推荐(0)
摘要:
w 是否应该将日志的“写”独立至局域网的一台或一群专门服务于“写日志”的服务器?这样让“app服务器”专职地处理用户的请求,而不必因为“写日志甚至异步分析日志”来降低用户体验? Spencer老师 其实 排序 搜索 去重 统计 这几个功能awk本身都能做不过我也记不清awk的那么多语法,直接用了更简
阅读全文
posted @ 2017-04-11 06:24
papering
阅读(198)
推荐(0)
摘要:
非叫“秩”不可,有秩才有解_王治祥_新浪博客http://blog.sina.com.cn/s/blog_8e7bc4f801012c23.html 我在一个大学当督导的时候,一次我听一位老师给学生讲《线性代数》中矩阵的“秩”。 矩阵的“秩”是《线性代数》中的一个非常重要的概念。我认为,理解了“秩”
阅读全文
posted @ 2017-04-10 19:21
papering
阅读(2986)
推荐(0)
摘要:
w 思维训练: 0-1元买1瓶汽水,2个空瓶换一新瓶汽水,20元最多喝几瓶? 20->10->5->4 0-1-数学归纳法 1-> 2->3 3->5 ..... 20->2*20-1 0-2-方法3呢?
阅读全文
posted @ 2017-04-10 11:31
papering
阅读(201)
推荐(0)
摘要:
设置写入db和db返回读出结果的字符集character set https://dev.mysql.com/doc/refman/5.7/en/charset-connection.html SET NAMES 'charset_name' [COLLATE 'collation_name'] S
阅读全文
posted @ 2017-04-10 09:58
papering
阅读(188)
推荐(0)
摘要:
w机器化的人,超越人。 【初码干货】关于.NET玩爬虫这些事 - 初码 - 博客园 http://www.cnblogs.com/printhelloworld/p/6354085.htm “爬虫的本质是对目标WebServer页面行为和业务流程的精准分析,是对HTTP的深刻理解,是对正则、多线程等
阅读全文
posted @ 2017-04-09 22:30
papering
阅读(238)
推荐(0)
posted @ 2017-04-08 23:42
papering
阅读(170)
推荐(0)
摘要:
w https://en.wikipedia.org/wiki/Don't_repeat_yourself In software engineering, don't repeat yourself (DRY) is a principle of software development, aim
阅读全文
posted @ 2017-04-08 18:01
papering
阅读(322)
推荐(0)
摘要:
w PHP中Trait详解及其应用 - 开发者日常 - SegmentFaulthttps://segmentfault.com/a/1190000008009455
阅读全文
posted @ 2017-04-08 17:58
papering
阅读(206)
推荐(0)
摘要:
w http://blog.jobbole.com/25576/?utm_source=blog.jobbole.com&utm_medium=relatedPosts https://www.smashingmagazine.com/2010/06/the-ultimate-guide-to-a-
阅读全文
posted @ 2017-04-08 12:13
papering
阅读(141)
推荐(0)
摘要:
https://talks.golang.org/2012/splash.article Go at Google: Language Design in the Service of Software Engineering Rob Pike Google, Inc. @rob_pike http
阅读全文
posted @ 2017-04-08 12:02
papering
阅读(251)
推荐(0)
摘要:
Go语言之父谈Go:大道至简-CSDN.NET https://www.csdn.net/article/2012-07-05/2807113-less-is-exponentially-more Go语言之父谈Go:大道至简 发表于2012-07-04 15:43| 69173次阅读| 来源CSD
阅读全文
posted @ 2017-04-08 08:29
papering
阅读(224)
推荐(0)
posted @ 2017-04-07 18:15
papering
阅读(1374)
推荐(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
阅读(205)
推荐(0)
posted @ 2017-04-07 12:52
papering
阅读(178)
推荐(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
阅读(178)
推荐(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
阅读(453)
推荐(0)
摘要:
单元测试 你会写单元测试吗 - 掘金 https://juejin.im/post/5d01a541e51d45554877a5b6 干货—Go语言编写单元测试 - 知乎 https://zhuanlan.zhihu.com/p/34164753
阅读全文
posted @ 2017-04-07 11:30
papering
阅读(472)
推荐(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
阅读(249)
推荐(0)
posted @ 2017-04-07 08:31
papering
阅读(151)
推荐(0)
摘要:
w 感谢Spencer老师! 建议先把awk生成的sql语句写到文件,然后检查,再执行避免你的变量中存在sql注入的可能 安全角度 》在awk返回结果的那一层,通过awk去过滤 》通过管道丢给mysql? 问题是,怎样“实现文件检查自动化脚本化”呢,如果其被实现了,那为什么不把这个自动化脚本化交给a
阅读全文
posted @ 2017-04-06 21:51
papering
阅读(325)
推荐(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
阅读(511)
推荐(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
阅读(343)
推荐(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
阅读(150)
推荐(0)
posted @ 2017-04-06 16:28
papering
阅读(248)
推荐(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
阅读(572)
推荐(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
阅读(216)
推荐(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
阅读(193)
推荐(0)