golang random string
func GetRandomString(n int) string { randBytes := … 继续阅读 golang random string
func GetRandomString(n int) string { randBytes := … 继续阅读 golang random string
func fabonacci(ch chan int64, done chan struct{}) … 继续阅读 golang fabonacci use select channel
func RandMapKey(m map[string]string) string { mapK… 继续阅读 golang map get random value
yum install gcc -y #安装C依赖 wget http://download.red… 继续阅读 build redis on centos
cd /tmp export PCAPV=1.10.1 wget http://www.tcpdum… 继续阅读 arm64 build libpcap
func main() { c := make(chan os.Signal, 1) signal.… 继续阅读 golang os.Signal跳出循环
res := make(map[string]interface{}) dataType , _ :… 继续阅读 map[string]interface{} 转为string
apt-get install libssl-dev -y apt-get install buil… 继续阅读 ubuntu快速编译n2n
配置golang和rust环境 依赖项 apt install make gcc git bzr j… 继续阅读 lotus编译
git clone –branch master https://github.com/filec… 继续阅读 Hardware benchmarks on the Filecoin testnet
wget http://ftp.gnu.org/gnu/glibc/glibc-2.27.tar.g… 继续阅读 ./lotus: /lib64/libm.so.6: version `GLIBC_2.27′ not found (required by ./lotus)
解决: curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.1… 继续阅读 ./lotus: /lib64/libc.so.6: version `GLIBC_2.18′ not found (required by ./lotus)
官网下载对应版本扩展包: https://pecl.php.net/package/redis 安装… 继续阅读 php添加redis扩展
简介 redis(REmote DIctionary Server)是一个由Salvatore Sa… 继续阅读 源码部署redis
FROM python:3.8.9 WORKDIR /usr/src/app #https://nc… 继续阅读 docker 编译 TA-Lib 0.4.19
报错信息: [root@master ~]# kubeadm init –config=/root… 继续阅读 Couldn’t create the interface used for talking to the container runtime: crictl is required for container runtime: exec: “crictl”: executable file not found in $PATH
需要安装依赖 yum -y install zlib1g-dev
下载安装 CRI-O yum install git make curl -OL https://g… 继续阅读 安装容器运行时CRI-O v1.18.4
Nethogs 是一个终端下的网络流量监控工具可以直观的显示每个进程占用的带宽。 下载地址 ubun… 继续阅读 Nethogs查看进程占用带宽情况