自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

不务正业的野猴子

有时治愈 常常帮助 总是安慰

  • 博客(12)
  • 资源 (5)
  • 收藏
  • 关注

原创 jQuery学习笔记之append()

jQuery学习笔记之.append()官方文档将由参数指定的内容插入匹配元素集合中每个元素的尾部 这.append()方法插入指定内容作为jQuery集合中每个元素的最后一个子元素(为了插入这个内容作为第一个子元素,可以使用.prepend()).append()的参数类型 Html String、Dom Element、Text Node、jQuery Object、类型...

2018-05-23 23:47:25 627

原创 【算法】选择排序

选择排序

2018-05-19 19:53:10 113

原创 Activiti 工作流引擎 ~ 变量

先来看一条粗糙的流程(仅供学习使用) 流程图结构分析: 1. 流程启动 -> 流程结束 是一个完整的流程 2. 在 提交贷款申请和放款 两个任务节点之间存在两个分支流程 3. 整个流程中存在4个任务节点变量作用域在整个流程中,变量存在3个作用域 全流程可见、仅分支流程内可见、仅任务内可见全流程可见:即流程内部任何地方都可见 仅分支流程可见: 即分支流程内部任何地方...

2018-05-19 12:29:51 432

翻译 Spring Boot 利用@SpringBootApplication

18.利用@SpringBootApplication注解@SpringBootApplication注解等效于使用@EnableAutoConfiguration、@ComponentScan、@Configuration基于默认配置的效果

2018-05-18 06:58:10 127

原创 FreeMarker

FreeMarker 基础语法${name}获取变量name的值并输出该值 ${"The default value for name is python"}中使用""或'

2018-05-13 00:30:47 211

原创 Spring Boot 整合 FreeMarket

官方Demo spring-boot-sample-web-freemarker依赖的模块<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId&gt...

2018-05-11 23:05:48 357

翻译 Spring Boot Using the ApplicationRunner or CommandLineRunner

23.8 Using the ApplicationRunner or CommandLineRunner如果你需要在SpringApplication启动时执行一些指定的代码,你能实现ApplicationRunner或CommandLineRunner接口。这两个接口工作方式相似并提供一个run方法,这个方法在SpringApplication.run()完成之前被调用。Command...

2018-05-06 19:26:46 134

翻译 Spring Boot 配置类

15.Configuration ClassesSpring Boot偏爱基于java类的配置。虽然使用SpringApplication类加载XML资源也是可行的,但我们通常推荐你的主要配置来源于单个被@Configuration标记的类。通常定义main方法的类作为主配置类是一个好的选择。许多已经发布到网络上关于Spring配置的例子使用的是XML配置,如果可能的话,应总是尝试使用基于...

2018-05-06 12:29:28 982

原创 Spring Boot OutputCapture

OutputCapture是Spring Boot提供的一个测试类,其实现了org.junit.rules.TestRule接口。 它能捕获System.out和System.err的输出。使用时直接声明OutputCapture对象,并使用@Rule注解标注。在测试方法中使用该对象的toString()进行断言。import org.junit.Rule;import org.jun...

2018-05-06 00:48:22 907

原创 Spring Boot 加载XML配置

官方Demo: spring-boot-sample-xml修改pom.xml文件 <parent> <!-- Your own application should inherit from spring-boot-starter-parent --> <groupId>org.springframework....

2018-05-05 12:47:48 13313

原创 单元测试~JUnit4

JUnit 4maven 依赖管理<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version></dependency>JUnit 依

2018-05-03 20:14:59 155

原创 单元测试~JUnit4 参数化测试

参数化测试官方demoimport static org.junit.Assert.assertEquals;import java.util.Arrays;import java.util.Collection;import org.junit.Test;import org.junit.runner.RunWith;import org.junit.runners.Par...

2018-05-03 12:20:24 835

spring-security-oauth2-authorization-server.zip

本文以最简配置搭建一个授权服务,让大家初步了解授权服务及相关表。 token 存于数据库中 例子基于Spring Boot 2.1.7.RELEASE ,使用mysql数据库

2019-08-25

SpringBoot基于接口方式整合Mybatis

SpringBoot 基于接口方式整合 Mybatis,分页方式采用插件 PageHelper 附有表结构创建语句 分页查询 http://localhost:8080/street/page?pageNo=1&pageSize=10 明细查询 http://localhost:8080/street?streetId=1

2019-03-16

SpringCloud Eurake 注册中心简单demo

基于spring boot 2.0 搭建SpringCloud Eurake 注册中心demo

2018-10-06

fastdfs客户端单元测试

fastdfs客户端单元测试及Java客户端配置文件,项目中需要fastdfs-client依赖

2018-09-23

python替换文件内容

python替换文件内容

2017-03-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除