Skip to content

Commit

Permalink
chore:11月22日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Nov 22, 2023
1 parent 39e58d3 commit 92ab89c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- 讯飞星火 https://xinghuo.xfyun.cn
- 通义听悟 https://tingwu.aliyun.com
- 7月31日 充值绑定ChatGPT API 付费 https://mercury.com
## 11月22日
- https://github.com/JushBJJ/Mr.-Ranedeer-AI-Tutor
## 11月7日
- https://platform.openai.com/playground
-
Expand Down
13 changes: 12 additions & 1 deletion docs/daily/2023-11.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@

## 11月22日
- mysql 通过sql替换字符串中某一段
```
// 只替换一种/xxxx.jpg
UPDATE File
SET Url = REGEXP_REPLACE(Url, '/[^/]+\\.jpg$', `Name`)
WHERE Id=1644689089305382912
// 可以替换多种类型 /xxxx.jpg /xxxx.png等
UPDATE File
SET Url = REGEXP_REPLACE(Url, '/[^/]+\\.(jpg|png|mp4)$', CONCAT('/', `Name`))
WHERE Id = 1644689089305382912;
```
- 网站访问图片有时候有问题 可以查看nginx error.log
```
cd /var/log/nginx/error.log
Expand Down
6 changes: 6 additions & 0 deletions docs/javascript/2023-10-26-培训.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,9 @@ whoami
echo $USER

```
## 安装goploy
```
https://github.com/zhenorzz/goploy
```
15 changes: 10 additions & 5 deletions docs/javascript/2023-11-21-dotnetcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ dotnet-ef database update -c DvsContext --framework net6.0


## api.nuget.ogr/v3/index.json无法访问是因为翻墙的问题

更改为直连即可


```
将代理更改为直连即可
```

## linux 服务位置
```
Expand Down Expand Up @@ -197,8 +198,6 @@ SHOW DATABASES;
}
```



## 事务里面如果有创建表结构的则不会跟随事务

## 数据库菜单更新
Expand Down Expand Up @@ -244,3 +243,9 @@ DVS.Basic/Templates/Menu.json
// 然后 重写ExecuteAsync, 这个服务中的ExecuteAsync 方法会一直执行
```



## rabbitmq 异步任务处理
```
```

0 comments on commit 92ab89c

Please sign in to comment.