influxDB-查询操作 1 # 综合使用 2 书写顺序 3 select distinct * from '表名' where '限制条件' group by '分组依据' having '过滤条件' order by limit '展示条数' 4 执行顺序 5 from -- 查询 6 whe ...
分类:
数据库 时间:
2020-12-16 12:46:47
阅读次数:
6
import time from selenium.webdriver import Chrome from selenium.webdriver.chrome.options import Options chrome_options = Options() chrome_options.add_ ...
分类:
其他好文 时间:
2020-12-16 12:39:03
阅读次数:
7
from docx.shared import Pt,RGBColor from docx.oxml.ns import qn #word中字体的颜色、大小、字体def style(tt,tsize,color,rfont): for ii in tt: for run1 in ii.runs: f ...
分类:
其他好文 时间:
2020-12-16 12:37:51
阅读次数:
2
新建文件docker-compose.yml vi docker-compose.yml 输入以下内容 version: '3.1' services: minio: image: minio/minio container_name: minio restart: always ports: - ...
分类:
其他好文 时间:
2020-12-16 12:31:38
阅读次数:
2
PostgreSQLとOracleのsql差异 1.rownum (1)Oracle分页查询使用rownum,PostgreSQL使用limit offset OraclePostgreSQL select * from (select rownum r,e.* from emp e where r ...
分类:
数据库 时间:
2020-12-16 12:30:29
阅读次数:
6
前言之前写过一篇《从源码分析如何优雅的使用Kafka生产者》,有生产者自然也就有消费者。建议对Kakfa还比较陌生的朋友可以先看看。就我的使用经验来说,大部分情况都是处于数据下游的消费者角色。也用Kafka消费过日均过亿的消息(不得不佩服Kakfa的设计),本文将借助我使用Kakfa消费数据的经验来聊聊如何高效的消费数据。单线程消费以之前生产者中的代码为例,事先准备好了一个Topic:data-p
分类:
其他好文 时间:
2020-12-16 12:08:05
阅读次数:
2
[1]. Benchmark for Skill Learning from Demonstration: Impact of User Experience, Task Complexity, and Start Configuration on Performance 作者:M. Asif Ra ...
分类:
其他好文 时间:
2020-12-16 11:54:59
阅读次数:
2
基于tensorflow的手写数字识别代码 from keras.utils import to_categorical from keras import models, layers, regularizers from keras.optimizers import RMSprop from ...
分类:
其他好文 时间:
2020-12-16 11:52:08
阅读次数:
4
复制\修改主从节点的配置: 刚安装好之后bin目录下没有redis.conf文件,从安装文件的src目录中复制到安装目录 sudo cp redis-4.0.9/redis.conf redis/bin/ 这里就使用redis.conf作为主节点的配置,复制一份作为从节点的配置文件: cp redi ...
分类:
其他好文 时间:
2020-12-16 11:47:40
阅读次数:
2
Logging to syslog from Your Script Problem You’d like your script to be able to log to syslog. Solution Use logger, Netcat, or bash’s built-in network ...
分类:
其他好文 时间:
2020-12-15 12:59:05
阅读次数:
9