摘要: 上班第一天,代码量 1840, 有点小多了呀 使用下面代码就可以直接显示代码行数了呀 git log --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "新增: %s, 阅读全文
posted @ 2023-04-28 18:13 burton_shi 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 首先使用 git remote -v 来查看当前仓库关联的远端地址 然后使用 git remote set-url origin <git>, 来更新本地仓库关联的远端代码 阅读全文
posted @ 2023-04-28 16:41 burton_shi 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1. 如果修改了postForm 的内容,那么需要同步修改 请求的 contentType 的值,对于 go 来说需要修改的是 request.ContentType 里的值 以下是 源码中关于 contenType 字段的注释 ContentLength records the length of 阅读全文
posted @ 2023-04-28 11:59 burton_shi 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 参考博客:为Linux系统导入根证书 | blueyi's notes (maxwi.com) TODO: 火狐浏览器中添加自签名证书步骤 1. 找到设置 2. 找到管理证书 3. 管理设备证书 -> 受信任的根证书颁发机构 4. 点击 导入,就可以添加证书啦 阅读全文
posted @ 2023-04-28 09:15 burton_shi 阅读(721) 评论(0) 推荐(0) 编辑