File tree Expand file tree Collapse file tree 4 files changed +32
-2
lines changed
Expand file tree Collapse file tree 4 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -508,8 +508,9 @@ sn3:= struct {
508508### 私有仓库
509509
510510``` shell
511+ # 报错:github.com/hashicorp/memberlist: git.****.cn/****/xxx/****-@v1.0.1: reading https://goproxy.cn/git.****.cn/****/xxx/****-.mod: 404 Not Found
511512# 设置私有仓库的git地址
512- go env -w GOPRIVATE=" git@git .xxx.cn"
513+ go env -w GOPRIVATE=" git.xxx.cn"
513514
514515# 允许设置不安全访问,配置后可请求到 http 地址的仓库
515516go env -w GOINSECURE=" git.xxx.cn"
@@ -523,4 +524,22 @@ go env -w GONOSUMDB="git.xxx.cn"
523524# 项目名称必须是仓库地址
524525# 拉取仓库go get git.xxx.cn/name/xxx@v1.0.2
525526
526- ```
527+ ```
528+ - 鉴权问题
529+ ``` shell
530+ fatal: could not read Username for ' https://git.****.cn' : No such device or address
531+ # cat >~/.netrc<<EOF
532+ machine git.xxxx.cn
533+ login ${GITLAB_USER_NAME}
534+ password ${GITLAB_PASSWORD}
535+ EOF
536+
537+ cat > ~/.gitconfig<< EOF
538+ [user]
539+ name = xxx
540+ email = ${GITLAB_USER_NAME}
541+ EOF
542+
543+ ` ` `
544+ -
545+
Original file line number Diff line number Diff line change 6464- Nginx 多进程单线程
6565- Memcached 单进程多线程模型
6666
67+ #### String和Hash(ziplist),什么情况下用Hash更省内存。
68+
69+ - 哈希对象保存的所有键值对的键和值的字符串长度都小于 64 字节;
70+ - 哈希对象保存的键值对数量小于 512 个;
71+
Original file line number Diff line number Diff line change 1+ # 常见问题
2+
3+ -
4+
Original file line number Diff line number Diff line change 22
33## 系统性
44
5+ - [ 区块链技术和应用] ( https://www.bilibili.com/video/BV1Vt411X7JF/?spm_id_from=333.337.search-card.all.click )
56- [ 企业级区块链实战教程] ( https://learnblockchain.cn/books/enterprise/ )
7+ - [ 以太坊设计与实现] ( https://learnblockchain.cn/books/geth/ )
68
79
810## 名词
You can’t perform that action at this time.
0 commit comments