今天提交git 的时候出现 bad signature 错误,意思是git下的index文件损坏了,需要重新生成下 error: bad signature fatal: index file corrupt rm -f .git/index git reset 之后再从新提交就可以了 参考地址:h ...
分类:
其他好文 时间:
2019-12-25 01:57:44
阅读次数:
168
./include/caffe/common.hpp:4:32: fatal error: boost/shared_ptr.hpp: 没有那个文件或目录 所有类似于上面的错误,都可以用如下格式来解决: 解决方案:出现该错误的原因是少了依赖。 在命令行输入: $ sudo apt-get insta ...
分类:
其他好文 时间:
2019-12-24 14:03:15
阅读次数:
197
生成公钥和私钥代码 package utils import ( "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/pem" "fmt" "io/ioutil" ) func GenRSAPubAndPri(bits int,filepath st... ...
分类:
其他好文 时间:
2019-12-24 13:51:24
阅读次数:
137
1、deepdive安装 deepdive是斯坦福开发的具有语言识别能力的信息抽取工具,可用作KBC系统(Knowledge Base Construction)的内核。在做知识图谱的时候其是一个十分强大的工具。其安装可参考中文知识图谱开放网的链接。点击打开链接 2、Postgresql安装 dee ...
分类:
其他好文 时间:
2019-12-24 10:03:51
阅读次数:
114
如果报FATAL: Peer authentication failed for user "postgres" 解决方法https://blog.csdn.net/liyazhen2011/article/details/88977424 ...
分类:
数据库 时间:
2019-12-20 18:48:10
阅读次数:
100
mysql_connect()这个函数不再使用 不要修改php.ini文件,改成mysqli_connect()就可以了 全局替换后 报错:Warning: mysqli_error() expects exactly 1 parameter, 0 given in $con = mysqli_co ...
分类:
数据库 时间:
2019-12-20 11:55:08
阅读次数:
102
优雅关闭web服务 DBHelper, err = gorm.Open("mysql", "root:root@(115.159.59.129:3306)/test?charset=utf8&parseTime=True&loc=Local") if err != nil { log.Fatal("... ...
分类:
Web程序 时间:
2019-12-20 01:07:30
阅读次数:
153
入如果pull有这个报错:fatal: refusing to merge unrelated histories 此项错误是由于本地仓库和远程有不同的开始点,也就是两个仓库没有共同的 commit 出现的无法提交。这里我们需要用到 --allow-unrelated-histories。也就是我们 ...
分类:
其他好文 时间:
2019-12-19 15:59:32
阅读次数:
102
在公司换了一台电脑之后发现git clone 和 npm install都失败,报错为 fatal: unable to access 'https://github.com/netease-im/NIM_PC_UIKit/': Failed to connect to 127.0.0.1 port ...
分类:
其他好文 时间:
2019-12-18 11:10:57
阅读次数:
369
Hbase启动出问题 2019-12-15 09:59:57,183 WARN [hadoop:16000.activeMasterManager] hdfs.DFSClient: DFS Read org.apache.hadoop.hdfs.BlockMissingException: Coul ...
分类:
其他好文 时间:
2019-12-15 23:53:26
阅读次数:
859