会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sinferwu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
27
下一页
2022年5月8日
正则表达式
摘要: ^([a-z0-9_\.]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$ https://regex101.com/ https://regexper.com/ https://regexper.com/#%5E%28%5Ba-z0-9_%5C.%5D%2B%29%40%28%5
阅读全文
posted @ 2022-05-08 11:37 sinferwu
阅读(13)
评论(0)
推荐(0)
2022年4月26日
Shell 脚本避免多次重复 source
摘要: https://kodango.com/avoid-repeated-source-in-shell ${!_sourced_}是间接引用,这个执行没问题,source 会报错 bad substitution _sourced_="__sourced_$$__" echo "Flag variab
阅读全文
posted @ 2022-04-26 22:20 sinferwu
阅读(247)
评论(0)
推荐(0)
获取shell脚本路径
摘要: SHELL_FOLDER=$(dirname $(readlink -f "$0")) DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" script_dir=`dirname $(realpath $0)` #!/bin/bash sc
阅读全文
posted @ 2022-04-26 11:36 sinferwu
阅读(474)
评论(0)
推荐(0)
2022年4月24日
Centos非root用户(普通用户)安装rpm包
摘要: rpm2cpio uboot-tools-2019.07-3.el7.x86_64.rpm | cpio -idvm export PATH=$PATH:$HOME/.local/usr/bin
阅读全文
posted @ 2022-04-24 23:10 sinferwu
阅读(924)
评论(0)
推荐(0)
2022年4月18日
各种数值计算相关的问题
摘要: https://www.armbbs.cn/forum.php?mod=viewthread&tid=111972 5、网友做的Embassy/Rust 和 FreeRTOS/C的速度比较RUST竟然表现出了巨大的速度优势和资源优势,大家有兴趣也可以试试:https://tweedegolf.nl/
阅读全文
posted @ 2022-04-18 12:59 sinferwu
阅读(101)
评论(0)
推荐(0)
2022年4月5日
shell错误 syntax error: invalid arithmetic operator (error token is "
摘要: 在处理windows格式文本,以 \r\n 为换行符,如果参与运算的数据是行尾的 syntax error: invalid arithmetic operator (error token is " https://stackoverflow.com/questions/43309793/remo
阅读全文
posted @ 2022-04-05 16:30 sinferwu
阅读(3212)
评论(0)
推荐(0)
2022年3月30日
C/C++ 隐式申明 问题
摘要: 在64bit 系统中,强烈建议加入以下选项,将 implicit-function-declaration 视为 error -Werror=implicit-function-declaration https://stackoverflow.com/questions/9182763/impli
阅读全文
posted @ 2022-03-30 23:25 sinferwu
阅读(581)
评论(0)
推荐(0)
2022年3月21日
𝙓𝙩𝙚𝙣𝙨𝙖 基础 𝙇𝙬𝙄𝙋 基础
摘要: 𝙓𝙩𝙚𝙣𝙨𝙖 基础 https://suda-morris.github.io/blog/cs/xtensa.html 𝙇𝙬𝙄𝙋 基础 https://suda-morris.github.io/blog/cs/lwip.html wIP 的内存管理机制大致上可以分成三种: C
阅读全文
posted @ 2022-03-21 11:29 sinferwu
阅读(21)
评论(0)
推荐(0)
2022年3月16日
CMake 编译 C + Assembly
摘要: https://stackoverflow.com/questions/15132185/mixing-c-and-assembly-sources-and-build-with-cmake enable_language(C ASM) in the Toolchain file you shoul
阅读全文
posted @ 2022-03-16 23:13 sinferwu
阅读(707)
评论(0)
推荐(0)
2022年3月15日
合并多个静态库.a
摘要: .a静态库文件实际上就是.o目标文件的集合 x[o] - extract file(s) from the archivear -x libxxx.a 提取目标文件 file add.o nm add.o CMake应用:合并静态库的最佳实践 - 知乎 (zhihu.com) ar crsT lib
阅读全文
posted @ 2022-03-15 14:59 sinferwu
阅读(1163)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
27
下一页
公告