08 2022 档案

Muduo库
摘要:MutexLock class MutexLock : boost::noncopyable { public: MutexLock():holder_(0){ pthread_mutex_init(&mutex_,NULL); } ~MutexLock(){ pthread_mutex_destr 阅读全文

posted @ 2022-08-31 00:26 对我不好 阅读(25) 评论(0) 推荐(0)

折腾boost库,msvc,clion
摘要:1.一开始想在clion下配置boost库,把所有的变量都设置过了,没有作用,也参考了googleHow to include external library (boost) into CLion C++ project with CMake? - Stack Overflow 2.一直报错CON 阅读全文

posted @ 2022-08-29 15:54 对我不好 阅读(432) 评论(0) 推荐(0)

大佬学习方法
摘要:快速掌握一个语言最常用的50%_myan的博客-CSDN博客 阅读全文

posted @ 2022-08-28 20:37 对我不好 阅读(23) 评论(0) 推荐(0)

bind
摘要:https://www.jianshu.com/p/f191e88dcc80 阅读全文

posted @ 2022-08-28 20:17 对我不好 阅读(45) 评论(0) 推荐(0)

ssh无法登陆
摘要:【WSL】WSL折腾之旅(3)SSH远程连接 - 知乎 (zhihu.com) 哎 找个正确的方法是真不容易哎 阅读全文

posted @ 2022-08-19 00:48 对我不好 阅读(18) 评论(0) 推荐(0)

bashrc
摘要:alias h ='find -type f -name "*.h" | xargs grep -n 阅读全文

posted @ 2022-08-15 11:14 对我不好 阅读(47) 评论(0) 推荐(0)

makefile temp
摘要:CXX = g++ CFLAGS = -std=c++14 -O2 -Wall -g TARGET = server OBJS = ../code/log/*.cpp ../code/pool/*.cpp ../code/timer/*.cpp \ ../code/http/*.cpp ../cod 阅读全文

posted @ 2022-08-15 11:06 对我不好 阅读(34) 评论(0) 推荐(0)

Go Plugin install fail
摘要:f**k baidu google is yyds golang 配置gopath 什么的确实要配置 但是最好还是用gomod 省时省力 步骤: 1.先下载go的包,然后解压到/usr/local里面 然后配置GOROOT 和GOPATH 然后下载好像是下载mod需要的插件 最后执行 go mod 阅读全文

posted @ 2022-08-04 23:01 对我不好 阅读(38) 评论(0) 推荐(0)

ssh connect fail
摘要:1.首先检查防火墙是否开启关闭 -> sudo ufw status 2.检查22端口号是否开启 lsof -i:22 没开的话 ubuntu下载ufw 插件开启端口号 3.检查ssh服务是否开启 netstat -atu | grep ssh 服务未启 linux 打开 openssh-serve 阅读全文

posted @ 2022-08-02 11:36 对我不好 阅读(341) 评论(0) 推荐(0)

导航