This series of tutorials will introduce the common toolchains for building and compiling modern C/C++ projects, GCC, Make, and CMake. Among them, GCC is a compilation tool of C/C++ language, Make is an incremental (compilation) batch processing tool, and CMake is a Make script generation tool. In the build of a modern C/C++ project, their […]
The project is connected to the Xinghuo Cognitive Model! ! !
The project is connected to the spark cognition model demo Introduction With the continuous rise of large language models in China, iFLYTEK’s Xinghuo model, Ali’s Tongyi Qianwen, Baidu’s Wenxin Yiyan, etc. These large models provide me with great convenience At the same time, the Xinghuo large model provides open api function so that we can […]
Encoding (ASCII code, urlcode, html entity encoding, unicode, utf-8, html status code)
ASCII code ASCII (American Standard Code for Information Interchange): American Standard Code for Information Interchange is a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard ISO/IEC 646. ASCII codes […]
PHP login/php login–[White prostitution project]
The general catalog of the strong project series is in 000 episodes How to learn PHP – [Knowledge scope of mind map] Article directory This series of school motto Technology used in this project Upper renderings phpStudy settings import database The project directory is shown in the figure: page code code behind Can such an […]
make my emacs.d more readable
Using .org file # + STARTUP: overview * My Init Org [[https://github.com/zbs-test/][myrepo]] *** UI # + setupfile: # + BEGIN_SRC emacs-lisp (load-theme ‘tango-dark) # + END_SRC *** Package conf # + setupfile: # + BEGIN_SRC emacs-lisp (add-to-list ‘load-path (expand-file-name (concat user-emacs-directory “lisp/”))) (require ‘init-fn) (require ‘init-system) (require ‘init-elpa) (require ‘init-package) (require ‘init-builtin) (require ‘init-kbd) (require […]
Download image url in xml, upload attachment
Part of the content of the remote xml <imagelist name=”FY4A AGRI IMG REGI MTCC GLL” tag=”FY4A AGRI IMG REGI MTCC GLL”> <image time=”2023-07-25 22:30 (UTC)” desc=”FY4A AGRI IMG REGI MTCC GLL” url=”http://img.nsmc.org.cn/PORTAL/FY4 /IMG/FY4A/AGRI/IMG/REGI/MTCC/GLL/FY4A-_AGRI–_N_REGI_1047E_L1C_MTCC_MULT_GLL_20230725223000_20230725223417_1000M_V0001.JPG”/> <image time=”2023-07-25 22:23 (UTC)” desc=”FY4A AGRI IMG REGI MTCC GLL” url=”http://img.nsmc.org.cn/PORTAL/FY4 /IMG/FY4A/AGRI/IMG/REGI/MTCC/GLL/FY4A-_AGRI–_N_REGI_1047E_L1C_MTCC_MULT_GLL_20230725222336_20230725222753_1000M_V0001.JPG”/> </imagelist> mq publisher timing task to send messages @Component public […]
RabbitMQ restarts abnormally, some consumption queues do not consume
[2021-03-04 094735.986][,][INFO][SimpleAsyncTaskExecutor-1][SimpleMessageListenerContainer$AsyncMessageProcessingConsumerrun1212] Restarting Consumer@504a9352 tags=[{<!– –>amq.ctag-WWlW_DAeVfp 570-uQvvXDg= queue1}], channel=Cached Rabbit Channel AMQChannel([email protected],4), conn Proxy@3920f51 Shared Rabbit Connection null, acknowledgeMode=MANUAL local queue size=0 [2021-03-04 094735.987][,][INFO][SimpleAsyncTaskExecutor-2][AbstractConnectionFactorycreateBareConnection463] Attempting to connect to xxx.xx.xx.xx [2021-03-04 094735.989][,][ERROR][SimpleAsyncTaskExecutor-2][AbstractMessageListenerContainerredeclareElementsIfNecessary1618] Failed to checkredeclare auto-delete queue(s). org.springframework.amqp.AmqpConnectException java.net.ConnectException Connection refused (Connection refused) at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java62) ~[spring-rabbit-2.0.5.RELEASE.jar2.0.5.RELEASE] at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java484) ~[spring-rabbit-2.0.5.RELEASE.jar2.0.5.RELEASE] at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java626) ~[spring-rabbit-2.0.5.RELEASE.jar2.0.5.RELEASE] at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java240) ~[spring-rabbit-2.0.5.RELEASE.jar2.0.5.RELEASE] at […]
Use jquery, ajax and sertvlet to realize the linkage of provincial and municipal menus
The effect to be achieved today: 1 Create a dynamic web project in eclipse 2 Use jdbc to connect to the mysql database, you can use sqyog for graphical display, and you can encapsulate some commonly used methods of adding, deleting, modifying and checking First create a java class and use jdbc to connect to […]
11-2_Qt 5.9 C++ Development Guide_Use of QSqlQueryModel (QSqlQueryModel can only be used as a read-only data source, and cannot edit data)
Article directory 1 QSqlQueryModel function overview 2 Use QSqlQueryModel to realize data query 2.1 Instance function 2.2 Visual UI design 2.3 Main window class definition (remove automatically generated slot function) 2.4 Open the database 2.5 Record movement 1 QSqlQueryModel function overview As you can see from the figure below, QSqlQueryModel is the parent class of […]