摘要: 1、从未提交过的文件可以用.gitignore 也就是添加之后从来没有提交(commit)过的文件,可以使用.gitignore忽略该文件 该文件只能作用于未跟踪的文件(Untracked Files),也就是那些从来没有被 git 记录过的文件 比如,忽略log/下的日志文件,可以在.gitign 阅读全文
posted @ 2023-05-22 10:19 格罗玛什·地狱咆哮 阅读(186) 评论(0) 推荐(0)
摘要: 执行命令: composer config -g repo.packagist composer https://packagist.org 而后composer install完美成功。 阅读全文
posted @ 2023-04-28 23:28 格罗玛什·地狱咆哮 阅读(70) 评论(0) 推荐(0)
摘要: sudo vmhgfs-fuse .host:/ /mnt/hgfs 输入这一段,回车, 原理:不知道 阅读全文
posted @ 2023-03-24 08:39 格罗玛什·地狱咆哮 阅读(101) 评论(0) 推荐(0)
摘要: 1、当使用生成接口 生成全局模型时, 生成的validate文件的namespace错误 应为 namespace app\common\validate;实际为 namespace app\api\validate;解决方法:1、找到 application/admin/library/buiap 阅读全文
posted @ 2023-03-13 23:26 格罗玛什·地狱咆哮 阅读(621) 评论(0) 推荐(0)
摘要: git reset HEAD 文件名 阅读全文
posted @ 2022-03-19 12:06 格罗玛什·地狱咆哮 阅读(41) 评论(0) 推荐(0)
摘要: protoc-gen-go-grpc: program not found or is not executable go get -u google.golang.org/protobuf/cmd/protoc-gen-go go install google.golang.org/protobu 阅读全文
posted @ 2021-12-17 14:16 格罗玛什·地狱咆哮 阅读(792) 评论(0) 推荐(0)
摘要: 适用于终端打开方式为 /bin/bash 的 原: 计算机名:文件夹名 用户名$ 感觉太长了 Password: 就是计算机密码 使用”#“注释掉 PS1 重新写一个 PS1 按照想要的格式 最后 :wq! 重启终端 阅读全文
posted @ 2021-11-05 16:21 格罗玛什·地狱咆哮 阅读(745) 评论(0) 推荐(0)
摘要: git pull 强制覆盖本地的代码方式,下面是正确的方法: git fetch --all 然后,你有两个选择: git reset --hard origin/master 或者如果你在其他分支上: git reset --hard origin/<branch_name> 说明: git fe 阅读全文
posted @ 2021-08-06 13:49 格罗玛什·地狱咆哮 阅读(3067) 评论(0) 推荐(0)
摘要: glog.SetDebug(false) // 关闭debug信息 s := g.Server() s.SetDumpRouterMap(false) // 关闭打印的路由列表 阅读全文
posted @ 2021-07-27 10:18 格罗玛什·地狱咆哮 阅读(274) 评论(0) 推荐(0)
摘要: func round(x float64){ return int(math.Floor(x + 0/5))} func round(x float64){ return int(math.Floor(x + 0/5))} func round(x float64){ return int(math 阅读全文
posted @ 2021-07-22 14:49 格罗玛什·地狱咆哮 阅读(892) 评论(0) 推荐(0)