上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: A good API provides a good mental model A good API is simple :“Make things as simple as possible, but no simpler.” A good API allows multiple implemen 阅读全文
posted @ 2019-01-11 10:54 hao.ma 阅读(131) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "reflect" ) type Log struct { Path string Level string } func (l *Log) Conversion(i interface{}) { if data, ok := i.(*Log); ok { if data != nil { if len(dat... 阅读全文
posted @ 2019-01-08 20:43 hao.ma 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Session: To create a client session the application code must provide a connection string containing a comma separated list of host:port pairs host + 阅读全文
posted @ 2018-12-31 12:56 hao.ma 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #Download source code : wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz #Extract : tar -xzvf protobuf-2.6.1.tar.gz #Build and install: cd protobuf-2.6.1 ./co... 阅读全文
posted @ 2018-12-26 12:48 hao.ma 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 1) zookeeper的事务日志同步是否影响client的心跳检查? 2) 一块盘分多个区,对写性能有提升没? 阅读全文
posted @ 2018-11-22 17:32 hao.ma 阅读(109) 评论(0) 推荐(0) 编辑
摘要: sudo route del -net 0.0.0.0 gw 192.168.178.1 netmask 0.0.0.0 dev eth0 阅读全文
posted @ 2018-11-19 21:55 hao.ma 阅读(120) 评论(0) 推荐(0) 编辑
摘要: wget https://acme.com/software/http_load/http_load-09Mar2016.tar.gz make # if found cc command not found sudo yum groupinstall 'Development Tools' make 阅读全文
posted @ 2018-11-16 17:32 hao.ma 阅读(192) 评论(0) 推荐(0) 编辑
摘要: #type "defaults write com.apple.screencapture location " making sure to enter the space at the end after 'location' defaults write com.apple.screencapture location #Drag the folder you made into ... 阅读全文
posted @ 2018-11-09 11:57 hao.ma 阅读(228) 评论(0) 推荐(0) 编辑
摘要: .ssh/config 阅读全文
posted @ 2018-10-19 16:29 hao.ma 阅读(238) 评论(0) 推荐(0) 编辑
摘要: BackgroundColor YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPEC0w LjAxNTkyNDQwNTMxIDAuMTI2NTIwOTE2OCA... 阅读全文
posted @ 2018-09-29 18:39 hao.ma 阅读(218) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 23 下一页