摘要: 取消跟踪:git update-index –assume-unchanged path/to/file 跟踪回来,执行:git update-index –no-assume-unchanged path/to/file 不知道git add行不行 撤销本地更改git reset --hard 还 阅读全文
posted @ 2019-08-16 10:06 友善的狗W 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 先配置环境变量 gopath goroot go111module=on goproxy=https://goproxy.io Go:VSCode官方的Golang插件 Todo Tree:搜索代码中的//TODO和//FIXME注释,集中显示 koroFileHeader:生成文件头部注释 vsc 阅读全文
posted @ 2019-08-15 16:09 友善的狗W 阅读(527) 评论(0) 推荐(0) 编辑
摘要: openssl 命令使用指南 https://www.cnblogs.com/wgwyanfs/p/7065152.html openssl生成根证书,go编程生成证书并用根证书签名,以及go语言ssl双向认证 https://segmentfault.com/a/1190000009666888 阅读全文
posted @ 2019-07-24 10:43 友善的狗W 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: ubuntu1604 openldap和phpLdapAdmin https://www.techrepublic.com/article/how-to-install-openldap-and-phpldapadmin-on-ubuntu-16-04/ LDAP落地实战(一):OpenLDAP部署 阅读全文
posted @ 2019-07-22 15:13 友善的狗W 阅读(173) 评论(0) 推荐(0) 编辑
摘要: centos7安装postgresql,yum install postgresql,版本是9.2.7 安装后,初始化数据库 /usr/pgsql-9.6/bin/postgresql96-setup initdb //根据具体版本来 然后(这里参考https://blog.csdn.net/DaS 阅读全文
posted @ 2019-07-16 17:05 友善的狗W 阅读(216) 评论(0) 推荐(0) 编辑
摘要: writer wordcalc exceldraw visio??impress pptbase accessmath 公式编辑器 word librewriter openwriter总体支持docx文件 部分缩进处理不同有点乱 同左自动保存 支持 支持页眉页脚 支持 支持页眉图形 支持 压缩得变 阅读全文
posted @ 2019-07-16 08:11 友善的狗W 阅读(198) 评论(0) 推荐(0) 编辑
摘要: dns /etc/resolv.confproxy ~/.bashrcexport http_proxy='http://proxyxa.xxx.com.cn:80'export https_proxy='http://proxyxa.xxx.com.cn:80/'export no_proxy=" 阅读全文
posted @ 2019-06-14 15:31 友善的狗W 阅读(183) 评论(0) 推荐(0) 编辑
摘要: docker version 17.03.3 ce docker-compose 1.22.0 docker-compose yaml version 2.2 version: '2.2' networks: extnetwork: driver: bridge ipam: driver: defa 阅读全文
posted @ 2019-06-13 21:28 友善的狗W 阅读(10215) 评论(0) 推荐(0) 编辑
摘要: https://www.ctolib.com/docs/sfile/prometheus-book/index.html prometheus指南 https://e.huawei.com/cn/material/onLineView?MaterialID=c06476e14afe4d4591655 阅读全文
posted @ 2019-05-28 13:30 友善的狗W 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 定义结构类型值时,如果带有结构字段名,最后一个字段后加逗号,比如 mark := user{ name: "Mark", email: "mark@email.com", },此时字段之间没有顺序要求,另一种 声明对象方法时,接收器有值接收器和指针接收器,对值接收器声明的方法而言,调用时使用值的一个 阅读全文
posted @ 2019-05-02 11:33 友善的狗W 阅读(118) 评论(0) 推荐(0) 编辑