Loading

摘要: 1. SpringBoot 整合 Gson Jackson is the preferred and default library. Jackson Auto-configuration for Jackson is provided and Jackson is part of spring-b 阅读全文
posted @ 2021-05-10 18:07 LB477 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 引入 Swagger3 依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency> 配置 阅读全文
posted @ 2021-05-10 18:00 LB477 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch:一个开源分布式搜索引擎。分布式,零配置,自动发现,索引自动分片,索引副本机制,restful风格接口,多数据源,自动搜索负载。 Logstash:一个开源工具,对日志进行收集、过滤,并将其存储供以后使用。 Kibana:一个开源和免费的工具,它可以为 Logstash 和 阅读全文
posted @ 2021-04-28 20:14 LB477 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/fengyc/p/12392977.html 1. Ubuntu 安装 K8s # Docker curl -fsSL https://get.docker.com | sudo sh # 使用 aliyun 的 k8s 源安装 kubeadm 阅读全文
posted @ 2021-04-28 14:37 LB477 阅读(720) 评论(1) 推荐(0) 编辑
摘要: NFS(Network File System):通过网络让不同的机器/操作系统共享文件,一般用来共享静态数据 环境 # 关闭防火墙 systemctl stop firewalld && systemctl disable firewalld # 关闭 selinux setenforce 0 & 阅读全文
posted @ 2021-04-28 14:16 LB477 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Thanks to the Python data model, your user-defined types can behave as naturally as the built-in types. And this can be accomplished without inheritan 阅读全文
posted @ 2019-05-29 19:34 LB477 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1. Variables Are Not Boxes 2. Identity, Equality, and Aliases 3. Copies Are Shallow by Default [Notes]: You can control the behavior of both copy and 阅读全文
posted @ 2019-05-27 10:57 LB477 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1. Generic Mapping Types The collections.abc module provides the Mapping and MutableMapping ABCs to formalize the interfaces of dict and similar types 阅读全文
posted @ 2019-05-26 09:14 LB477 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1. Overview of Built-In Sequences Container sequences: list, tuple, and collections.deque can hold items of different types. Flat sequences: str, byte 阅读全文
posted @ 2019-05-23 10:22 LB477 阅读(255) 评论(0) 推荐(0) 编辑
摘要: A decorator is a callable that takes another function as argument (the decorated function). The decorator may perform some processing with the decorat 阅读全文
posted @ 2019-05-22 16:43 LB477 阅读(160) 评论(0) 推荐(0) 编辑