• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页

2017年11月19日

go unit test-monkey
摘要: package main import ( "fmt" "github.com/bouk/monkey" "os" "os/exec" "reflect" "testing" ) // 假如我们要测试函数 call func call(cmd string) (int, string) { byte 阅读全文
posted @ 2017-11-19 19:15 会飞の鱼 阅读(1324) 评论(0) 推荐(0)
 

2017年11月18日

用Pylint规范化Python代码,附PyCharm配置
摘要: Pylint一个可以检查Python代码错误,执行代码规范的工具。它还可以对代码风格提出建议。 官网:https://pylint.readthedocs.io pip install pylint 默认情况,Pylint就已经随着Python安装好。在Python的scripts目录下。 找一段小 阅读全文
posted @ 2017-11-18 18:47 会飞の鱼 阅读(1130) 评论(0) 推荐(1)
 

2017年11月17日

minio test
摘要: docker pull minio/minio docker run --name=minio -d -p 9001:9000 minio/minio server /datahttps://docs.minio.io/docswget https://dl.minio.io/client/mc/r 阅读全文
posted @ 2017-11-17 14:58 会飞の鱼 阅读(446) 评论(0) 推荐(0)
 

2017年11月16日

centos7 vnc server
摘要: yum -y install vnc *vnc-server* vncserver vncserver :2 vncserver -geometry 1900x1024 安装 X-Window #yum install gnome-classic-session gnome-terminal nau 阅读全文
posted @ 2017-11-16 22:24 会飞の鱼 阅读(177) 评论(0) 推荐(0)
 
MySQL5.7(5.6)GTID环境下恢复从库思(qi)路(yin)方(ji)法(qiao)
摘要: 要讨论如何恢复从库,我们得先来了解如下一些概念: GTID_EXECUTED:它是一组包含已经记录在二进制日志文件中的事务集合 GTID_PURGED:它是一组包含已经从二进制日志删除掉的事务集合。 在继续讨论时,我们先来看下如何新建一个基于GTID的slave。 通过了解上面的两个参数,我们现在只 阅读全文
posted @ 2017-11-16 19:16 会飞の鱼 阅读(310) 评论(0) 推荐(0)
 
mysql error
摘要: 2017-11-16T07:07:51.664585132Z 2017-11-16T07:07:51.664443Z 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace 阅读全文
posted @ 2017-11-16 19:14 会飞の鱼 阅读(760) 评论(0) 推荐(0)
 
python grpc
摘要: pip install grpcio pip install grpcio-tools python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. ./data.proto 阅读全文
posted @ 2017-11-16 10:03 会飞の鱼 阅读(218) 评论(0) 推荐(0)
 

2017年11月12日

sha1sum校验下载的文件
摘要: [root@mhc1 test]# sha1sum Percona-XtraBackup-2.4.8-r97330f7-jessie-x86_64-bundle.tara9c6b1c7cb3bf98b3b7d7d3a986587be9ea2f1ec Percona-XtraBackup-2.4.8- 阅读全文
posted @ 2017-11-12 20:02 会飞の鱼 阅读(2250) 评论(0) 推荐(0)
 

2017年11月10日

vmvare centos7 切换桌面和命令行模式
摘要: systemctl set-default multi-user.target 命令行 systemctl set-default graphical.target 桌面 阅读全文
posted @ 2017-11-10 23:39 会飞の鱼 阅读(639) 评论(0) 推荐(0)
 
drbd switch off
摘要: DRBD secondary to primary: drbdadm disconnect all drbdadm primary r0 --force mount /dev/drbd0 /mnt [drbdadm connect r0] to wait old primary restore Ol 阅读全文
posted @ 2017-11-10 11:18 会飞の鱼 阅读(156) 评论(0) 推荐(0)
 
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 41 下一页