docker builds elk environment

Official reference: https://www.elastic.co/guide/en/elastic-stack/current/installing-elastic-stack.html https://www.elastic.co/guide/index.html https://www.elastic.co/learn docker installation es docker pull docker.elastic.co/elasticsearch/elasticsearch:6.4.3 Development mode start docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single ...

Posted by paulareno on Mon, 09 Dec 2019 05:08:40 -0800

java uses Ant script to generate war package

  Preparation before using ant script (this part can be ignored by ant in eclipse) 1. Download an ant installation package. For example: apache-ant-1.8.4-bin.zip. Unzip to disk E. 2. Configure environment variables. Add ANT_HOME: E:\apache-ant-1.8.4; add PATH: E:\apache-ant-1.8.4\bin. 3. Check whether ant configuration is co ...

Posted by cairesdesigns on Mon, 09 Dec 2019 01:54:12 -0800

Summary of SpringMVC Parameter Binding Learning [Front and Back End Data Parameter Transfer]

Catalog 1. Binding mechanism 2. Supported data types 3. Parameter Request Chinese Scrambling Resolution 4. Custom Type Converter 5. Summary of Final Parameter Binding Learning As a Controller layer (action in equivalent servlet s and struts), SpringMVC specially handles some requests ...

Posted by Thethug on Sun, 08 Dec 2019 23:31:39 -0800

python crawler project actual combat, crawling user information, let you better filter

1. Import module import urllib.request from bs4 import BeautifulSoup 2. Add header file to prevent link rejection during crawling def qiuShi(url,page): ################### Simulate the behavior of high fidelity browser ############## # Set multiple header file parameters and simulate it as a high fidelity browser to crawl web pages heads ={ ...

Posted by as22607 on Sun, 08 Dec 2019 11:36:59 -0800

Access to UnionPay payment

Official documents can't be read. I access them based on video demo. The access is mobile control payment, and the address is as follows:https://open.unionpay.com/tjweb/acproduct/list?apiservId=450&tdsourcetag=s_pctim_aiomsg 1. Import UPPayAssistEx.jar and UPPayPluginExPro.jar into libs 2. Android manifest.xml configuration &lt ...

Posted by Craig_H on Sun, 08 Dec 2019 09:19:35 -0800

10. Spring boot simple and elegant integrated Swagger2

Preface What is swagger2, let me not say here, is a simple interface document for front-end and back-end debugging. Actually, I didn't think about using swagger before.Because I used YAPI before, but this is a separate tool.And it's open source, so it's easy for the whole team to work together.But if we're sitting on a personal project here, we ...

Posted by seran128 on Sun, 08 Dec 2019 06:05:54 -0800

Tips for using Apache commons IO

Commons IO is a utility library that helps develop IO functions. It mainly includes six aspects: Utility class - perform common tasks using static methods input - useful input stream and reader implementation output - useful output stream and writer implementation Filter Various implementations of file filter c ...

Posted by melsi on Sat, 07 Dec 2019 23:35:13 -0800

Custom View for Android Development

stay Custom View for Android Development (1) The most complex custom View is explained in, and the rest two are finished this time ~ ~ ~ go,go,go Inherit the original control and modify it based on the original control, such as TextView, which is common and simple. This is explained by implementing a TextView example that displays ...

Posted by dcampbell18 on Sat, 07 Dec 2019 22:59:19 -0800

How to improve the quality of PHP code

To be honest, PHP is under a lot of pressure in terms of code quality. By reading this series of articles, you'll learn how to improve the quality of your PHP code. There are many reasons for this, but it's certainly not just the lack of proper testing tools for the PHP ecosystem. In this article, I want to show you a simple setup for basic qu ...

Posted by Alex-B on Sat, 07 Dec 2019 22:17:16 -0800

How Mybatis works

Objectives of this paper: Using the pure Mybatis framework to obtain data; Clarify the working process of Mybatis. Create project and run First, create maven project, and the process will not be repeated. The dependence is as follows: <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifa ...

Posted by samsolomonraj on Sat, 07 Dec 2019 18:48:51 -0800