search- elasticsearch scala terminal: elastic4s

The previous article said that elastic search itself is a complete background system, and its operation is carried out through terminal api. elasticsearch itself provides APIs for a variety of programming languages, including java's esjava. elastic4s is a scala api based on esjava. First, let's look at the construction process of ElasticClient ...

Posted on Sat, 21 Mar 2020 07:37:19 -0700 by maskme

Spring boot uses mybatis plus form to update null value

Background of problem Use mybatis plus for database interaction. The default setting is to enable null without updating. After adding data, edit the page to clear the field value (date type, int type, in order to avoid the default value passing in, all model s are initialized to null with the packing type). Null value cannot be updated to the d ...

Posted on Sat, 21 Mar 2020 07:12:50 -0700 by kevin99

mapstruct best practices

The original link address of this article: http://nullpointer.pw/mapstruct%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.html Preface According to the daily development habits, different JavaBean objects are used to transfer data for different domain layers to avoid mutual influence. Therefore, based on the database entity object User, objects such as Us ...

Posted on Sat, 21 Mar 2020 06:44:22 -0700 by BLottman

Python 3 reptile (14) verification code processing

 Infi-chu: http://www.cnblogs.com/Infi-chu/ 1, Graphic verification code identification1. Use tesserocr import tesserocr from PIL import Image # Store a picture of verification code locally for testingimage = Image.open('test.jpg')result = tesserocr.image_to_text(image)print(result) # Convert text directly to stringimport tesserocrprint(tesser ...

Posted on Fri, 20 Mar 2020 11:00:25 -0700 by madspoihur

Building enterprise level image warehouse

Building enterprise level image warehouse harbor is an open-source image warehouse of VMware company. harbor is an enterprise level extension of docker Registry, which has been widely used. These new enterprise level features include: management user interface, role-based access control, AD/LDAP inheritance and audit log functions, which are ...

Posted on Fri, 20 Mar 2020 07:38:10 -0700 by tlawless

Python Makes Weather Query Software

Insert a picture description here Previously, Public Number shared how to use PyQt5 to make guess games and timers. This time, let's continue to learn how to use PyQt5 to make weather query software.For source code and exe files, please reply in the Wechat Public Number Python Efficient Programming Background: Weather.PS Note: Many people ...

Posted on Thu, 19 Mar 2020 23:53:50 -0700 by zubinkasad

Angular6_Server Rendering SSR

Angular6_Server-side Rendering You need to install the latest version of Angular before using server-side rendering. npm install -g @angular/cli or cnpm install -g @angular/cli github project Create Project ng new PWCat --routing Add universal to the project ng g universal --client-project=PWCat or ng ...

Posted on Wed, 18 Mar 2020 09:44:55 -0700 by TheHeretic

Three level linkage of ionic3

Catalog Install ion multi picker Import app.module.ts Create provider Create page A pit More Design sketch 1. Install ion multi picker Terminal operation: npm install ion-multi-picker@2.1.0 --save 2. Import app.module.ts ... import {MultiPickerModule} from 'ion-multi-picker'; ... @NgModule({ ... imports: [ ... ...

Posted on Wed, 18 Mar 2020 08:21:48 -0700 by h.a.visser

Spring Cloud uses Zuui to filter and intercept

Preface Zuul can realize many advanced functions, such as current limiting, authentication and so on. To achieve these functions, we must be based on the core component "filter" provided to us by zuul. Let's take a look at zuul's filter. Filter type 1 pre It can be called before the request is routed. It is applicable to the scenario ...

Posted on Wed, 18 Mar 2020 07:11:00 -0700 by driver

CAS single sign on - multiple authentication methods

Today, we will talk about the multiple authentication methods of CAS. In the previous article, we explained the construction of CAS basic services and completed the simple deployment of CAS authentication service center. If you forget, you can review it first—— CAS single sign on (2) - building basic services. There are many ways ...

Posted on Wed, 18 Mar 2020 04:56:42 -0700 by rg_22uk