EDA experiment—–Design of four-bit multiplier (QuartusII)

Table of Contents 1. Experimental purpose 2. Experimental equipment 3. Experimental principles 4. Experimental content 5. Experimental steps 6. Experimental results 7. Experimental process 1. Multiplier principle 2. Programming ideas and programming implementation 3. Simulation test 4.Circuit connection 5. File burning 1. Experimental purpose Understand the principles of four-bit parallel multipliers. Understand the design ideas […]

Arduino + OLED screen display bitmap

original There are already many projects using Arduino to drive a 0.96-inch OLED screen to display various information. If we need to drive OLED to display images, logos, etc. whatever we want, here is a simple and general method. You need to use Image2Cp, a tool for converting images to CPP code. Component list Arduino×1 […]

When installing Bitcoin in Ubuntu, a make compilation error occurs or there is no such file when running ./configure –with-incompatible-bdb.

If you install Bitcoin by installing dependencies and get a make compilation error or run ./configure –with-incompatible-bdb and it shows that there is no such file, you can try my method. Reference: http://t.csdnimg.cn/bMdRc If you install this document, you will not be able to verify the path of the Bitcoin file, so you need to […]

Docker installation of mysql, redis, rabbitmq, es, nacos under Liunx

1. Environment preparation Note: Ignore if related tools have already been installed. 1Install JAVA operating environment Step 1: Upload or download the installation package cd /usr/local jdk-8u152-linux-x64.tar.gz Step 2: Unzip the installation package tar -zxvf jdk-8u152-linux-x64.tar.gz Step 3: Establish a soft connection ln -s /usr/local/jdk1.8.0_152/ /usr/local/jdk Step 4: Modify environment variables vim /etc/profile export JAVA_HOME=/usr/local/jdk […]

The role of configuration configuration class, rabbitMq code example how to customize beans

@Configuration @ConditionalOnClass(SimpleRabbitListenerContainerFactory.class) public class ConsumerConfig { @Value(“${rabbit.batch.num:100}”) private int batchNum; @Bean(“batchQueueRabbitListenerContainerFactory”) public SimpleRabbitListenerContainerFactory batchQueueRabbitListenerContainerFactory(ConnectionFactory connectionFactory) { SimpleRabbitListenerContainerFactory factory = new SimpleRabbitListenerContainerFactory(); factory.setConnectionFactory(connectionFactory); factory.setBatchListener(true); factory.setConsumerBatchEnabled(true); factory.setBatchSize(batchNum); return factory; } } This code is a RabbitMQ message consumer configuration class based on Spring Boot. Let me explain step by step and give examples: @Configuration: This annotation indicates […]

RabbitMQ cluster deployment

Table of Contents 1.Environment preparation 1.1 Turn off the firewall and selinux 1.2 Local analysis 1.3 Install rabbitmq software 1.4 Start the service 1.5Create user 1.6 Enable user remote login 2. Start deploying the cluster (operate on all three machines) 2.1 First create the data storage directory and log storage directory 2.2 Copy erlang.cookie 2.3 […]

译Ditch these 7 bad habits in Python

Original title: Ditch These 7 Bad Habits in Python Original link: jerryrnsh.com/ditch-these… I have committed all these bad habits. It took me some time to change them. Python is known for its simplicity and versatility. As one of the most commonly used programming languages, Python has many excellent tutorials. Unfortunately, this easy-to-learn syntax can sometimes […]

RabbitMQ related deployment

1. Common cluster preparation environment Note that these three servers are all connected, and the RabbitMQ cluster nodes must be in the same segment. If they are connected across domains, the effect will be worse. 10.36.192.150 rabbitmq-1 10.36.192.151 rabbitmq-2 10.36.192.152 rabbitmq-3 All three servers have their firewalls and selinux turned off [root@rabbitmq-1 ~]#systemctl stop firewalld […]

5.RabbitMQ release confirmation advanced

5 Release Confirmation Advanced Due to some unknown reasons in the production environment, rabbitMQ restarted. During the restart of RabbitMQ, the producer failed to deliver messages, resulting in message loss, which required manual processing and reply. So we tried to think about how to achieve reliable delivery of RabbitMQ. Especially in extreme situations. When the […]

Construction and deployment of rabbitmq cluster

Preparation: Three clean servers 192.168.52.156 192.168.52.157 192.168.52.158 These three servers are all connected, and the RabbitMQ cluster nodes must be on the same segment. If they are connected across domains, the effect will be worse. Turn off firewall and selinux 1. Install and deploy rabbitmq on three machines Install dependencies [root@rabbitmq-1 ~]# yum install -y […]