elasticsearch Chinese word segmentation plug-in IK analyze

Elastic search version 7.3 Install Chinese word segmentation plug-in The corresponding version of plug-in should be the same as that of elastic search. Download address of plug-in versions https://github.com/medcl/elasticsearch-analysis-ik/releases Install using the elasticsearch native script ./bin/elasticsearch-plugin install https ...

Posted on Thu, 17 Oct 2019 02:05:15 -0400 by Ryaan

camera calibration

In opencv, a set of functions are provided for camera calibration. The returned values of calibration include: camera internal parameter matrix (FX FY XC YC YC), camera external parameter matrix (RT) and distortion matrix. The calibration procedure is as follows: 1. Prepare the chessboard, and the picture of chessboard can be printed by yours ...

Posted on Wed, 16 Oct 2019 18:42:24 -0400 by xterra

EurekaClient automatic assembly and startup process analysis

stay Last article In, we briefly introduced EurekaServer automatic assembly and startup process analysis. In this article, we will continue to study the relevant codes of EurekaClient. According to the old rules, first look at the spring.factories file, which introduces a configuration class EurekaDiscoveryClientConfigServiceBootstrapConfigur ...

Posted on Wed, 16 Oct 2019 16:31:18 -0400 by garg_vivek

The button driver written in pure C language separates the button logic from the button processing event~

button drive A key driver written by Jay himself supports single double click, continuous press and long press; callback is used to handle key events (custom buffeting time), which only takes three steps to create keys, link mapping between key events and callback processing functions, and periodic check of keys. Source address: https://github. ...

Posted on Wed, 16 Oct 2019 13:32:34 -0400 by kevin_newbie

Feign [file upload]

Don't say much, code... Project public dependency configuration: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> <relativePath/> </parent> <properties> ...

Posted on Wed, 16 Oct 2019 13:08:47 -0400 by dross613

C + + construction and parsing JSON

JSON is a lightweight data interaction format, easy for people to read and write, but also easy for machine analysis and generation, and effectively improve the efficiency of network transmission. It is often used in practical projects. Compared with xml, JSON has many advantages, such as asking duniang, a lot of advantages. Third party Library ...

Posted on Wed, 16 Oct 2019 10:41:39 -0400 by townclown

30 seconds of code - Array learning

Original address: https://github.com/30-seconds... permutations Generates an array of all permutations of array elements, including duplicates. For an array with length of 2, the result is returned directly; for an array with length less than 2, the original array is returned directly. For other length arrays, first use Array.prototype.reduce() ...

Posted on Wed, 16 Oct 2019 09:09:16 -0400 by nelsons

Fast advanced Vue3.0

The source code of Vue3.0 preview version was released on October 5, 2019, but it is expected to wait until the first quarter of 2020 at the earliest to release the official version of 3.0. You can see it directly github Source code. Major architecture improvements and new features planned and implemented in the new version of Vue 3.0: Compile ...

Posted on Wed, 16 Oct 2019 05:51:16 -0400 by iovidiu

Python develops exclusive wallpaper download and rotation program

I have always been partial to Buddhism for wallpaper, do not like to go to a pile of wallpaper. So we simply download wallpaper automatically in Python. The function of regular random rotation comes from entertainment and sharing it with you. Original link: https://www.codernice.top/articles/9f79c65e.html Get ready Download and install Python 3 ...

Posted on Wed, 16 Oct 2019 02:51:26 -0400 by mickey9801

Chapter 6: closures and modules in JS

By valentinogagliardiTranslator: front-end witSource: github Alibaba cloud has been doing activities recently, with a discount of 20%. If you are interested, please take a look at:https://promotion.aliyun.com/... In order to ensure readability, this paper adopts free translation instead of literal translation. Global variables are easy to cau ...

Posted on Tue, 15 Oct 2019 21:10:33 -0400 by ody