How do I change Swagger's skin?
We talked about integrating Swagger 2 components in Spring Boot, so today we'll talk about how to change Swagger's skin? Environment building: Spring Boot relies on Swagger Spring Boot starter for rapid building. For specific Swagger Spring Boot starter, please refer to: https://github.com/SpringForA... . The build tool is Maven, the developme ...
Added by cybercookie72 on Tue, 03 Dec 2019 16:54:38 +0200
Wechat applet left slide delete operation (similar to wechat, QQ)
This function was done in the project of the last small program, but it was not recorded at that time. Today, I specially made a small demo and put it on github. Next time I meet it in the development, I can directly take it down for code reuse. The effect is very simple, similar to the effect of deleting chat bar with wechat buckl ...
Added by ptraffick on Tue, 03 Dec 2019 14:07:33 +0200
Learn factory mode from BWM production
Factory mode is widely used, and can be seen everywhere in JDK low-level source code and major mainstream frameworks. Classes usually named after Factory, such as SqlSessionFactory in Mybatis and BeanFactory in Spring, are typical examples of factory mode.
1. Simple Factory Mode
1.1 Concepts
Simple factory mode, also known as static factory mod ...
Added by adnan1983 on Tue, 03 Dec 2019 08:12:18 +0200
docker info command request process of docker v18.09.4-rc1 series source code interpretation
Previous process diagram
It's only for you to sort out and understand the latest code process. Some details will not be dug in1. Enter the client to receive the code block, and the runInfo method returns the contentgithub.com/docker/cli/cli/command/system/info.go
// NewInfoCommand creates a new cobra.Command for `docker info`
func NewInfoComm ...
Added by plazz2000 on Sun, 01 Dec 2019 08:53:02 +0200
spring cloud feign file upload and file download
File upload reference: http://blog.didispace.com/spring-cloud-starter-dalston-2-4/
File download reference: https://blog.csdn.net/aaronsimon/article/details/82710979
My spring boot and spring cloud versions are:
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artif ...
Added by zilem on Sun, 01 Dec 2019 05:50:26 +0200
PHP digital amount to capitalized amount
An amount conversion function used in CRM in the early years. Today, take it out of the old project and record it. There are many functional methods for amount conversion, which are very good. But this is a conversion function that Cui wrote when he was working. It's more or less memorable. If you have any questions, please point out that Cui w ...
Added by stressedsue on Sun, 01 Dec 2019 02:28:31 +0200
Java Serial 54-Two Singleton Modes, Interface Details
1. The singleton pattern is divided into two types:
(1) Hungry Han singleton: an object is created during the class loading stage.
(2) Lazy singleton: objects are created only when they are used.(Example in serials 53 is lazy)
Hungry Han Style Example:
package com.bjpowernode.java_learning;
public class D54_1_HungtySingtonMode {
publ ...
Added by ExpendableDecoy on Thu, 28 Nov 2019 18:44:09 +0200
The UI router of Angular routing
The UI router of Angular routing
Explain
Official website
hello world
Complete code
Online testing
supplement
Design sketch
Explain
In the previous article, we introduced the use of the native routing of angular, but in fact, we have used very little, which is basically replaced by the third-party UI router. The differe ...
Added by arun_php on Thu, 28 Nov 2019 18:04:45 +0200
Ten minutes to get started status management tool Mobx
What is Mobx
A simple and expandable state management tool
install
npm install mobx --save
Core concept
State
State is the data that drives the application, and the change of state will affect the view.
import {observable, autorun} from 'mobx';
var todoStore = observable({
/* Some observed states */
todos: []
});
Derivations (derivativ ...
Added by cityguru on Thu, 28 Nov 2019 13:11:01 +0200
Spring Security dynamic permission management (based on Spring Boot 2.x front and back separation)
Publicity website http://xb.exrick.cn
Online Demo http://xboot.exrick.cn
Open source Github address https://github.com/Exrick/x-boot
Developing documents https://www.kancloud.cn/exrick/xboot/1009234
Get the full version http://xpay.exrick.cn/pay?xboot
Spring Security core configuration portal
@Configuration
@EnableGlob ...
Added by runsum on Tue, 26 Nov 2019 20:47:50 +0200