The way to simplify Java code

Preface There is a cloud in the old saying: Tao is the spirit of art, and art is the body of Tao; Tao is the rule of art, and art leads to Tao. Among them, "Tao" refers to "law, truth and theory", and "technique" refers to "method, skill and technology". It means that "Tao" is the soul of " ...

Posted on Fri, 08 May 2020 02:21:07 -0700 by Rai_de

Autojs 4.1.0 practical course -- the last surprise

Code and Apk are shared to you, each taking what you need, direct Apk on hook, direct source code of programming programmer: https://pan.baidu.com/s/1rXSVZAf2dVfYKiwoLFhSEg Extraction code: nbiw It's really not easy to write now. Articles are blocked by various platforms. The more dry cargo tiktok, the harder to survive, what is the operation ...

Posted on Thu, 07 May 2020 22:08:30 -0700 by Hodo

Simple implementation of making Tile Map by node mapnik

The node mapnik installation process is brief. We use geojson as the data source, and we can also use other data sources. In order to simply go to point.json { "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 113.44397, 23.094416 ] } },...] } tile.xml needed to write mapnik.map ...

Posted on Thu, 07 May 2020 10:18:39 -0700 by riespies

015. Class loading mechanism

1. Runtime data area The JVM is used to store loaded class information, constants, static variables, compiled code and other data. This is a logical partition in the virtual machine specification. The specific implementation is based on different virtual machines. For example, oracle's HotSpot is placed in the permanent generation in java7, ...

Posted on Wed, 06 May 2020 22:02:52 -0700 by reinaldo

Spring Cloud-Gateway Spring-Cloud-Gateway

brief introduction Spring Cloud Gateway is a new project of Spring Cloud, which is a gateway based on technologies such as Spring 5.0, Spring Boot 2.0 and Project Reactor. It is designed to provide a simple and effective unified API routing management method for the micro service architecture. As a gateway in the Spring Cloud ecosystem, Sprin ...

Posted on Wed, 06 May 2020 22:00:41 -0700 by joeami

CTF-Pwn-[BJDCTF 2nd] r2t3

CTF-Pwn-[BJDCTF 2nd] r2t3 Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! This article is only for learning and communication, not for illegal use! CTP platfo ...

Posted on Wed, 06 May 2020 08:15:48 -0700 by poknam

Using idea and maven to configure the compiled version of jdk

Confusion of jdk compiled version Due to the pursuit of version stability and legacy of old projects, we often have to switch the compiled version of JDK at any time, which is a stranger to the latest jdk11. We have been criticized for forgetting to use the idea switch of different versions of JDK for a long time Several ways to configure jdk w ...

Posted on Wed, 06 May 2020 07:49:02 -0700 by banjax

Solving shared variables when ThreadLocal threads are concurrent

1, ThreadLocal: "water can carry a boat and also cover it" is the most appropriate way to describe it. 1.1 his original intention is to solve the problem of variable sharing when threads are concurrent. However, due to over design, such as weak reference and hash collision, it is difficult to understand and expensive to use. Instead, ...

Posted on Wed, 06 May 2020 07:14:28 -0700 by genericnumber1

Principles of reflection and reflection in Spring, detailed case explanation

  stay Making wheels: to realize a simple Spring IoC container Spring uses reflection when creating Bean instances and dependency injection, which is mentioned in the article. In this article, we will analyze the reflection and the principle of reflection in spring. 1, Reflection in Spring 1.1. Reflection when creating a Bean instance //Throug ...

Posted on Wed, 06 May 2020 03:45:01 -0700 by pernest

Alink ramble: different realization of KMeans algorithm and alink design idea

Talk about Alink (1): look at Alink design ideas from the different implementation of KMeans algorithm Catalog Talk about Alink (1): look at Alink design ideas from the different implementation of KMeans algorithm 0x00 summary 0x01 what is Flink 0x02 what is alink 0x03 Alink design idea 1. Starting f ...

Posted on Wed, 06 May 2020 01:33:44 -0700 by geo115fr