单链表 # 实现单链表 class Node(object): '''定义一个节点''' def __init__(self,data): # 因为每次都需要生成一个节点,写到类里面便于保存 self.data = data # 保存节点的值 self.next = None # 默认将节点的指向为 ...
分类:
其他好文 时间:
2020-07-26 00:06:05
阅读次数:
67
什么是Spring Cloud Eureka Eureka是Netflix公司开发的开源服务注册发现组件,服务发现可以说是微服务开发的核心功能了,微服务部署后一定要有服务注册和发现的能力,Eureka就是担任这个角色。如果你用过Dubbo的话,Dubbo里服务注册和发现就是通过Zookeeper框架 ...
分类:
编程语言 时间:
2020-07-26 00:01:33
阅读次数:
82
1.主库 [oracle@xag1124a ~]$ sqlplus / as sysdba SQL> select protection_mode,protection_level,log_mode,open_mode,flashback_on from v$database; PROTECTION ...
分类:
数据库 时间:
2020-07-25 23:57:18
阅读次数:
177
题记: 因业务需要,需将一些用户记录进行汇总并上传到指定平台。需要先将指定时间的所有用户记录进行汇总。涉及到了大数据量的数据导入导出。 使用 iINTO OUTFILE 和 LOAD DATA LOCAL INFILE 实现了改功能,记录一下 步骤: 1 将源数据导出(select * from t ...
分类:
数据库 时间:
2020-07-25 23:53:48
阅读次数:
72
一、前提条件:连接数据库 二、步骤 1、导包 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.3</ve ...
分类:
编程语言 时间:
2020-07-25 23:53:09
阅读次数:
76
问题分析 1、应用程序的入口 main方法 2、junit单元测试中,没有main方法也能执行 junit集成了一个main方法 该方法就会判断当前测试类中哪些方法有@Test注解 junit就让有Test注解的方法执行 3、junit不会管我们是否采用了spring框架 在执行测试方法时,juni ...
分类:
编程语言 时间:
2020-07-25 23:42:22
阅读次数:
73
自定义数据类型 1.数据类型辅助函数 MPI_Type_commit int MPI_Type_commit( MPI_Datatype *datatype ); 在通信中使用数据类型对象之前,必须提交数据类型对象。提交的数据类型仍可用作数据类型构造函数中的参数。无需提交基本数据类型。它们是"预先承 ...
分类:
其他好文 时间:
2020-07-25 23:41:45
阅读次数:
70
ES6中一共12个数据类型,分为两类,每类6个 基本数据类型 → 栈 (6个) string number boolean null undefined Symbol(es6) 引用数据类型 → 堆(6个) array object function data Set(es6) Map(es6) 1 ...
分类:
Web程序 时间:
2020-07-25 23:39:09
阅读次数:
90
<!DOCTYPE html> <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> <head> <th:block th:include="i ...
分类:
其他好文 时间:
2020-07-25 23:23:14
阅读次数:
72
<!DOCTYPE html> <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> <head> <th:block th:include="i ...
分类:
其他好文 时间:
2020-07-25 23:19:47
阅读次数:
91