Easter79 Easter79
3年前
springboot+Swagger2构建API文档
Swagger2笔记配置很简单,如下所示:@Configuration@EnableSwagger2publicclassSwaggerConfig{@BeanpublicDocketcreateRestApi(){retur
Wesley13 Wesley13
3年前
mysql时间日期总结
下面对mysql时间和日期处理做下总结1.获取当前日期时间函数nowpythontime.strftime("%Y%y%d%H:%M:%S")selectnow();|2013112309:58:01|2.获取当前日期函数cur
Stella981 Stella981
3年前
AndroidStudio 解决Android方法数超过65535的问题
1.引入依赖dependencies{compile'com.android.support:multidex:1.0.1'}2.启用配置defaultConfig{multiDexEnabledtrue}
Stella981 Stella981
3年前
Spring 源码(十二)Spring 中核心的后置处理器
BeanFactoryBeanFactoryPostProcessor:BeanFactory后置处理器ConfigurationClassPostProcessor:解析配置类的BeanFactory后置处理器BeanBeanPostProcessors:Bean
Stella981 Stella981
3年前
Spring Cloud系列教程(十):分布式配置中心Spring Cloud Config(Finchley版本)
一、前言在分布式、微服务系统架构中,一个大的项目在进行服务拆分之后,变成了众多个子服务,由于服务的数量居多,每个服务都有自己的一套配置文件,这时候就不像传统的单体架构SSM、SSH、以及当下比较流行的SpringBoot快速开发框架,一个项目基本一份配置文件就可以搞定。而在微服务项目架构中,为了方便众多个服务的配置文件统一进行集中管
Stella981 Stella981
3年前
Linux开发环境工具收集
zsh&ohmyzsh配置ohmyzsh之前要先安装Gitsudoaptgetinstallzshsudoaptgetinstallgitwgethttps://github.com/robbyrussell/ohmyzsh/raw/master/tools
Stella981 Stella981
3年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Easter79 Easter79
3年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Stella981 Stella981
3年前
Git 鸡毛蒜皮
配置相关更改编辑器gitconfig–globalcore.editorvim添加全局ignorevi~/.gitconfigusernameXXXemailXXX@XX.XXcore
Wesley13 Wesley13
3年前
MySQL客户端连接时 MySql Host is blocked because of many.
错误:Hostisblockedbecauseofmanyconnectionerrors;unblockwith'mysqladminflushhosts'原因:  同一个ip在短时间内产生太多(超过mysql数据库max\_connection\_errors的最大值)中断的数据库连接而导致