JSDoc, an alternative to TypeScript?

Many developers prefer using TypeScript because of its type checking capabilities. However, this requires an additional translation step, which can cause trouble and waste time. This article will show you how to use JSDoc to get the same type of control, while using pure JavaScript for the fastest development times and better documentation! JavaScript has […]

Detailed explanation of java HashMap source code

Article directory Detailed explanation of java HashMap source code HashMap source code 1 put method process 2 expansion 3 get method Detailed explanation of java HashMap source code Java HashMap is an implementation of the Map interface based on a hash table, which can store a data structure of key-value pairs. The characteristics of HashMap […]

SpringBoot integrates Ldap–super detailed method explanation

LADP Overview LDAP (Lightweight Directory Access Protocol) is a protocol for accessing and maintaining distributed directory information services. Directory service is a service for storing and retrieving information. It is usually used to store user information, organizational structure, network equipment and other data within an organization. LDAP is a lightweight protocol designed for lookup and […]

Echart polar coordinates, azimuth and distance diagram, icon symbol rotation and size, color gradient

Background: Participating in an interactive chart project, the customer had a need for polar coordinate comparison to display different types of indicator data in different directions and distances. Specifically, the attribute fields are: Source, distance, orientation, ID, rotation angle, size Let’s look at the renderings first: Technical points: Legend description: The distance is the radial […]

android ANativeWindow rotation rendering angle

android ANativeWindow rotation rendering angle MediaCodec rotation angle reference videoExtractor opens an angled video file mediaFormat.getInteger(MediaFormat.KEY_ROTATION); gets the angle MediaFormat mediaFormat = videoExtractor.getTrackFormat(j); String mime = mediaFormat.getString(MediaFormat.KEY_MIME); if (mime.startsWith(KEY_VIDEO)) {//Match the track corresponding to the video videoExtractor.selectTrack(j);//Select the track corresponding to the video long duration = mediaFormat.getLong(MediaFormat.KEY_DURATION); int width = mediaFormat.getInteger(MediaFormat.KEY_WIDTH); int height = mediaFormat.getInteger(MediaFormat.KEY_HEIGHT); […]

HttpClient-forward proxy and signature verification

Article directory Introduction practice HttpClientBuilder Customized chain of responsibility test Introduction HttpClientBuilder is an http client construction class of Apache. By inheriting the construction class, signature verification can be added, so that signature verification can be carried when sending requests uniformly. Customized MyHttpClientBuilder adds a new link to the chain of responsibility Practice HttpClientBuilder HttpClientBuilder […]

Instances of all methods in the list type (except sort) and explanations (called through help (list))

1. Overview After using help (list) and running it, you can see the following methods: append, clear, copy, count, extend, index, insert, pop, remove, reverse, a total of ten methods. Next, I will give examples one by one. explain. 2. Examples and explanations 1.append: Append object to the end of the list. (Append object to […]

Sonatype Nexus deployment docker installation nexus3

Nexus is a powerful Maven warehouse manager that greatly simplifies the maintenance of your own internal warehouse and access to external warehouses. 1. Check available Nexus3 versions You can check other versions of nexus3 through Sort by. The default is the latest version sonatype/nexus3:latest. https://hub.docker.com/r/sonatype/nexus3/tags?page=1 &name=3.30.1 Because the version used by the company is nexus3:3.30.1, […]

Installation and configuration explanation of Log4j and Log4j2

What is a log? A log is a file that records detailed information about events or behaviors that occur when a system or application is running. It usually includes information such as timestamp, event type, event description, etc., so that troubleshooting, performance optimization, security auditing, etc. can be performed when needed. Logs can help developers […]