上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: #!/usr/bin/expect #trap sigwinch spawned trap { set rows [stty rows] set cols [stty columns] stty rows $rows columns $cols < $spawn_out(slave,name) } 阅读全文
posted @ 2020-08-19 14:14 stdpain 阅读(475) 评论(0) 推荐(0)
摘要: Redis Client 连接失败 查看一下 netstat -anp|grep TIME_WAIT 发现有很多TIME_WAIT 解决方法 使用连接池,复用连接 使用管道 阅读全文
posted @ 2020-08-18 17:55 stdpain 阅读(202) 评论(0) 推荐(0)
摘要: su root useradd $USER mkdir /home/users/$USER chown $USER /home/users/$USER usermod -d /home/users/$USER $USER 阅读全文
posted @ 2020-08-13 23:52 stdpain 阅读(148) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/_xiao/article/details/23289971 set solib-absolute-prefix / 设置路径映射 set substitute-path old_path new_path 阅读全文
posted @ 2020-08-13 10:10 stdpain 阅读(267) 评论(0) 推荐(0)
摘要: 因为经常把第三方依赖装到非系统目录下,因此cmake需要使用环境变量 include_directories("$ENV{HOME}/opt/gflags/build/install/include") link_directories("$ENV{HOME}//opt/gflags/build/i 阅读全文
posted @ 2020-08-09 23:56 stdpain 阅读(8506) 评论(0) 推荐(0)
摘要: 常用命令: kubectl get service kubectl get pod -n $namespace kubectl exec -it $podname -n $namespace -- bash docker build . docker run -dit $IMAGE_ID /bin/ 阅读全文
posted @ 2020-08-03 14:46 stdpain 阅读(168) 评论(0) 推荐(0)
摘要: python -c "import urllib; print urllib.quote('your url')" 阅读全文
posted @ 2020-07-30 11:47 stdpain 阅读(415) 评论(0) 推荐(0)
摘要: ./configure: line 16651: syntax error near unexpected token 0.20' ./configure: line 16651: PKG_PROG_PKG_CONFIG(0.20)' solution: pkg-config --version s 阅读全文
posted @ 2020-07-16 23:03 stdpain 阅读(777) 评论(0) 推荐(0)
摘要: https://www.zhihu.com/question/56836057?sort=created 解决方法 c++11: https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic c++20: std::atomic> ``` #i 阅读全文
posted @ 2020-07-09 16:57 stdpain 阅读(461) 评论(0) 推荐(0)
摘要: https://vonng.gitbooks.io/ddia-cn/content 阅读全文
posted @ 2020-07-08 12:47 stdpain 阅读(235) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页