Elastic Search Learning Notes 11 Anayle API and IK Segmenter

Elastic Search Learning Notes 11 Anayle API and IK Segmenter Anayle API IK participle IK Segmenter Version Support install Download or compile Choose one Select two Restart Elastic Search IK word segmenter effect Anayle API The analysis API can be used to see how the analyzable full text is analyzed. In the message ...

Posted on Tue, 29 Jan 2019 14:54:15 -0800 by s.eardley

ijkplayer uses

Here's a brief introduction to the use of ijkplayer ijkplayer yes b Station based FFmpeg Open source player, ijkplayer Provided a IjkMediaPlayer,Function and usage MediaPlayer Similar, but much stronger Official website Github I. ijkplayer 1. Create a new Android project and add the following code to dependencies under ...

Posted on Tue, 29 Jan 2019 02:51:14 -0800 by gdhanasekar

[golang] serializes the structure method to JSON

When writing Restful API s, nested resources are often serialized, and sometimes serialized fields are customized. The traditional method is only to nest the structure, and then transform the structure into map, eliminating unnecessary fields, which is more cumbersome. and jsonfn This process is simplified by using the idea of object method. Se ...

Posted on Mon, 28 Jan 2019 17:03:14 -0800 by mfacer

Front-end Daily Actual Warfare: 159 # Video demonstrates how to use CSS and Vanilla.js to create an interactive animation showing Apple devices

Effect preview Press the "click preview" button on the right to preview the current page, and click the link to preview the whole screen. https://codepen.io/comehope/pen/gBKWdW Interactive Video This video is interactive, you can pause the video at any time, edit the code in the video. Please open it with chrome, safari, edge. Part 1 ...

Posted on Mon, 28 Jan 2019 13:09:15 -0800 by antoine

c/c++ linux epoll Series 1 to create epoll

linux epoll Series 1 creates epoll It is said that the weakness of select and poll is that as socket s increase, performance decreases dramatically. The performance of epoll will not decrease dramatically with the increase of socket. Knowledge points: 1. The epoll_wait function is blocked until a socket changes. 2. The process of epoll usage, ...

Posted on Mon, 28 Jan 2019 12:00:15 -0800 by senojeel

Use electron to realize Baidu's suspension window function!

Relevant dependency It uses vuex Vue vue-route storeJs StorJs are used to persist vuex state Exhibition Introduction Not using electron's built-in - webkit-app-region: drag because there are many problems with using itFor example, events can not be used right-click can not be used and can not use hand-type! install There were no screenshots at ...

Posted on Mon, 28 Jan 2019 08:45:14 -0800 by i

ExoPlayer Trample: IndexOutOfBoundsException

The project uses Google's open source ExoPlayer for voice playback, which is basically simple to use, but there are still some crash es online that have not been found in the tests. One of them is IndexOutOfBoundsException. com.google.android.exoplayer2.Timeline$1.getPeriod(Timeline.java:516) 2 com.google.android.exoplayer2.Time ...

Posted on Sun, 27 Jan 2019 21:06:14 -0800 by nthomthom

Android News Client Graduation Project

  First look at the implementation effect:   Retrofit 2 + Rxjava2 + MVP implementations for news capture: Retrofit 2 + Rxjava2 + MVP   (Download function is not finished yet)                                           Implementing native login and registration functions for personal users                           ...

Posted on Sun, 27 Jan 2019 19:18:14 -0800 by sx

Arthas Practice - Investigate Spring Boot Application NoSuchMethod Error

Preface Sometimes spring boot applications encounter problems with java.lang.NoSuchMethodError. Here's a specific demo to illustrate how to use it arthas Check it out. Demo: https://github.com/hengyunabc/spring-boot-inside/tree/master/demo-NoSuchMethodError catch holds exceptions in the main function of the application to ensure that the proces ...

Posted on Sun, 27 Jan 2019 14:12:14 -0800 by sheridan

DAC Test Net Records

20181022 DAC TestNet Records 1. DAC Documents https://github.com/linkdt-tech/DAC/blob/master/doc/createAsset.md 2. After installing according to the document, enter the dacd directory cd /opt/ cd dacd_testnet/ ** Run directly under the installation directory, eliminating cfg File assignment 3. Start dacd sudo ./dacd --conf="dacd.cfg" *** Kee ...

Posted on Sun, 27 Jan 2019 10:00:16 -0800 by ipruthi