Background: 1. The file data is on server A (windows) (generated in the specified directory from time to time), and the project application is deployed on server B (Linux); 2. The project is applied on server B, monitors the directory specified by server A, and if there are newly generated files, reads the file information […]
Tag: uses
LCD screen uses ST7567G+UC1701E
LCD screen usage record LCD screen usage record 1-Screen introduction 2-ST7567G screen 3-UC1701 screen 4-Code Example 4-Points of attention 1-Screen Introduction Since the project uses the screen, make a simple record backup The screen uses 128*64 dot matrix screen The model number is ST7567G + UC1701E Using SPI driver Brief description of screen dot matrix […]
Android uses poi to generate Excel and word and save them in the specified path
As soon as you add dependencies (be sure to use new versions of dependencies to prevent some bugs) minSdk= 26 //Note that the minimum supported SDK26 dependencies {<!– –> implementation ‘org.apache.poi:poi:5.2.4’ implementation ‘org.apache.poi:poi-ooxml:5.2.4’ implementation ‘javax.xml.stream:stax-api:1.0-2’ } Second, creation method private void createExcelFile(String Path) {<!– –> //Create workbook Workbook workbook = new XSSFWorkbook(); //Create worksheet Sheet […]
ESP uses webserver for local control
Because using cloud services is sometimes unreliable, offline control is important. This article uses webserver to implement local web page control. In this way, there is no need to develop a separate APP, and it can be controlled with a browser. All tests in this article are based on ESP32. 8266 has not been tested. […]
pagehelper/PageInterceptor causes MyBatis to execute SQL problems
question Colleague J met a requirement, which caused an error to be reported in an interface that had nothing to do with the requirement. The error message was due to a SQL syntax problem. Normal SQL should look like this: select * from table where condition order by field limit from, size But now it […]
[node+JS] The front end uses nodemailer to send emails
Preface Email configuration Complete code Foreword Recently, it is necessary to realize that after the customer submits the form, the content of the form is sent to the corresponding mailbox as an email. The front-end sends it directly without going through the back-end service. Hiss–, just do it! After searching, there are many ways to […]
Spring Boot uses Mybatis-plus and its code generator
Spring Boot uses Mybatis-plus and its code generator The first part of this article explains the use of Mybatis-plus. Click the link below to go to the official website. But be warned. It is only used for rapid development, because the first point of SQL optimization is that the select in the SQL statement should […]
R language uses a linear mixed effects (multi-level/layered/nested) model to analyze the relationship between pitch and polite attitude…
Full text download link: http://tecdat.cn/?p=23681 What is the difference between the linear mixed effects model and the linear model we already know(Click “Read the original text” at the end of the article to get the completeCode data)? Related videos A linear mixed model (sometimes called a “multilevel model” or a “hierarchical model”, depending on the […]
web3 uses antd to build the basic structure of the order component in React dapp
The above web3 dapp React project introduces antd to style the balance user token information component. In the middle, we import the antd component, which is a relatively complete preparation of the user asset component. So starting today, we are going to talk about the order component. This will be much more complicated than before. […]
Dimension uses AOP to add Name
1.Add files 2.DimName annotation, entity use package annotation; import MateTypeEnum; import java.lang.annotation.*; /** * Dictionary translation annotations * * @author pw */ @Documented @Target(ElementType.FIELD)//Can be used on method names @Retention(RetentionPolicy.RUNTIME)// Valid at runtime public @interface DimName {<!– –> /** * This field represents the encoding of the dictionary type */ //Class clazz() default this.clazz(); Class<? […]