摘要: 1.sed命令替换文件中的多行内容 命令如下 sed -i ":label;N;s/old-str/new-str/;b label" xxxx.yaml sed -i ":label;N;s/ abc\n dsff\ndf/w\n f/;b label" xxxx.yaml 2.sed命令删除文件 阅读全文
posted @ 2022-12-23 14:52 wdgde 阅读(236) 评论(0) 推荐(0)
摘要: Natural Language Toolkit(NLTK),自然语言处理工具包 在使用ntlk时,报错如下 ********************************************************************** Resource punkt not found 阅读全文
posted @ 2022-10-25 10:56 wdgde 阅读(1578) 评论(0) 推荐(0)
摘要: 调用某个第三方服务时,返回的报文解析时报错 Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'fal 阅读全文
posted @ 2022-09-09 15:12 wdgde 阅读(6549) 评论(0) 推荐(0)
摘要: 1.github https://github.com/dabealu/zookeeper-exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY zoo 阅读全文
posted @ 2022-08-28 19:03 wdgde 阅读(240) 评论(0) 推荐(0)
摘要: 1.github https://github.com/apache/rocketmq-exporter 2.dockerfile FROM maven:3.8.6-openjdk-8-slim COPY rocketmq-exporter-master /apps/rocketmq-exporte 阅读全文
posted @ 2022-08-28 19:01 wdgde 阅读(178) 评论(0) 推荐(0)
摘要: 1.github https://github.com/oliver006/redis_exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY redis 阅读全文
posted @ 2022-08-28 18:56 wdgde 阅读(107) 评论(0) 推荐(0)
摘要: 1.github https://github.com/Telefonica/prometheus-kafka-adapter 2.dockerfile FROM golang:1.17.5-alpine3.15 ENV GO111MODULE=on \ GOPROXY="https://gopro 阅读全文
posted @ 2022-08-28 18:53 wdgde 阅读(477) 评论(0) 推荐(0)
摘要: 1.github https://github.com/prometheus-community/postgres_exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,dire 阅读全文
posted @ 2022-08-28 18:42 wdgde 阅读(60) 评论(0) 推荐(0)
摘要: 1.github https://github.com/prometheus/node_exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY node_ 阅读全文
posted @ 2022-08-28 18:41 wdgde 阅读(535) 评论(0) 推荐(0)
摘要: 1.github https://github.com/nginxinc/nginx-prometheus-exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" 阅读全文
posted @ 2022-08-28 18:39 wdgde 阅读(168) 评论(0) 推荐(0)