摘要: vim /usr/share/vim/vim90/defaults.vim 在文件的83行左右的位置,将mouse=a改为mouse-=a,如下图 阅读全文
posted @ 2024-08-29 15:22 七星飘虫 阅读(144) 评论(0) 推荐(0)
摘要: 1. 更新软件包列表 首先,更新系统的软件包列表: sudo apt-get update 2. 安装依赖包 安装 Docker 所需的依赖包: sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg \ 阅读全文
posted @ 2024-08-29 14:59 七星飘虫 阅读(761) 评论(0) 推荐(0)
摘要: apiVersion: apps/v1 kind: Deployment metadata: name: dev-backend namespace: dapr-demo03 labels: app: app-backend service: service-backend spec: replic 阅读全文
posted @ 2024-08-14 10:36 七星飘虫 阅读(28) 评论(0) 推荐(0)
摘要: 替代方案,使用华为云 https://repo.huaweicloud.com/repository/nuget/v3/index.json Dockerfile中使用 RUN dotnet restore "Web.Entry.csproj" --source https://repo.huawe 阅读全文
posted @ 2024-07-19 14:51 七星飘虫 阅读(38) 评论(0) 推荐(0)
摘要: 1.查看之前提交 git log 2.重置到之前的某个版本 git reset --hard 40ab650938ae4ff941c38118f5531b8bf165bc1f 3.提交到远程仓库 git push --force origin dev 注意: 1.此操作会清除指定版本之后的所有提交记 阅读全文
posted @ 2024-07-18 16:01 七星飘虫 阅读(52) 评论(0) 推荐(0)
摘要: 设置用户名和邮箱 git config --global user.name '用户名' git config --global user.email '用户名@qq.com' 查看用户名和邮箱 git config user.name git config user.email 阅读全文
posted @ 2024-06-26 15:33 七星飘虫 阅读(29) 评论(0) 推荐(0)
摘要: services.AddAuthentication(options => { // 默认使用Cookie方案 options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; // 验证用户身份时使用JWT Bea 阅读全文
posted @ 2024-06-25 15:30 七星飘虫 阅读(118) 评论(0) 推荐(0)
摘要: 1.先将项目fork到私有服务器仓库 2.克隆 Forked 仓库到本地 # 使用你的仓库 URL 克隆 git clone https://github.com/your-username/your-forked-repo.git cd your-forked-repo 3.添加上游(原始)仓库 阅读全文
posted @ 2024-06-24 15:08 七星飘虫 阅读(309) 评论(0) 推荐(0)
摘要: RESTORE DATABASE 数据库名称 WITH RECOVERY; 阅读全文
posted @ 2024-06-13 09:54 七星飘虫 阅读(9) 评论(0) 推荐(0)
摘要: 如果你想快速删除所有未追踪的文件(即未被 Git 版本控制的文件),你可以使用以下命令:###### git clean -f 这个命令会删除所有未追踪的文件。如果你还想删除未追踪的目录,可以使用 -d 选项:###### git clean -fd 如果你还想删除由 .gitignore 忽略的文 阅读全文
posted @ 2024-06-06 17:39 七星飘虫 阅读(85) 评论(0) 推荐(0)