摘要: epoll_create、epoll_ctl、epoll_wait、close g++ 时加上, -pg 启用gprof,gcc编译的时候带上-pg参数即可, 参考:https://www.cnblogs.com/jluzhsai/p/3657820.html 参考: https://www.cnb 阅读全文
posted @ 2018-09-14 11:35 HenryLiuY 阅读(1264) 评论(0) 推荐(0)
摘要: //ZBBase64.h #include <string>class ZBase64{public: /* 编码 DataByte [in]输入的数据长度,以字节为单位 */ std::string Encode(const unsigned char* Data,int DataByte); / 阅读全文
posted @ 2018-08-15 17:10 HenryLiuY 阅读(226) 评论(0) 推荐(0)
摘要: 也可参考: https://www.cnblogs.com/ailumiyana/p/10016965.html *** https://blog.csdn.net/jlusuoya/article/details/74505558 *** https://www.cnblogs.com/magic 阅读全文
posted @ 2018-08-15 17:03 HenryLiuY 阅读(219) 评论(0) 推荐(0)
摘要: ls -lht 查看当前文件总大小和单个文件的大小 du -sh 当前文件以及文件夹的大小 df -hl 查看各磁盘占比大小 阅读全文
posted @ 2018-07-10 10:48 HenryLiuY 阅读(99) 评论(0) 推荐(0)
摘要: libevent 阅读全文
posted @ 2018-07-08 00:47 HenryLiuY 阅读(308) 评论(0) 推荐(0)
摘要: mysql 连接超慢 阅读全文
posted @ 2018-06-29 17:41 HenryLiuY 阅读(155) 评论(0) 推荐(0)
摘要: url 中文及特殊字符转码 阅读全文
posted @ 2018-06-28 16:55 HenryLiuY 阅读(408) 评论(0) 推荐(0)
摘要: srand rand 阅读全文
posted @ 2018-06-28 00:14 HenryLiuY 阅读(142) 评论(0) 推荐(0)
摘要: 终端打印进程ID 阅读全文
posted @ 2018-06-27 23:05 HenryLiuY 阅读(780) 评论(0) 推荐(1)
摘要: mysql Navicat 导入导出 阅读全文
posted @ 2018-06-27 13:40 HenryLiuY 阅读(2510) 评论(0) 推荐(1)