docker installation and common commands

Centos installation docker Install dependent packages sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Set alicloud image source sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo Install docker CE sudo yum install docker-ce report errors --> Processing Conflict: 1 ...

Posted by csxpcm on Wed, 25 May 2022 16:53:53 +0300

Application of 3D Convex Hull Algorithm in PCL

Given n vertices in three-dimensional space, solve the convex hull surface formed by these n vertices. Solving process: First choose a tetrahedron (initial convex hull) formed by 4 points, and then add a new point P each time, in two cases: 1. If P is in the convex hull, it can be skipped 2. P is outside the convex hull. For a certain edge, fin ...

Posted by saiko on Wed, 25 May 2022 16:16:45 +0300

Conversion of word documents to PDF and various document formats

Conversion of word documents to PDF and various document formats Project address: https://gitee.com/Jakewabc/word-of-pdf.git Relevant cases: https://github.com/aspose-words/Aspose.Words-for-Java.git https://github.com/aspose-pdf/Aspose.PDF-for-Java.git It's very slow on GitHub. It is recommended to create a project on gitee. Click create projec ...

Posted by NickTyson on Wed, 25 May 2022 16:14:20 +0300

How does the automated test parse the excel file?

foreword In automated testing, we store data nothing more than using files or databases, so the files can be csv, xlsx, xml, or even txt files. Usually, excel files are often our first choice. Whether it is writing test cases or storing test data, excel is Very convenient. So today, we will summarize the methods of processing excel files in dif ...

Posted by raven_web on Wed, 25 May 2022 15:58:56 +0300

Basic concepts of thread

What is a process? What is a thread Process: simple explanation, an application on the computer hard disk, such as QQ Exe, when it runs, is called a process. Thread: the smallest execution unit in a process is called a thread. Several ways of creating process 1. Inherit the Thread class and override the run() method 2. Implement the Runnable in ...

Posted by lill77 on Wed, 25 May 2022 15:54:58 +0300

Zero foundation introduction Python crawler web e-book batch crawling

    Blessed are fiction fans. To learn this, you don't have to be harassed by web advertising, and you don't have to spend money on various novel platforms. Isn't it fragrant to crawl in batches by yourself? It's also good news for friends who love learning. All kinds of data to crawl and save. It is more conducive to improve their learning ef ...

Posted by Moocat on Wed, 25 May 2022 15:53:29 +0300

libtorch study notes - MNIST combat

MNIST libtorch practical exercise Ready to work First download the MNIST database, http://yann.lecun.com/exdb/mnist/ After downloading, do not decompress it with software such as winrar. For example, t10k-images-idx3-ubyte is decompressed into t10k-images.idx3-ubyte. It is best to decompress it with tar in Linux environment. Suppose you unzip t ...

Posted by chrys on Wed, 25 May 2022 15:51:55 +0300

In depth understanding of ArrayList and LinkedList, source code analysis and performance testing

Spoiler: ArrayList's insertion and query operations are much faster than LinkedList ArrayList characteristic The bottom layer is realized by array, with fast query speed and slow addition, deletion and modification speed (in theory) Thread unsafe Common methods of ArrayList import java.util.ArrayList; import java.util.Iterator; import jav ...

Posted by cyrixware on Wed, 25 May 2022 15:49:26 +0300

The use of formatter formatting dictionary display of el-table in EleemntUI

Scenes Some properties are similar to those stored in dictionaries (key-value pairs), such as operators 1 represents the user id array The library also stores the user id, but the user name is displayed on the page The czy stored in the database is a number that is the user's id   And to display on the page is the user's name   Note: ...

Posted by bbbaldie on Wed, 25 May 2022 15:47:49 +0300

Three ways to export Excel through NPOI in Winform (HSSFWorkbook, XSSFWorkbook, SXSSFWorkbook) with code download

Scenes Difference between HSSFworkbook,XSSFworkbook,SXSSFworkbook HSSFWorkbook: It is the version before operating Excel 2003 (including 2003), and the extension is .xls; the most common way to export excel; but the limitation of this method is that the number of exported lines is at most 65535 lines, and the system will report an error when ...

Posted by Option on Wed, 25 May 2022 15:32:42 +0300