Easter79 Easter79
4年前
springboot+Swagger2构建API文档
Swagger2笔记配置很简单,如下所示:@Configuration@EnableSwagger2publicclassSwaggerConfig{@BeanpublicDocketcreateRestApi(){retur
Stella981 Stella981
4年前
Maven配置Spring Boot项目打包,依赖包到lib目录、配置文件到conf目录
<build<plugins<plugin<groupIdorg.apache.maven.plugins</groupId<artifactIdmavenjarplugin</artifactId<configuration
Stella981 Stella981
4年前
AndroidStudio 解决Android方法数超过65535的问题
1.引入依赖dependencies{compile'com.android.support:multidex:1.0.1'}2.启用配置defaultConfig{multiDexEnabledtrue}
Stella981 Stella981
4年前
Spring 源码(十二)Spring 中核心的后置处理器
BeanFactoryBeanFactoryPostProcessor:BeanFactory后置处理器ConfigurationClassPostProcessor:解析配置类的BeanFactory后置处理器BeanBeanPostProcessors:Bean
Stella981 Stella981
4年前
Spring Cloud系列教程(十):分布式配置中心Spring Cloud Config(Finchley版本)
一、前言在分布式、微服务系统架构中,一个大的项目在进行服务拆分之后,变成了众多个子服务,由于服务的数量居多,每个服务都有自己的一套配置文件,这时候就不像传统的单体架构SSM、SSH、以及当下比较流行的SpringBoot快速开发框架,一个项目基本一份配置文件就可以搞定。而在微服务项目架构中,为了方便众多个服务的配置文件统一进行集中管
Stella981 Stella981
4年前
Linux开发环境工具收集
zsh&ohmyzsh配置ohmyzsh之前要先安装Gitsudoaptgetinstallzshsudoaptgetinstallgitwgethttps://github.com/robbyrussell/ohmyzsh/raw/master/tools
Stella981 Stella981
4年前
Noark入门之网络封包日志输出
新项目开始时,有时候为了调试封包协议,则会一个字节一字节的核对有时候也会出现,服务器说你没发,客户端说我发了你没收到...公司有高手时,则会使用一个工具来抓包分析,比如WPE,Wireshark等等网络封包不同于Http抓包,上手还是有些难度的,所以我搞了一个配置直接开启封包日志输出配置文件中添加如下配置network.log.a
Stella981 Stella981
4年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Easter79 Easter79
4年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Stella981 Stella981
4年前
Git 鸡毛蒜皮
配置相关更改编辑器gitconfig–globalcore.editorvim添加全局ignorevi~/.gitconfigusernameXXXemailXXX@XX.XXcore