会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Azure's Blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
49
50
51
52
53
54
55
56
57
···
76
下一页
2020年10月28日
Linux date命令实现日期查询与UTC时戳转换
摘要: 需求 使用shell自带date命令查询x天后日期 在当前时间UTC时戳之间相互转换 查询命令 $ date -d "1 day ago" Tue Oct 27 09:35:34 CST 2020 -d参数支持自然语言输入,无符号默认为+ date -d "+1 day" date -d "-1 m
阅读全文
posted @ 2020-10-28 10:02 azureology
阅读(1556)
评论(0)
推荐(0)
2020年10月22日
VScode调试运行cmake加入环境变量
摘要: 需求 项目上一个C++工程使用cmake构建,运行时通过环境变量读入外部配置文件。 之前用CLion可以直接配饰运行时enviroment variable希望在VScode中实现。 尝试 查了很多资料,修改 cmake.enviroment, cmake.buildEnviroment, cmak
阅读全文
posted @ 2020-10-22 14:26 azureology
阅读(2657)
评论(0)
推荐(0)
VSCode编译CMake工程报错c++: internal compiler error: Killed (program cc1plus)
摘要: 现象 使用VSCode+CMake构建C工程时只能编译Release版本,无法编译Debug版本。 报错提示c: internal compiler error: Killed (program cc1plus) 解决 编译过程中内存不足 方案1:增加内存 如果在虚拟机运行Linux可以增加虚拟机的
阅读全文
posted @ 2020-10-22 11:00 azureology
阅读(1042)
评论(0)
推荐(0)
2020年10月19日
树莓派显示CPU温度
摘要: 作用 显示CPU核心温度,并用小数形式返回。 适合脚本调用 效果 pi@rpi0w:~ $ cat /sys/class/thermal/thermal_zone0/temp|awk '{printf("Temp = %.2f\n",$1/1000)}' Temp = 27.17 拓展 如果需要写成
阅读全文
posted @ 2020-10-19 10:14 azureology
阅读(510)
评论(0)
推荐(0)
2020年10月14日
Docker容器文件系统位置
摘要: The rootfs of container can be found in: /var/lib/docker/overlay2/${container_id}/diff
阅读全文
posted @ 2020-10-14 14:57 azureology
阅读(384)
评论(0)
推荐(0)
上一页
1
···
49
50
51
52
53
54
55
56
57
···
76
下一页
公告