How to use JS to realize a screen recording function

Code words are not easy, and helpful classmates hope to be able to pay attention to my WeChat official account: Code program life, thank you! Code self use and self access. Take you to realize a screen recording function with JavaScript. OBS studio is easy to use, but JavaScript is also easy to use. Now, we use JavaScript to realize our ...

Added by herbally on Fri, 26 Nov 2021 18:13:51 +0200

ArrayList source code analysis

Array copy ArrayList underlying copy array method: System.arraycopy(Object src, int srcPos, Object dest, int destPos, int length) Copies the array in the specified source array from the specified location to the specified location of the target array add method JDK 1.8 and later, in   When new ArrayList < > (), no space is all ...

Added by rcoursey on Wed, 24 Nov 2021 14:53:57 +0200

Analysis of the whole process of SpringBoot application accessing Prometheus

Prometheus: Prometheus is an open monitoring solution. Users can easily install and use Prometheus and expand it The following will implement the whole process of a SpringBoot application accessing Prometheus 1.2 installation Linux Installation Download package specified on the official website: https://prometheus.io/download/ Download loca ...

Added by benson on Wed, 24 Nov 2021 09:00:32 +0200

Java interview questions ~ switch case optimization based on annotation + Enum + strategy mode

Abstract: in this article, we will continue to share and introduce the second "code optimization question" about Java interview. The main functions are: Based on the idea of "annotation + Enum enumeration + policy mode" based on Spring Boot, we often need to increase or decrease the judgment of if else or the value of consta ...

Added by drbigfresh on Sat, 20 Nov 2021 11:39:17 +0200

HashMap underlying principle implementation source code analysis

*** summary HashMap is implemented based on the Map interface. Elements are stored in the form of key value pairs, and null values are allowed to be added. Because keys are not allowed to be repeated, only one key can be null. In addition, HashMap cannot guarantee the order in which elements are placed. It is disordered and cannot be the ...

Added by zman on Sat, 20 Nov 2021 08:45:13 +0200

Summary of massive data processing calculation and algorithm implementation

This blog mainly explains the calculation and algorithm implementation of massive data processing, and understands the steps that can be taken by massive data processing methods Summary of massive data processing methods , understanding data processing problems can be moved step by step Summary of massive data processing problems Method review ...

Added by hash1 on Fri, 19 Nov 2021 19:08:04 +0200

[Elasticsearch] learning notes -p6 (RestClient query document)

RestClient query document Video directions 👉 Station B dark horse micro service Super recommended!! 1. Quick start We use match_ Take all query as an example: 1.1 initiate query request There are three steps: Create a SearchRequest object and specify the index library nameUse request.source() to build DSL, which can include query, ...

Added by andrewmay67 on Fri, 19 Nov 2021 13:59:07 +0200

Java interview question ~ Interviewer: how do you locate, troubleshoot and diagnose bugs in the production environment?

As a Java program ape, "communicating needs", "designing databases", "building tables" and "coding development" are common things. We have to do such work repeatedly almost every day, and some even enjoy it! (of course, if the money is in place ~ ~); But if you want to ask them what they are very sensitiv ...

Added by Lambneck on Thu, 18 Nov 2021 13:10:45 +0200

[high frequency written interview in front-end field] - JavaScript related

catalogue 1. Write a regular expression that simply describes the html tag (start tag and end tag without attributes), and remove the html tag from the string 2. Complete the function showImg(), which requires that the display of the picture can be updated dynamically according to the options in the drop-down list 3. List the common objects ...

Added by TFD3 on Wed, 17 Nov 2021 13:59:49 +0200

The difference between static agent and dynamic agent

The difference between static agent and dynamic agent According to the creation period of the agent, the agent class can be divided into two types: Static: programmers create proxy classes or specific tools to automatically generate source code and then compile it. The. Class file of the proxy class already exists before the program runs. Dyna ...

Added by kb0000 on Mon, 08 Nov 2021 11:49:24 +0200