会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LuckyOven's Blog
博客园
首页
新随笔
联系
订阅
管理
2023年9月1日
Wireshark Lua Dissector
摘要: 参考链接: http://alex-ii.github.io/tech/2018/05/08/dissector_for_Wireshark_udp.html https://www.wireshark.org/docs/wsdg_html_chunked/lua_module_Proto.html
阅读全文
posted @ 2023-09-01 14:39 LuckyOven
阅读(300)
评论(0)
推荐(0)
2023年6月14日
bazel使用的一点感受
摘要: 最近在项目中用到了bazel,这里记录下使用过程中的一些心得 bazel编译是通过识别当前目录下BUILD或者BUILD.bazel文件,大概长这样: 点击查看代码 ``` package(default_visibility = ["//visibility:public"]) sh_binary
阅读全文
posted @ 2023-06-14 10:52 LuckyOven
阅读(447)
评论(0)
推荐(0)
2023年5月11日
git rebase会继承tag吗
摘要: 先说结论: 假如在feature分支上 rebase master分支,master上的tag可以被继承,但feature上的tag不会被继承,除非指定相应参数才可以被继承 rebase的时候会将master分支上的commit按照提交顺序在不改变commit的情况下放到feature分支下,但是f
阅读全文
posted @ 2023-05-11 09:39 LuckyOven
阅读(166)
评论(0)
推荐(0)
2023年5月6日
shell中一些不常见的符号用法
摘要: location2_conf="$(cat "${HOME}/.config/autox/location2.txt")" location2_conf=${location2_conf/\//_} LOCATION=${location2_conf^^} 如上面代码所示, 第二行表示对locati
阅读全文
posted @ 2023-05-06 17:10 LuckyOven
阅读(30)
评论(0)
推荐(0)
2022年11月30日
python中如何自己实现一个带颜色的打印
摘要: import time def get_time_stamp(): ct = time.time() local_time = time.localtime(ct) data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time) data_sec
阅读全文
posted @ 2022-11-30 17:37 LuckyOven
阅读(133)
评论(0)
推荐(0)
2022年11月29日
bazel build error: 'xxx' does not appear in srcs
摘要: 用bazel编译时,BUILD文件是这样写的: 但编译时,提示此BUILD文件有如下报错: BUILD:8:10: in srcs attribute of py_binary rule //scripts:vehicle_config_downloader_py: corresponding de
阅读全文
posted @ 2022-11-29 11:21 LuckyOven
阅读(153)
评论(0)
推荐(0)
2022年10月28日
如何不让打印InsecureRequestWarnings警告
摘要: 可以通过使用urllib3.disable_warnings()接口将发送request请求时弹出的安全类警告屏蔽,示例如下: import requests from requests.packages import urllib3 urllib3.disable_warnings(urllib3
阅读全文
posted @ 2022-10-28 11:26 LuckyOven
阅读(141)
评论(0)
推荐(0)
2022年10月24日
cyber_visualizer无法启动 (Could not initialize GLX)
摘要: 在docker中打开cyber_visualizer时,报错如下: ASSERT: "QOpenGLFunctions::isInitialized(d_ptr)" in file external/qt/include/x86_64-linux-gnu/qt5/QtGui/qopenglfunct
阅读全文
posted @ 2022-10-24 15:38 LuckyOven
阅读(749)
评论(0)
推荐(0)
2022年10月20日
linux shell 如何获取到进程的完整命令行
摘要: ps -p [PID] -o args 例如:ps -p $(pidof dhcpcd) -o args ps -eo args | grep dhcpcd | head -n -1
阅读全文
posted @ 2022-10-20 16:05 LuckyOven
阅读(96)
评论(0)
推荐(0)
2022年10月14日
linux shell 字符串转数字
摘要: str="123456" python -c "print $str"
阅读全文
posted @ 2022-10-14 11:41 LuckyOven
阅读(462)
评论(0)
推荐(0)
下一页
公告