Spring Boot uses Maven to customize a parent to simplify development

1/Scene There are many small applications and some common features, such as relying on spring-boot, log4j2, lombok, fastjson, etc. For ease of development, you can use Maven to customize a parent to simplify development and unify the management of third-party dependent versions.(Prepare for future microservices!) 2/Build parent 2.1. Create a ne ...

Posted on Sun, 10 May 2020 00:16:32 -0700 by corporateboy

Simple implementation of making Tile Map by node mapnik

The node mapnik installation process is brief. We use geojson as the data source, and we can also use other data sources. In order to simply go to point.json { "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 113.44397, 23.094416 ] } },...] } tile.xml needed to write mapnik.map ...

Posted on Thu, 07 May 2020 10:18:39 -0700 by riespies

Spring Cloud-Gateway Spring-Cloud-Gateway

brief introduction Spring Cloud Gateway is a new project of Spring Cloud, which is a gateway based on technologies such as Spring 5.0, Spring Boot 2.0 and Project Reactor. It is designed to provide a simple and effective unified API routing management method for the micro service architecture. As a gateway in the Spring Cloud ecosystem, Sprin ...

Posted on Wed, 06 May 2020 22:00:41 -0700 by joeami

spring Source Read Notes 10: bean Life Cycle

The previous articles focused on analyzing SpringThe principle of the IOC Container section, the core logic of which is related to the creation and management of beans. For the management of single beans, from creation to caching to destruction, there is a complete life cycle, and Spring also provides multiple interfaces for users to extend the ...

Posted on Wed, 06 May 2020 18:04:27 -0700 by justgrafx

Android uses Zxing to scan QR code and jump to details page

It's just like the picture above Because it's integrated by the third party, so||| The old pattern first injected dependency: //ABCD QR code compile 'cn.yipianfengye.android:zxing-library:2.1' Add the permission to open the camera in the Manifest registration list: <uses-permission android:name="android.permission.CAMERA" /& ...

Posted on Wed, 06 May 2020 08:54:39 -0700 by Thauwa

android camera acquisition and preview - the second method

android camera acquisition and preview - the second method android camera acquisition and preview - several methods http://blog.csdn.net/f562230829/article/details/78905530 The first method http://blog.csdn.net/f562230829/article/details/78905652 demo address git clone git@gitee.com:audiocn/androidCamera.git htt ...

Posted on Tue, 05 May 2020 15:25:00 -0700 by yanjchan

New understanding of Spring IOC

Analysis of spring IOC Re IOC and DI IOC(Inversion of Control) inversion of control: the so-called inversion of control is to reverse the code that we need to create and depend on the objects in our code to the container for help. Therefore, we need to create a container and a description to let the container know the relationship between the ...

Posted on Tue, 05 May 2020 14:07:49 -0700 by shadow1200

Implementation of a simple countdown control

I haven't written a blog for a long time. I wanted to be my own knowledge base, but sometimes I can't keep it up. If I have time to update it again today, I will write a simple countdown implementation. In fact, there is no difficulty. Handler+Timer can achieve it. The principle is: start a timer, use handler to send a ...

Posted on Tue, 05 May 2020 08:27:26 -0700 by progman

Android: reading files under assets directory (2)

In the last blog, I introduced how to read the txt file in the assets directory. Here, I show you how to read an xml file. The contents of the xml file are as follows: <?xml version="1.0" encoding="UTF-8"?> <books> <book id="001"> <title>Harry Potter</title> <price>¥35.00</price&gt ...

Posted on Tue, 05 May 2020 03:07:07 -0700 by Hobgoblin11

Face recognition based on self-made training set

Face recognition based on self-made training set Explain 1, Main steps 2, All codes 3, Results Explain This article references from https://www.cnblogs.com/fpzs/p/10550450.html. As before, due to the different versions of Opencv, you need to add the header file "include < Opencv2 / imgproc / types" and m ...

Posted on Tue, 05 May 2020 01:50:07 -0700 by funsutton