CentOS 7 install chrome
CentOS 7 install chrome
1.创建yum源文件
cd /etc/yum.repo.d/
touch google-chrome.repo
2.输入yum源信息
[google-chrome]
name=google-chrome …
专注于基于AI技术的数字孪生及工业软件SaaS的研发
CentOS 7 install chrome
cd /etc/yum.repo.d/
touch google-chrome.repo
[google-chrome]
name=google-chrome …
参考:http://www.nljb.net/default/Golang%E4%B9%8BContext%E7%9A%84%E4%BD%BF%E7%94%A8/
在golang中的创建一个新的线程并不会返回像c语言类似的pid
所有我们不能从外部杀死某个线程,所有我就得让它自己结束
之前我们用channel+select的方式, …
go build -x 编译时列出所有编译时的指令(先编译package 最后 link)
go build -gcflags …
源码地址:https://github.com/panyingyun/ducktest
官方参考:https://blog.golang.org/cover
go test 包括代码单元测试、性能测试、用例测试、覆盖率、性能分析等5个方面的全面测试框架
usage: go test [build/test flags] …
Install golang
tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz
/etc/profile
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
export PATH=$PATH:/usr/local/go/bin
source …Golang的其他坑
http://colobu.com/2015/09/07/gotchas-and-common-mistakes-in-go-golang/
二维码:
https://github.com/skip2/go-qrcode
小文件的文件系统
首先明确一点,所有的在cmd命令行下对环境变量的修改只对当前窗口有效, 不是永久性的修改。也就是说当关闭此cmd命令行窗口后,将不再起作用。 永久性修改环境变量的方法有两种:一种是直接修改注册表,另一种是通过我的电脑-〉属性-〉高级,来设置系统的环境变量
显示、设置或删除 cmd.exe 环境变量。 SET [variable=[string]] …
总是忘记,Golang设计的不好的地方,对[]byte无好感
hello := "123"
bytehello :=[]byte(hello)
strhello := string(bytehell0)
Golang …
###分布式的实时消息平台NSQ
http://nsq.io/deployment/installing.html
http://wiki.jikexueyuan.com/project/nsq-guide/nsqadmin.html
###开源分布式文件系统 SeaweedFS …
###分布式的实时消息平台NSQ
http://nsq.io/deployment/installing.html
http://wiki.jikexueyuan.com/project/nsq-guide/nsqadmin.html
###开源分布式文件系统 SeaweedFS …