Spring Boot Global Profile

2.1.5 Global Profile The global profile can modify some default configuration values.Spring Boot uses oneApplication.propertiesorApplication.yml/applicationThe.Yaml file acts as a global configuration file and is placed in the [src/main/resources] directory or in the [config] of the class path. Typically placed in the resources directory. We c ...

Posted on Mon, 15 Jun 2020 18:19:02 -0400 by MtPHP2

Sword finger off

1, Linked list2, Queues3, Stack 1, Linked list JZ3 printing chain list from end to end The k last node in JZ14 list JZ15 reverse list JZ16 merges two sorted linked lists Copy of JZ25 complex linked list JZ26 binary search tree and double linked list The first common node of two linked lists of JZ ...

Posted on Mon, 15 Jun 2020 01:43:43 -0400 by Dave Liebman

State change of PV and PVC in K8s

We should be familiar with several states of PV and PVC, but there may be some questions in the use process, such as why PVC has become Lost state, how the newly created PVC can bind the previous PV, and can I restore the previous PV? Here we will explain several state changes in PV and PVC again. In d ...

Posted on Mon, 15 Jun 2020 00:34:40 -0400 by waseembari1985

Use of Routes in vue

Introducing Routing Routing: Is the rule that corresponds to the hash value (# hash) in the browser URL and the display view content Simply put, a route is a set of mapping rules (one-to-one correspondence rules) that are formulated by the developer. - When the hash value (# hash) in the URL changes, the route displays the corresponding vi ...

Posted on Sun, 14 Jun 2020 13:24:40 -0400 by DamianTV

G6 preliminary learning experience and case application

After a period of study, I have a preliminary understanding of G6. Next, I will summarize the harvest through a specific application example. Brief introduction This practice aims to build a simple map of "spring epidemic" through G6. Through the map, users can quickly know the symptoms of v ...

Posted on Sun, 14 Jun 2020 03:48:19 -0400 by [n00b]

From springboot to proficient in springboot file download

springboot file download catalog 1 IntroductionInitial experience of 2springboot3springboot integrated jsp4springboot attribute injection5 springboot integration with mybatis6springboot integrated lombok7springboot integrated logback log8springboot enable global hot deployment9springboot aspect orie ...

Posted on Sun, 14 Jun 2020 01:32:09 -0400 by ADLE

003.Spring Cloud Feign using ApplicationListener

1. Scenario premise Suppose there is a scenario: in a Spring Cloud Feign( Greenwich.SR6 )In the application, you want to listen to some events after the Spring container is started. For example, you need to do an initialization operation after receiving the ContextRefreshedEvent event. Generally, it i ...

Posted on Sun, 14 Jun 2020 00:51:16 -0400 by Arya

Vue toy: 200 lines of code to simulate the implementation of Vue

vue-toy About 200 lines of code simulate the implementation of vue. The view rendering part uses React instead of Snabbdom. Welcome to Star.Project address: https://github.com/bplok20010/vue-toy codesandbox example Implemented parameters: interface Options { el: HTMLElement | string; propsData?: Record<string, any>; props?: st ...

Posted on Sun, 14 Jun 2020 00:12:38 -0400 by paul_so40

Getting started with kubernetes to the real-world Stateless controller

1. Learn more about controllers 1.1 Controller Overview Pod is the basis of all running applications or deploying services in kubernetes. It can be seen as a robot running in k8s. Applications running alone in Pod do not have advanced features, such as Pod cannot migrate automatically when a node fails, Pod multi-replica extends horizontally, ...

Posted on Sat, 13 Jun 2020 15:12:42 -0400 by hannnndy

Getting started with Babel

Babel downloads JavaScript code written in the latest standards into versions that are available everywhere today.This process is called translation. For example, Babel can incorporate the new ES2015 arrow function syntax: const square = n => n * n; Translate to: const square = function square(n) { return n * n; }; Babel does more than tha ...

Posted on Sat, 13 Jun 2020 12:16:08 -0400 by rtconner