CSS learning notes 2 font properties and text properties

CSS font properties The CSS Fonts property defines the font family, size, thickness, and text style font family CSS uses the font family attribute to define the font family of the text p { font-family:"Microsoft YaHei ";} div {font-family: Arial,"Microsoft Yahei","Microsoft YaHei ";} All fonts must be separated by commas in EnglishGeneral ...

Posted by HSKrustofsky on Tue, 08 Mar 2022 16:01:19 +0100

HttpClient send file

Children's shoes, please check the technical practice of [HttpClient sending files]   1. Empty cavity walking board A few days ago, a children's shoe in the group asked: how to use HttpClient to send files? Before, I wrote an ABP upload file, which mainly reflects the server. The action of uploading files is completed by the front-end little ...

Posted by magi on Tue, 08 Mar 2022 15:52:46 +0100

SSM integration configuration

1. Guide Package Spring related packages Spring MVC related (core related packages will be imported together)<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.2 ...

Posted by mobtex on Tue, 08 Mar 2022 15:52:52 +0100

Li Kou Learning + previous life files

Plates between candles Here is a long table with plates and candles lined up on it. Give you a string s with subscript starting from 0. It only contains the characters' * 'and' | ', where' * 'represents a plate and' | 'represents a candle. At the same time, give you a two-dimensional integer array queries with subscript starting from 0, where ...

Posted by lucerias on Tue, 08 Mar 2022 15:42:36 +0100

Gitee + Hexo build personal blog

Installing Hexo Before installing Hexo, you need to install the following two tools: GitNode.js Install Git Windows: Download and install git. Mac: Using Homebrew, MacPorts : brew install git ; Or download erection sequence Installation. Linux (Ubuntu, Debian): sudo apt-get install git-core Linux (Fedora, Red Hat, CentOS): sudo yum ...

Posted by tvance929 on Tue, 08 Mar 2022 15:36:45 +0100

Java compression can be so optimized! The news is so exhilarating that everyone is celebrating and spreading it to the rest of the world

background Recently, the function of data export is being done. Since batch export is supported and the exported files are up to 3GB, it is decided to compress when exporting the final results first day java compression, emmm The first thought is java util. Zip the following APIs, directly to the code: /** * Batch compressed file v1 0 * ...

Posted by baitubai on Tue, 08 Mar 2022 15:19:29 +0100

The third simulation match of the 12th Blue Bridge Cup

The third simulation match of the 12th Blue Bridge Cup Question A Total score of this question: 5 points [problem description] From 1 to 2020, how many numbers are coprime with 2020, that is, how many numbers are the maximum common divisor of 2020 is 1. [answer submission] This is a question filled in with results. You just need to calculate ...

Posted by MobiTec on Tue, 08 Mar 2022 15:17:00 +0100

Django framework + file upload + API call

Dry goods content 1. Introduction to Django MTV mode 2. File upload function under Django 3. Implement VirusTotal API call under Django 0x0 introduction to Django framework At present, many Web frameworks are developed based on MVC development mode. Django is also very similar, but it is based on MTV development mode. Here is a brie ...

Posted by dannyluked on Tue, 08 Mar 2022 15:13:56 +0100

Seleniu m: common operations of elements

Selenium element operation 1. In the process of using Selenium, it is not enough to locate the element and operate the browser WebDriver object. More importantly, we need to operate an element (1) for example: input data into the input box, click the button, etc 2. After locating an element using the element location method, find_element_by_* ...

Posted by eddierosenthal on Tue, 08 Mar 2022 15:04:14 +0100

R language self study notes: basis of regression analysis

I Linear regression 1. lm() function returns the prediction model of input variables, and the returned results can be used with many functions. > lm.model <- lm(wt ~ mpg, data = mtcars) > coefficients(lm.model) # Extraction coefficient (Intercept) mpg 6.047255 -0.140862 > confint(lm.model, level=0.95) # After the ...

Posted by beerman on Tue, 08 Mar 2022 14:48:27 +0100