上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: 常用命令: 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 阅读(161) 评论(0) 推荐(0) 编辑
摘要: python -c "import urllib; print urllib.quote('your url')" 阅读全文
posted @ 2020-07-30 11:47 stdpain 阅读(407) 评论(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 阅读(649) 评论(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 阅读(428) 评论(0) 推荐(0) 编辑
摘要: https://vonng.gitbooks.io/ddia-cn/content 阅读全文
posted @ 2020-07-08 12:47 stdpain 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.liaoqiqi.com/post/69 我们在编译boost日志库时需要链接较多的库例如 -lboost_log -lboost_log_setup -lboost_system -lboost_thread 如果链接顺序有问题,就会造成链接失败 但是日常开发过程中,维 阅读全文
posted @ 2020-07-07 23:51 stdpain 阅读(678) 评论(0) 推荐(0) 编辑
摘要: class中的函数写成内联,要不就老老实实的搞.h 和.cc! 阅读全文
posted @ 2020-07-07 13:08 stdpain 阅读(730) 评论(0) 推荐(0) 编辑
摘要: export PS1="\[\e]2;\u@\h\a\]\[\e[01;36m\]\u\[\e[01;35m\]@\[\e[01;31m\]\H\[\e[00m\]:\[\e[01;34m\]\W\[\e[00m\]" 阅读全文
posted @ 2020-07-06 09:39 stdpain 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 编译protobuf的程序,编译没问题,但是一运行就挂了 解决方法: 加上链接参数: -lpthread 阅读全文
posted @ 2020-07-04 09:57 stdpain 阅读(4337) 评论(1) 推荐(1) 编辑
摘要: vim ~/.ssh/config Host * ControlMaster auto ControlPath ~/.ssh/master-%r@%h:%p 阅读全文
posted @ 2020-07-02 09:54 stdpain 阅读(533) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页