Blue Bridge Cup embedded -- Analysis of the second test question of the 11th provincial competition

preface This program design is based on embedded development board CT117E,stm32f103RBT6. If you don't understand the code of which module, you can click my blog to see the writing ideas of each module. 1, Test questions 2, Modules needed 1.LED The code is as follows: LED c: #include "led.h" void led_init(void) { GPIO_ ...

Posted by mmj on Fri, 04 Mar 2022 12:58:59 +0100

Ubuntu action-04 SUDO settings

Under linux system, ordinary users cannot directly execute the commands under the authority of root user. If you want ordinary users to execute the operation commands that only root user can execute, sudo is needed. Before sudo was written around 1980, the general way of user management system was to use su to switch to super user. Ho ...

Posted by sigkill-9 on Fri, 04 Mar 2022 12:58:06 +0100

[falling in love with data structures and algorithms Season 2] [04] Figure - basic implementation_ Traversal_ Topological sorting

Continuous learning & continuous updating Learning attitude: down to earth The traditional adjacency matrix or adjacency table is not used in the code implementation diagram, because they are too complex and troublesome. The code implementation adopts a compromise scheme, which is more inclined to the adjacency table. When ...

Posted by firedrop84 on Fri, 04 Mar 2022 12:27:07 +0100

100 sets of grade II C operation questions in the national computer grade examination question bank (the 25th set)

Set 25: The record of personnel consists of number and year, month and day of birth. The data of N personnel has been stored in the structure array std in the main function, and the number is unique. The function fun is to find out the data of the person with the specified number, return it as the function value, and output it by the main func ...

Posted by Kookedoh on Fri, 04 Mar 2022 12:25:28 +0100

Caller ID

Caller show - caller tagging The company's office app has its own address book. Sometimes when others call, the contact information of this contact is not saved in the mobile phone, and they are afraid of harassment after receiving the call. Therefore, I want to add an incoming call tag of our company, that is, the incoming call show function. ...

Posted by emrys404 on Fri, 04 Mar 2022 12:22:57 +0100

Miraculously, this Vue background framework doesn't need to manually configure routing

preface Vue development is inseparable from routing, especially for medium-sized and large-scale projects. There are many and miscellaneous pages. When configuring routing, it will always become increasingly irritable, because it is time-consuming and does not have much technical content. I always feel that it is a waste of time. In addition, ...

Posted by Jade on Fri, 04 Mar 2022 12:17:28 +0100

Linux learning - mail service (installing postfix)

Problems encountered during installation Question 1: [root@lotus postfix-2.11.11]# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/include/sasl -DUSE_TLS ' 'AUXLIBS=-L/usr/lib64/mysql -lmysqlclient -lz -lm -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto' make -f Makefile.in MAKELEVEL= Makefiles (echo ...

Posted by wchris on Fri, 04 Mar 2022 12:14:41 +0100

Notes on problem brushing of PTA ladder practice competition (L2 001-004) (under update)

Topic bank link: Group programming ladder competition - practice set OP \ L2-001 emergency rescue (25 points) dijkstra algorithm The boss said that SPFA can also be done. mark it and learn next thinking Can refer to here To understand the basic principle of dijestra; The main characteristic of this problem is that the shortest path ma ...

Posted by QWERTYtech on Fri, 04 Mar 2022 12:11:00 +0100

0869-7.1.7 - how to use Hive Bulkload in CDP to batch import data into HBase

1. Purpose of document preparationWhen data in Hive is synchronized to HBase, it is usually realized by creating a table mapping HBase in Hive and then insert ing it. When the amount of data is small, it is often acceptable. However, if it is mass data, in addition to the long synchronization time, it often affects the online HBase service, Thi ...

Posted by sineadyd on Fri, 04 Mar 2022 12:03:26 +0100

resample method and code notes of Python SimpleItk Library

Note: some pits explored on resample and the simple method of final discovery Requirements: there are already registered CT and PET images, and the gold standard label is drawn on CT, so there are some simple requirements. One is to resample the PET image to the same size as the CT image (for example, from 192) × one hundred and ninety-tw ...

Posted by rubing on Fri, 04 Mar 2022 11:59:14 +0100