会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Toggle navigation
stdpain
博客园
联系
Submit
订阅
管理
管理面板
随笔
stdpain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
19
下一页
2020年8月19日
Linux 使用expect自动输入密码
摘要: #!/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)
2020年8月18日
Cannot assign requested address
摘要: Redis Client 连接失败 查看一下 netstat -anp|grep TIME_WAIT 发现有很多TIME_WAIT 解决方法 使用连接池,复用连接 使用管道
阅读全文
posted @ 2020-08-18 17:55 stdpain
阅读(202)
评论(0)
推荐(0)
2020年8月13日
修改 HOME
摘要: 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)
【GDB】Could not open `target:/libpthread.so.0' as an executable file: Invalid argument
摘要: 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)
2020年8月9日
cmake 中使用环境变量
摘要: 因为经常把第三方依赖装到非系统目录下,因此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)
2020年8月3日
docker k8s
摘要: 常用命令: 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)
2020年7月30日
shell url encode
摘要: python -c "import urllib; print urllib.quote('your url')"
阅读全文
posted @ 2020-07-30 11:47 stdpain
阅读(415)
评论(0)
推荐(0)
2020年7月16日
configure 错误
摘要: ./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)
2020年7月9日
shared_ptr 并发赋值,线程不安全
摘要: 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)
2020年7月8日
[推荐] ddia
摘要: 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
下一页
公告
Copyright © 2021 stdpain
Powered by .NET 5.0 on Kubernetes