Lenovo Xiaoxin Pro16 installs Ubuntu 20.04 dual system with detailed graphic records

Installation preparation 1. Download operating system image Just go to the Ubuntu official website and download the Ubuntu 20.04 desktop version. It is recommended to install the 20.04.6 version. You can also click here to download. 2. Create a USB boot disk First download rufus from the official website. Insert the USB flash drive, run […]

The SDK comes with test framework usage records (ADB&ADB SHELL, Monkey test, log capture, Automator tests, etc.)

Android SDK analysis Refer to this blog Android SDK analysis_android sdk res-CSDN blog ADB: Android Debug Bridge Understanding: As the name suggests, it serves as a “bridge” to connect computers and Android devices (or virtual machines), allowing users to directly transmit instructions/receive data to the device (virtual machine) through the computer without operating on the […]

Basic use of PyAudio module, blocking/non-blocking recording/playing of audio

pyaudio library: audio processing pyaudio documentation, most variables and interface definitions are still in the C version of PortAudio documentation. The PyAudio object is only responsible for playing audio, and is not responsible for reading binary data from the file, so the reading must be done outside, and what is given to it is binary […]

[C++ Code] Divide sugar, divide biscuits, swing sequence, greedy algorithm–Code Random Record

The essence of greed is to select the local optimum at each stage to achieve the global optimum. Simulate manually by yourself. If the simulation is feasible, you can try the greedy strategy. If it is not feasible, you may need dynamic programming. The greedy algorithm is generally divided into the following four steps: Break […]

7×24 hours cloud recording — KPlayer

Cloud server live streaming Foreword If you have a free server, you can try these. I bought a server for 58 yuan per year on the third anniversary of a Tencent Cloud product event. Introduction to KPlayer KPlayer is an application designed and developed by ByteLang Studio for pushing media resources in a Linux environment. […]

Algorithm Practice Record1

Foreword Brush one question and update the next question Tools The PrintArrsTwoUtils.printArr(); method may appear below. This is a method for printing a two-dimensional array and can be deleted or commented out. It can also be imported and executed, which does not affect the results. It will only print the console and can be used […]

Algorithm Practice Record5

「Digital triangle maximum sum A-recursion」 Title description Find a path from top to bottom in the number triangle below such that the sum of the numbers passing along the path is maximum. Each step on the path can only go down left or right. Just ask for the maximum sum without giving a specific path. […]

[Production problem record] Troubleshooting a large number of exceptions in an interface (large objects are strongly referenced and cannot be recycled, resulting in GC all the time)

1 Conclusion Let’s talk about the conclusion first: There is a method to query data from the database in batches, then put it into an ArrayList, and finally use the ArrayList with the full amount of data to perform other operations. In this accident, during the batch query process, a large amount of data was […]

MySQL database (database introduction | classification | basic usage | basic SQL statements for libraries, tables, and records)

Article directory MySQL database 1. History of evolution of data access 2. Development History of Data Storage 3. The nature of database 4. Classification of databases 5. Basic use 6. Production of system services 7. Introduction to SQL and nosql 8. Introduction to MySQL database 1. What is a database? 2.The role of database 10. […]

Algorithm Practice Record2

“Dynamic programming of a backpack with no limit on weight and volume” Title description Yesterday was Women’s Day, and an event was held in the center of Yaoshan Canteen where all girls’ shoes could be taken away for free. Due to time constraints, Mary decided to fill up her backpack. Since there are many items […]