摘要: 一,代码: #!/bin/bash branch=$(git branch --show-current) echo "当前分支: $branch" comment="" if [ -z "$1" ]; then echo "没有提供参数" comment="$branch 分支--$(date)" 阅读全文
posted @ 2026-02-06 22:37 刘宏缔的架构森林 阅读(1) 评论(0) 推荐(0)
摘要: 一,安装@vue/cli $ npm install -g @vue/cli npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lr 阅读全文
posted @ 2026-02-03 17:27 刘宏缔的架构森林 阅读(6) 评论(0) 推荐(0)
摘要: 一,查看默认的源 $ npm config get registry https://registry.npmmirror.com 二,配置使用国内源 $ npm config set registry https://registry.npm.taobao.org 三,查看效果: $ npm co 阅读全文
posted @ 2026-02-03 17:07 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0)
摘要: 一,查看nvm版本: nvm --version 0.40.3 二,安装node $ nvm install 24 三,列出本地已安装node $ nvm ls 四,查看所有可用的node $ nvm ls-remote 五,查看当前使用的node版本 nvm current v24.13.0 六, 阅读全文
posted @ 2026-02-03 16:55 刘宏缔的架构森林 阅读(7) 评论(0) 推荐(0)
摘要: 一,nvm安装node $ nvm install 24 Downloading and installing node v24.13.0... Downloading https://nodejs.org/dist/v24.13.0/node-v24.13.0-linux-x64.tar.xz.. 阅读全文
posted @ 2026-02-03 16:41 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0)
摘要: 一,官网地址: https://nodejs.org/zh-cn/download/ 如图: 二,安装nvm $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash % Total % Rec 阅读全文
posted @ 2026-02-03 16:34 刘宏缔的架构森林 阅读(6) 评论(0) 推荐(0)
摘要: 一,windterm报错: 报错信息: kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr 阅读全文
posted @ 2026-02-02 11:30 刘宏缔的架构森林 阅读(7) 评论(0) 推荐(0)
摘要: 一,mytask.py代码: from celery import Celery from datetime import timedelta celeryApp = Celery('celeryapp', broker='redis://localhost:6379/0', backend='re 阅读全文
posted @ 2026-01-25 13:04 刘宏缔的架构森林 阅读(9) 评论(0) 推荐(0)
摘要: 解决: 增加-m参数可以看到merge的修改 $ git log -p -m app/models/banners.py 手册说明: -m This flag makes the merge commits show the full diff like regular commits; for e 阅读全文
posted @ 2026-01-19 14:03 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0)
摘要: 一,设置时区: 列出时区: # timedatectl list-timezones 设置时区: # timedatectl set-timezone Asia/Shanghai 设置完成后: # timedatectl status Local time: Sat 2026-01-17 14:07 阅读全文
posted @ 2026-01-17 14:52 刘宏缔的架构森林 阅读(5) 评论(0) 推荐(0)