摘要: cat /proc/sys/vm/overcommit_memory 阅读全文
posted @ 2019-07-25 15:24 elseliving的记录 阅读(148) 评论(0) 推荐(0) 编辑
摘要: layers modules(abstraction of objects and operations that have different layers) interfaces(hide the information of attributes and give caller a prote 阅读全文
posted @ 2019-06-18 11:26 elseliving的记录 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 原文章:https://blog.csdn.net/elliotnotebook/article/details/54599994 在Fedora和Ubuntu的操作系统中,使用gulp时出现问题,gulp报错Error:watch ENOSPC的问题 出现类似这种错误可以试试 Error: wat 阅读全文
posted @ 2019-04-16 11:24 elseliving的记录 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/qq_29039705/article/details/78834099 9DK8FDSOS2-eyJsaWNlbnNlSWQiOiI5REs4RkRTT1MyIiwibGljZW5zZWVOYW1lIjoi5b285bK4IHNvZnR3YXJlMSIsI 阅读全文
posted @ 2018-02-12 22:36 elseliving的记录 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1 http://blog.163.com/xychenbaihu@yeah/blog/static/1322296552013373236132/ 2 3 https://www.cnblogs.com/wzjhoutai/p/6838104.html 4 5 6 7 8 9 #include 10 #include 11 #include 12 #inclu... 阅读全文
posted @ 2018-01-30 17:31 elseliving的记录 阅读(130) 评论(0) 推荐(0) 编辑
摘要: C语言中函数指针具有重要的作用。模块之间的调用,可以用函数指针数组或者结构体,配合钩子函数,构造一系列的API接口。 函数指针的赋值比较宽容,这也是一个优点。代码如下: test.c:26:2: error: too few arguments to function ‘pf2’ pf2(&a);上 阅读全文
posted @ 2018-01-17 00:30 elseliving的记录 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 多文件夹Make的例子: LibDir = ../../exportModuleLib = ModuleDir = ../../TestCommonDir = ../commonIncludeDir = -I$(TestCommonDir) \ -I$(ModuleDir)/include/base 阅读全文
posted @ 2017-12-29 22:44 elseliving的记录 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1、main之前做了什么 2、进程的加载 3、一个端口绑定多少个连接 4、二级指针删除链表节点 5、malloc的开销 6、linux内核怎么实现锁和信号量 7、TCP什么时候Push位置1 阅读全文
posted @ 2017-12-20 13:15 elseliving的记录 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 使用Django搭建网站,需要在Mac中安装SQL服务器,在这里采用MySQL。 总结mysql和MySQL-Pyhon安装,遇到问题,总结如下: MySQL-Python并不是MySQL mysql-python只是mysql用python访问的接口(官网叫做connector),我们还需要安装m 阅读全文
posted @ 2017-12-18 23:51 elseliving的记录 阅读(12104) 评论(0) 推荐(0) 编辑
摘要: 在github中clone了nanomsghttps://github.com/davidmpc/nanomsg.git的源代码,发现代码是google风格,即for、if后大括号没有另起一行,十分不习惯,因此需要改变代码格式。 参考http://blog.csdn.net/i_am_tom/art 阅读全文
posted @ 2017-12-13 21:06 elseliving的记录 阅读(1897) 评论(0) 推荐(1) 编辑