Spring Boot 2.X: Mail Service

Preface E-mail service is very common in the development, such as using e-mail to register an account, using e-mail as a way to retrieve password, using for subscription content regular e-mail push and so on. The following is a brief introduction of e-mail implementation. Get ready A mailbox for sending. This article uses Tencent's domain name ...

Posted by dcro2 on Thu, 31 Oct 2019 07:13:59 +0100

Using Python 3 to implement time processing and timing tasks

No matter which programming language, time is certainly a very important part. Today, let's see how Python handles time and python timing tasks. Note: This article talks about the implementation of Python 3, which is slightly different in Python 2. 1. Calculate the dates of tomorrow and yesterday #! /us ...

Posted by Weirdan on Thu, 31 Oct 2019 05:17:21 +0100

Positioning process of lock not released due to OOM (in combination with Arthas)

This paper is based on Spring Cloud Fincheley SR4, Arthas 3.1.4 Recently, it is found that the service returns slowly, and feign's fallback is triggered. Check the log and find that the retry is triggered. What triggered the retry is found through the exception stack: Caused by: feign.RetryableException: connect timed out executing GET http:/ ...

Posted by ArneR on Thu, 31 Oct 2019 01:54:50 +0100

flowable learning exclusive gateway

I. deployment Designer 1. Put flowable-idm.war and flowable-modeler.war into the webapps directory of tomcat, and then start Tomcat. 2. Access in browser http://localhost:8080/flowable-modeler , user name / password: admin/test login, save and export the file after designing the process. Two code 1 create a process engine and deploy a pro ...

Posted by Enlightened on Wed, 30 Oct 2019 07:56:27 +0100

ES6 analysis of learning records of lottery projects

14. iterator and for...of loop *Different data structures achieve the goal of reading different data structures through the unified form of for... *But the iterator interface behind it is different. iterator { //Circular array let arr = ["hello", "world"]; let map = arr[Symbol.iterator](); console.log(map.next()); //{v ...

Posted by luv2climb on Tue, 29 Oct 2019 19:06:22 +0100

Talk about the cache elimination algorithm LRU implementation principle

Preface We often use cache to improve data query speed. Due to the limited cache capacity, when the cache capacity reaches the upper limit, we need to delete some data and move out of space, so that new data can be added. Cache data cannot be deleted randomly. Generally, we need to delete cache data according to some algorithm. The commonly use ...

Posted by BinaryStar on Tue, 29 Oct 2019 03:15:24 +0100

Pygal for Python data analysis: plotting stacked histogram, stacked line chart, pie chart and point chart

2. Pygal draws stacked histogram, stacked line chart, point chart and pie chart 1) overlay The second group of data in the stack chart will be superimposed on the first group of data, and the accumulation effect of the two groups of data can be seen. The same can be seen for other groups of data. ...

Posted by dunhamcd on Mon, 28 Oct 2019 21:18:41 +0100

RabbitMQ explains five kinds of queues - SpiritMark

Last time I took you to see the basic concept of RabbitMQ. Today we will explain the five kinds of queues of RabbitMQ in detail, which is also a note. Later I forget it. You can review it. If you think my brother's article is helpful to you, pay attention to my little brother, and your support is my greatest encouragement. @[toc] 1. Simple qu ...

Posted by irwa82 on Mon, 28 Oct 2019 07:51:45 +0100

Array summary (open)

How to initialize an array package Arrays; import java.util.*; class Person{} public class ArrayOptions { public static void main(String[] args) { /** * object array */ Person[] p1;//Local variables without initialization are not allowed before initialization. //1, Person[] p2=new Pe ...

Posted by keeB on Sat, 26 Oct 2019 22:09:09 +0200

The way to Java -- Day12 (polymorphism)

2019-10-26-22:40:09 Catalog: 1. The concept of polymorphism 2. Classification of polymorphism 3. Three necessary conditions for polymorphism 4. Polymorphic format 5. Characteristics of polymorphic member variables 6. Characteristics of polymorphic member method 7. Benefits of polymorphism 8. Upward and downward transformation of polymo ...

Posted by RDKL PerFecT on Sat, 26 Oct 2019 20:20:33 +0200