Writing gradle scripts using Kotlin

Writing gradle scripts using Kotlin summary IDE support Build importSyntax highlighting 1Semantic editor 2IntelliJ IDEA✓✓✓Android Studio✓✓✓Eclipse IDE✓✓✖CLion✓✓✖Apache NetBeans✓✓✖Visual Studio Code (LSP)✓✓✖Visual Studio✓✖✖ Kotlin syntax highlighting in Gradle Kotlin DSL scriptsGradle Kotlin DSL scripts supports code completion, navigatio ...

Added by npereira on Thu, 24 Feb 2022 17:17:49 +0200

How to publish Android library to Maven central warehouse

preface This article is used to record how to upload your library to maven central warehouse, First, we need to register the jira account of sonatype, and then apply to create our own repo. After the official review, we can have our own space;We use gradle's maven publish and signing plug-ins to simplify the operation of packaging and uploadi ...

Added by Caps on Thu, 24 Feb 2022 17:13:41 +0200

SpringBoot - use Assert validation to make business code more concise

Pre SpringBoot - elegant implementation of [parameter verification] advanced SpringBoot - elegant implementation of [custom parameter verification] advanced SpringBoot - elegant implementation of [parameter grouping verification] advanced With the Validator framework, what do you want to do with Assert In short, Validator only ...

Added by runner on Thu, 24 Feb 2022 17:11:24 +0200

SpringBoot+Dubbo+Zookeeper implements a simple distributed architecture

preface What is a distributed system? The emergence of distributed system is to complete the calculation that can not be completed by a single computer in a more cost-effective way and more ordinary machines. Four stages of architecture evolution Single application architecture Deploy all functions together to reduce deployment nodes and c ...

Added by Jak-S on Thu, 24 Feb 2022 17:03:34 +0200

An occasional MP4 recording problem solving process record

preface LG found an occasional recording problem that must be solved in order to go online. Here is a record of the problem-solving process. The phenomenon of the problem is that the recorded video can't be played occasionally, and some mobile phones can play that video, and some can't play it. It's very strange. Solution ideas Due to t ...

Added by le007 on Thu, 24 Feb 2022 17:03:09 +0200

Local shooting range 1 - file upload vulnerability - Network Security

1. Explanation of local file upload vulnerability examples This part of the example explanation takes the upload labs shooting range as an example, and consult the relevant documents about the download and operation of the shooting range. Upload labs version: Copyright @ 2018 ~ 2022 by c0ny1Unless otherwise specified, the BurpSuite tool i ...

Added by studot on Thu, 24 Feb 2022 17:00:06 +0200

Design mode_ 21 intermediary model

21 intermediary model 21.1 concept Define a mediation role to encapsulate the interaction between a series of objects, so that the coupling between the original objects is loose, and the interaction between them can be changed independently. Multiple classes are interrelated, showing a complex network structure and over coupling. The medi ...

Added by summoner on Thu, 24 Feb 2022 17:00:14 +0200

Go concurrency control, anti breakdown - singleflight

background In high concurrency scenarios, there are often concurrent accesses to the same resource. These concurrent request parameters are the same, and the response results are the same. If each request repeatedly queries the resource, it will undoubtedly bring unnecessary overhead to the system and increase the system pressure. In order t ...

Added by system_critical on Thu, 24 Feb 2022 16:51:56 +0200

[image recognition] realize facial dynamic features and facial expression recognition based on support vector machine algorithm svm, with matlab code

1 Introduction Facial expression recognition technology involves the research fields of emotion computing, image processing, machine vision, pattern recognition, biometric recognition and so on This paper introduces a facial expression recognition technology based on lpq feature and support vector machine (SVM) In this experiment, SVM (suppor ...

Added by RichterBelmont on Thu, 24 Feb 2022 16:50:43 +0200

java introduction notes 9

abstract class The method modified with abstract has no method body, only declaration. The definition is a specification, which is to provide concrete implementation for abstract methods 1. Classes with abstract methods can only be defined as abstract classes 2. Abstract classes cannot be instantiated, that is, they cannot be instantia ...

Added by jonathanellis on Thu, 24 Feb 2022 16:46:42 +0200