Logstash in more detail - filter module

The second component of the Logstash three components is also the most complex and painful component of the real Logstash tool, and of course, the most useful one. 1. The grok plug-in grok plug-in has a very powerful function, it can match all the data, but its performance and the depletion of resources are also criticized. filter{ grok{ ...

Added by mb81 on Sat, 08 Jun 2019 20:50:32 +0300

Four Component Learning Paths

Learning Records of Four Android Components I used to memorize the contents of the four components for interviews. In fact, in project development, except for activities, they are seldom used. Even if they are used, they are just a copy of Du Niang. Now suddenly realize that I do not understand very much, I feel that I can no longer under ...

Added by Virtuali on Sat, 08 Jun 2019 02:35:13 +0300

Huawei Bottom Virtual Navigation Bar Blocking Layout

Question: When implementing the ViewPager+Fragment interface, Huawei's mobile phones with Android 5.0 or more appear with the bottom virtual navigation bar blocking the layout. As shown in the following figure: After the problem has been solved: attempt When looking up solutions on the Internet, there are mainly two kinds: 1. Th ...

Added by trailerparkboy on Fri, 07 Jun 2019 03:22:45 +0300

python crawler - write the simplest web crawler

Knowledge is like rags, remember to "sew a seam" before you can show up magnificently. Recently, there has been a strong interest in python crawlers. Here we share our learning path and welcome your suggestions. We communicate with each other and make progress together. 1. Development tools The tool I use is sublime text3, which is s ...

Added by twostars on Thu, 06 Jun 2019 22:50:41 +0300

js Advanced Course Reading Notes Chapter 5 - Reference Types (5.6)

Internal attributes of functions There are two special objects in the function. arguments: It contains all the parameters, and the important thing is that it has an attribute called callee, which is used to point to a function that has this parameter. What are the benefits? Example: function fa(num){ if(num<=1){ return 1; }else ...

Added by usamaalam on Thu, 06 Jun 2019 21:17:00 +0300

Implementing a simple ButterKnife with annotations

Implementing a simple ButterKnife with annotations ✍ write by NamCooper I. Basic knowledge of annotations brief introduction In development, we often see @Override, @Deprecated, @SuppressWarnings, which are common annotations. These annotations are equivalent to tags, with which compilers, development tools, or other programs can opera ...

Added by rohithreddyk on Thu, 06 Jun 2019 21:07:13 +0300

Vue Template Content

Previous remarks If you only use Vue's most basic declarative rendering capabilities, you can use Vue as a template engine.This article details the Vue template content   Summary Vue.js uses HTML-based template syntax, which allows DOM to be declaratively bound to the data of the underlying Vue instance.All Vue.js templates are legitimate H ...

Added by radarhill on Thu, 06 Jun 2019 20:03:18 +0300

vue calculation properties

Computing attributes Expressions within templates are convenient, but they are actually only used for simple operations.Placing too much logic in a template can overweight and make it difficult to maintain.For example: <div id="example"> {{ message.split('').reverse().join('') }} </div> In this case, the template is no longer sim ...

Added by sugarat on Thu, 06 Jun 2019 19:06:20 +0300

Introduction to Wechat Small Program Basic Course

Dead work In order to develop the Wechat widget program, we need to do some preparatory work, first enter https://mp.weixin.qq.com/debu... Download Quick Development Source Pack Then enter https://mp.weixin.qq.com/debu... To download the Wechat Developer Tool, then decompress the source package and install the Wechat Developer Tool. After insta ...

Added by oaf357 on Wed, 05 Jun 2019 21:26:11 +0300

Create Objects - Prototype Patterns and Constructors

create object Factory Mode function createPerson(name, age, job){ var o = new Object(); o.name = name; o.age = age; o.job = job; o.sayName = function(){ alert(this.name); }; return o; } var person1 = createPerson("Nicholas", 29, "Software Engineer"); var person2 = createPerson("Greg", 27, "Doctor"); per ...

Added by spighita on Wed, 05 Jun 2019 19:06:43 +0300