摘要: 1.psql: 无法联接到服务器: Connection refused 原因之一是服务器没启动。解决:启动服务器执行pg_ctl start 2.安装postgresql后找不到服务 postgresql service pg_ctl.exe register -N PostgreSQL -D C 阅读全文
posted @ 2020-03-14 11:03 ninxin18 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 环境: Ubuntu 16.04 java version "1.8.0_231" 配置/etc/sudoers这个文件,sudo vim /etc/sudoers 只读,编辑需要使用sudo sudoers 在Defaults secure_path="/usr/local/sbin:/usr/l 阅读全文
posted @ 2019-12-31 11:18 ninxin18 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 1.Makefile mkdir -p build/{bin/,certs/,db/,scripts/,log/} Linux command:mkdir -p build/{bin,certs,db,scripts,log} 2.sudo apt-get install ubuntu常见错误--C 阅读全文
posted @ 2019-01-09 15:36 ninxin18 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1. abigen 参考文档(Native DApps: Go bindings to Ethereum contracts) abigen --sol token.sol --pkg token --lang go --out token.goTrying to bind solidity wit 阅读全文
posted @ 2018-11-02 11:59 ninxin18 阅读(460) 评论(0) 推荐(0) 编辑
摘要: error: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sha3@1.2.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at th 阅读全文
posted @ 2018-10-22 16:31 ninxin18 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1. pip3 ''' pip3 install --upgrade pip sudo apt-get install python3-setuptools pip3 install --upgrade pip Traceback (most recent call last): File "/us 阅读全文
posted @ 2018-10-18 15:31 ninxin18 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 开发问题: How to find out which types implement which interface in Golang? How do you quickly find the implementation(s) of an interface in Golang? Ctrl + 阅读全文
posted @ 2018-07-09 14:58 ninxin18 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: Ubuntu配置apacemacs: 下载emacs-25.3.tar.gztar zxf emacs-25.3.tar.gzcd emacs-25.3执行./configure命令出现如下错误:'''shellconfigure: error: You seem to be running X, 阅读全文
posted @ 2018-07-03 11:07 ninxin18 阅读(301) 评论(0) 推荐(0) 编辑
摘要: git checkout git log 退出 按 q git回退 git操作 阅读全文
posted @ 2018-06-21 09:38 ninxin18 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 链表 type Student struct { Name string Next* Student } 每个节点包含下一个节点的地址,这样把所有的节点串起来了,通常把链表中的第一个节点叫做链表头 package main import ( "fmt" ) type Student struct { 阅读全文
posted @ 2018-06-21 09:35 ninxin18 阅读(223) 评论(0) 推荐(0) 编辑