Monthly Archives: September 2018

kafka_exporter

https://github.com/danielqsj/kafka_exporter Kafka exporter for Prometheus. For other metrics from Kafka, have a look at the JMX exporter. Table of Contents Compatibility Dependency Download Compile Build Binary Build Docker Image Run Run... Read More | Share it now!

python logging模块使用教程

简单使用 #!/usr/local/bin/python # -*- coding:utf-8 -*- import logging logging.debug('debug message') logging.info('info message') logging.warn('warn message') logging.error('error message') logging.critical('critical message')... Read More | Share it now!

What exactly does the T and Z mean in timestamp?

https://stackoverflow.com/questions/29281935/what-exactly-does-the-t-and-z-mean-in-timestamp I have this timestamp value being return by a web service "2014-09-12T19:34:29Z" I know that it means timezone, but what exactly does it mean? And I am trying... Read More | Share it now!

彻头彻尾理解 HashMap

版权声明: 本文原创作者:书呆子Rico 作者博客地址:http://blog.csdn.net/justloveyou_/ 一. HashMap 概述 Map 是 Key-Value 对映射的抽象接口,该映射不包括重复的键,即一个键对应一个值。HashMap 是 Java... Read More | Share it now!

RabbitMQ队列使用 Python

关于python的queue介绍 关于python的队列,内置的有两种,一种是线程queue,另一种是进程queue,但是这两种queue都是只能在同一个进程下的线程间或者父进程与子进程之间进行队列通讯,并不能进行程序与程序之间的信息交换,这时候我们就需要一个中间件,来实现程序之间的通讯。 RabbitMQ MQ并不是python内置的模块,而是一个需要你额外安装(ubunto可直接apt-get其余请自行百度。)的程序,安装完毕后可通过python中内置的pika模块来调用MQ发送或接收队列请求。接下来我们就看几种python调用MQ的模式(作者自定义中文形象的模式名称)与方法。  RabbitMQ设置远程链接账号密码 启动rabbitmq... Read More | Share it now!

EOS佳能单反快门数查询eosinfo

eosmsg收费了,破解不了。换eosinfo查询吧 http://download.huangshiyang.com/eosinfo.zip   ... Read More | Share it now!

request-python

迫不及待了吗?本页内容为如何入门 Requests 提供了很好的指引。其假设你已经安装了... Read More | Share it now!

APScheduler-Python定时任务

1 简介 APScheduler的全称是Advanced Python Scheduler。它是一个轻量级的 Python 定时任务调度框架。APScheduler 支持三种调度任务:固定时间间隔,固定时间点(日期),Linux 下的 Crontab... Read More | Share it now!