-
### Description
### Why
### Possible Implementation & Open Questions
### Is this something you're interested in working on?
- [ ] YES
- [ ] NO
-
Programming expertise includes proficiency in languages, algorithms, and software development, plus problem-solving, debugging, testing, and knowledge of frameworks, architecture, and continuous learn…
-
I am stuck with a board from Ebyte:
https://www.cdebyte.com/products/E104-BT5010A-TB
This board uses a module based on nRF52810.
It has a UART on it, and when I try simple AT commands, it throws …
-
![programing](https://github.com/DNXPPXND/infi-photo/assets/111185949/a8a283f0-8b85-4746-9131-df8620b713aa)
-
# Shell
- 变量
- [函数](/Shell_Function)
- 循环
- while
- [for](/Shell_for)
- 控制
- [if](/Shell_if)
- [case](/Shell_case)
- [文件读写](/Shell_read_file)
- [注释](/Shell_comment)
- [添加参数](/She…
-
# re 正则表达式模块
- re.match
- re.search
- re.sub
- re.compile
- re.finditer
- re.split
## Examples
- 查找字符串中的数字
```
import re
pattern = re.compile('[0-9]+')
match = pattern.findall(str)…
-
### Description
can't run the app
### CodeSandbox/Snack link
https://github.com/bidah/gluestack-v2-starter-issue
### Steps to reproduce
1. download reproducible repo with error https://github.com…
-
# if 判断
- 判断变量是否相等
- 判断是否是数字 `N`
- 判断是否是字符串 `xxx`
```
i=1
if [ $i -lt 10 ]
then
echo "xxx"
else
echo "xxx"
fi
```
> 注意 $i 和 10 前后都有空格
## UseCase
### 判断变量是否是 `0`
…
-
# Shell case
```
#!/bin/bash
case $1 in
1)
echo '2'
;;
2)
echo '3'
;;
*)
echo 'haha'
esac
```
## read input
```
#!/bin/bash
…
-
# 函数
```
function parse_somethine(){
# do something
return int;
}
parse_somethine $1 $2
```
## 默认参数
默认参数 | 说明
-- | --
`$#` | 传递到脚本的参数个数
`$*` | 以一个单字符串显示所有向脚本传递的参数
`$$` | 脚本运…