[install gcc6.1.0]error: Unable to find a suitable type for HOST_WIDE_INT

unset LIBRARY_PATH CPATH C_INCLUDE_PATH PKG_CONFIG_PATH CPLUS_INCLUDE_PATH INCLUDE

2019-04-27 14:01:16

阅读数 34

评论数 0

Installing gcc 6.1 on centos 7

yum installlibmpc-develmpfr-develgmp-devel yuminstallzlib-devel* cd ~/Downloads curl ftp://ftp.gnu.org/pub/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2-O ...

2019-04-26 15:42:53

阅读数 37

评论数 0

golang simple test

190416.go package _90416 import "errors" func Division(a, b float64) (float64, error) { if b == 0 { return 0, errors.New("canno...

2019-04-17 17:10:17

阅读数 17

评论数 0

Golang Read And Write Etcd

package main import ( "go.etcd.io/etcd/clientv3" "fmt" "time" "context" "encoding/json" ) ty...

2019-04-12 18:31:30

阅读数 10

评论数 0

Words 20190411

susceptible[sə'septəb(ə)l]adj.敏感 be more susceptible to hackers a hacker drains Poloniex in actuality intensive[ɪn'tensɪv]adj.加强 a security-inte...

2019-04-11 21:55:13

阅读数 18

评论数 0

go-ethereum Verify User

package main import ( ethereum_crypto "github.com/ethereum/go-ethereum/crypto" "fmt" "crypto/ecdsa" ) func main()...

2019-04-08 16:52:10

阅读数 10

评论数 0

go-ethereum Create Wallet

package main import ( ethereum_crypto "github.com/ethereum/go-ethereum/crypto" "fmt" "github.com/ethereum/go-ethereum/co...

2019-04-08 16:46:28

阅读数 9

评论数 0

Golang UDP C/S Communication

Server package main import ( "net" "fmt" ) func main() { sAddr, err := net.ResolveUDPAddr("udp", ":6666&qu...

2019-03-27 21:54:21

阅读数 23

评论数 0

no such file or directory, scandir '/Users/zmx/190202/node_modules/node-sass/vendor'

npm rebuild node-sass  

2019-02-08 15:05:46

阅读数 88

评论数 0

ipfs CORS config

ipfs config jsonAPI.HTTPHeaders.Access-Control-Allow-Methods '["PUT","GET","POST","OP...

2019-02-03 16:24:17

阅读数 94

评论数 0

npm install:EACCES: permission denied

npm install -g xx --unsafe-perm --allow-root  

2019-01-27 14:43:16

阅读数 86

评论数 0

Hyperledger fabric+kafka+docker-compose多机部署

主机 A B C D IP 139.180.137.89 139.180.209.250 139.180.137.0 198.13.46.60 角色 zookeeper0 kafka0 orderer0.trace.com ...

2019-01-19 23:25:01

阅读数 117

评论数 0

golang ping

package main import ( "github.com/sparrc/go-ping" "log" "time" "fmt" ) ...

2019-01-17 14:42:16

阅读数 25

评论数 0

Reflection in golang

package main import ( "reflect" "fmt" "190112/pkg" ) func main() { var reverseInt func(...

2019-01-15 16:58:30

阅读数 73

评论数 0

peer0.org1.example.com:7051: failed to create new connection: context deadline exceeded

docker volume prune  

2019-01-09 13:59:14

阅读数 514

评论数 1

A simple example of Dockerfile

FROM ubuntu MAINTAINER Tom USER root ENV BAQI=lijie RUN apt-get update RUN apt-get install -y nginx ADD ["go1.11.linux-amd64.tar.gz&...

2019-01-08 16:31:34

阅读数 27

评论数 0

[golang]call method with reflection

package main import ( "reflect" "fmt" ) type Ax struct { X int } type By struct { Y int } type Handler s...

2019-01-05 13:00:38

阅读数 43

评论数 0

Docker容器跨主机通信--overlay

主机配置 A  45.77.250.9  CentOS 7 x64 B  66.42.55.131  CentOS 7 x64 1.A、B主机分别安装docker yum install docker -y A、B主机分别启动docker systemctl start docke...

2018-12-28 18:16:41

阅读数 44

评论数 0

Singleton in golang

Using sync.Mutex import ( "sync" "sync/atomic" ) type singleton struct { } var instance *singleton var mu ...

2018-12-27 22:37:39

阅读数 17

评论数 0

Quick sort,bubble sort,insertion sort in golang

Quick Sort package main import ( "math/rand" "time" "fmt" ) func QuickSort(x []int,s int...

2018-12-27 21:51:54

阅读数 20

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭