09 2019 档案

GitLab: You are not allowed to force push code to a protected branch on this project.
摘要:remote: GitLab: You are not allowed to force push code to a protected branch on this project. To ! [remote rejected] master -> master (pre-receive hoo 阅读全文

posted @ 2019-09-24 16:19 iokde.com 阅读(7716) 评论(0) 推荐(0)

go 多版本管理
摘要:go 版本切换 部分新项目用的go mod 管理版本 编译用的go1.13 ,但是编译之前的老项目使用go1.13报错,为了不折腾做个土办法切换go版本 /usr/local/ 目录下的go 指向不同版本 ,通过命令来切换; /etc/bashrc function go110(){ rm -rf 阅读全文

posted @ 2019-09-20 15:53 iokde.com 阅读(1307) 评论(0) 推荐(0)

glide install error
摘要:glide install 提示: Error scanning github.com/cpuguy83/go-md2man/v2/md2man: cannot find package "." in: /Users/xxxx/.glide/cache/src/https-github.com-cp 阅读全文

posted @ 2019-09-19 09:24 iokde.com 阅读(738) 评论(0) 推荐(0)

glide-ask-user-name-password git自动使用http克隆不是ssh
只有注册用户登录后才能阅读该文。

posted @ 2019-09-18 15:03 iokde.com 阅读(2) 评论(0) 推荐(0)

golang viper ReadRemoteConfig error
摘要:读取 consul服务上的配置地址提示错误并自动退出 ,错误如下: 检查启动命令后配置的consul地址和实际路径不匹配 ,更新为正确路径后即可正常启动; 阅读全文

posted @ 2019-09-11 15:40 iokde.com 阅读(521) 评论(0) 推荐(0)

使用cat和EOF生成 shell 脚本时会自动解析变量的解决办法
摘要:之前使用以下的用法,执行时会自动执行``里的语句,同时会把$变量变为空。 执行结果: 查到的解决办法: 注意第一个EOF要带引号。这种写法还支持使用>>追加文本。 参考: http://www.linuxyw.com/linux/wenjianguanli/20130427/132.html htt 阅读全文

posted @ 2019-09-05 17:51 iokde.com 阅读(1226) 评论(0) 推荐(0)

centos install ruby
摘要:ref: https://tecadmin.net/install-ruby-latest-stable-centos/ 阅读全文

posted @ 2019-09-02 15:19 iokde.com 阅读(92) 评论(0) 推荐(0)

导航