After using knife4j, I finally gave up swagger UI

introduce knife4j is an enhanced solution for generating Api documents for Java MVC framework integration Swagger, formerly Swagger bootstrap UI, named kni4j in the hope that it can be as small, light and powerful as a dagger! The predecessor of knife4j is swagger bootstrap Ui. In order to adapt to the development of microservice architecture ...

Posted by oliverw92 on Sun, 03 May 2020 12:35:14 -0700

Using JavaScript to get the parameters of url delivery

1. Get all parameters of url We can get this part directly through window.location.search, which is the url parameter we need. When the url does not contain?, window.location.search returns undefined. function getUrlVal(str){ if(!str || str.indexOf('?') != 0) return false; var urlValArry = str.replace('?','').split('&'); var ur ...

Posted by hyp0r on Sun, 03 May 2020 10:49:25 -0700

Manual foundation of Vue single page application

1. Vue file The. Vue file, known as single file component, is a file format customized by Vue.js. A. Vue file is a separate component, which encapsulates the component related code: html, css, JS The. vue file consists of three parts: template, style, and script <template> html </template> <style> css ...

Posted by slands10 on Sun, 03 May 2020 09:29:56 -0700

Multithreading and concurrent library application 7 - data sharing between threads 2

In the last two articles, we talked about the way of data sharing. This article focuses on one small topic to consolidate it Suppose there are four threads, two to add 1 to j and two to subtract 1 from J Two ways of thread data sharing 1. Encapsulate the shared data in another object, and then pass this object to eac ...

Posted by dookie on Sun, 03 May 2020 09:19:54 -0700

Vuejs uses Props to pass value instances

Ask questions In the process of development, we need to control the variables of subcomponents in another component. Then, using props of subcomponents to transfer values can solve this problem well; demand If we need to make the pop-up window into a common component, then in the parent component or another compone ...

Posted by hoodlumpr on Sun, 03 May 2020 08:16:54 -0700

React native encapsulates the native pull-down refresh component

One has been improved before react-native-pull The component solves the blank problem of refreshing the header on iOS, and changes listview to flatlist. github is as follows: react-native-pullview This is a pure js written Android & & iOS can be used. The performance is OK on iOS, but it can also be used when s ...

Posted by timmah22 on Sun, 03 May 2020 05:59:38 -0700

53 Three.js using the.pointcloud to bulk manage particles

brief introduction When we use a large number of particles, we will soon encounter performance problems, because each particle added is a model, because each particle object is managed by three.js, so three.js provides another way to deal with a large number of particles, that is to use the THREE.PointCloud. Through theree.pointcloud, three.j ...

Posted by JeditL on Sun, 03 May 2020 02:44:19 -0700

VIM+Vundle development environment

VIM+Vundle development environment Environment construction Upgrade apt get Command line execution apt-get -u dist-upgrade Install git Command line execution sudo apt-get install git Install vim Command line execution sudo apt-get install vim Install vundle Command line execution git clone https:/ ...

Posted by jmcc on Sun, 03 May 2020 02:27:23 -0700

Recycle view of android Development Notes

reference material 1.Android RecyclerView uses full resolution to experience artistic controls http://blog.csdn.net/lmj623565791/article/details/45059587 2.RecyclerViewItemAnimators https://github.com/gabrielemariotti/RecyclerViewItemAnimators Explain Recently, I was working on projects for other departments, and ...

Posted by Visualant on Sun, 03 May 2020 01:20:18 -0700

Java Implementation of AES ECP PKCS5Padding Encryption and Decryption Tool Class

Java implements an AES/ECB/PKCS5Padding encryption and decryption algorithm tool class Encryption algorithm: AES Mode: ECB Complement method: PKCS5Padding <!-- more --> 1. Tool Classes import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.springframework.util.Base64Utils; import javax.crypto.Cipher; i ...

Posted by sundawg on Sat, 02 May 2020 22:16:45 -0700