摘要: grafana ####下载安装(docker) ## 查找grafna镜像 docker search grafana ## 下载镜像 grafana/grafana 是search到的。 docker pull grafana/grafana ## 启动 docker run -d --name 阅读全文
posted @ 2021-06-13 13:12 奔跑的兔 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Golang 代理设置 Linux 个人用户 ## 在~/.bashrc中添加 export GOPROXY=https://goproxy.cn 使用go mod Linux 个人用户 ## 在~/.bashrc中添加 export GO111MODULE=on 阅读全文
posted @ 2021-06-06 15:28 奔跑的兔 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 安装redis集群 https://www.cnblogs.com/wxx999/p/14855040.html Demo 建立连接 RedisCluster/connect/connect.go package connect import ( "github.com/go-redis/redis 阅读全文
posted @ 2021-06-06 15:15 奔跑的兔 阅读(2976) 评论(1) 推荐(0) 编辑
摘要: 直接一条命令部署redis集群 ## 将redis-cluser的7000-7005端口映射到本机的8000-8005 docker run -d --name redis-cluster -e "IP=0.0.0.0" -p 8000-8005:7000-7005 grokzen/redis-cl 阅读全文
posted @ 2021-06-06 12:31 奔跑的兔 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: Ubuntu18.04 安装 sudo apt-get install docker 给非root用户添加Docker执行权限 如果用户没有docker执行权限,终端会输出 Got permission denied while trying to connect to the Docker dae 阅读全文
posted @ 2021-06-06 11:45 奔跑的兔 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 索引优化工具 sora(https://github.com/XiaoMi/soar) 阅读全文
posted @ 2021-06-01 21:51 奔跑的兔 阅读(32) 评论(0) 推荐(0) 编辑
摘要: gopkg.in/go-playground/pool.v3 package main import ( "fmt" "gopkg.in/go-playground/pool.v3" "time" ) func newThreadFunc(p pool.Pool, value int) pool.W 阅读全文
posted @ 2021-05-30 18:44 奔跑的兔 阅读(1727) 评论(0) 推荐(0) 编辑
摘要: amnet 目前还没有类似catkin_created的命令,但是ros2自带的有 ros2 pkg create命令 创建包 ros2 pkg create test 会创建一个名为test的包 ros2 pkg create test --dependencies std_msgs rclcpp 阅读全文
posted @ 2019-01-21 17:16 奔跑的兔 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: ROS2 使用自定义消息 创建自定义消息 示例代码 service #include <inttypes.h> #include <memory> #include "rclcpp/rclcpp.hpp" #include "wxx_msgs/srv/test.hpp" #define TestSe 阅读全文
posted @ 2019-01-21 17:12 奔跑的兔 阅读(2071) 评论(0) 推荐(0) 编辑
摘要: CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(wxx_msgs) if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 14) endif() if(CMAKE_COMPILER_I 阅读全文
posted @ 2019-01-21 17:02 奔跑的兔 阅读(1278) 评论(0) 推荐(0) 编辑