Using RabbitMQ in Java

rely on <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> <version>5.8.0</version> </dependency>          production public class Producer {    private final static String QUEUE_NAME = "my_queue"; //Queue name ...

Posted by walexman on Tue, 17 Mar 2020 07:11:04 -0700

Practice tutorial: using Pod security strategy to strengthen K8S security

This article comes from Rancher Labs   What is Pod security policy?   Kubernetes Pod security policy (PSP) is an important component of kubernetes security section. Pod security policy is a cluster level resource, used to control pod security related options, and also a mechanism to enhance kubernetes workload security. Kubernetes platform te ...

Posted by ld0121 on Tue, 17 Mar 2020 03:26:27 -0700

Configuration method of Frp intranet penetration in raspberry pie

Material Science Raspberry pie A server with public IP One filed domain name (not required) Course Prepare corresponding procedures download Download address: https://github.com/fate/frp/releases ## Server side wget https://github.com/fatedier/frp/releases/download/v0.32.0/frp_0.32.0_linux_38 ...

Posted by gunabalans on Tue, 17 Mar 2020 00:42:56 -0700

Kubedge deployment ~ Kubernetes 1.17.4 deployment

This paper introduces how to deploy Kubernetes 1.17.4 cluster using kubeadm on ubuntu 18.04 64 bit dual core CPU virtual machine. The network plug-in is flannel v0.11.0, and the image source is alicloud 1, Install docker apt-get install docker.io Execute the following command to create a new / etc/ ...

Posted by steamPunk on Tue, 17 Mar 2020 00:37:39 -0700

redis source code analysis v1.0

Section I. references https://www.cnblogs.com/davidwang456/articles/9294912.html https://blog.csdn.net/BigRat_WH/article/details/88640793 https://blog.csdn.net/u011577874/article/details/73000207 https://www.cnblogs.com/gjc592/p/11098047.html First of all, the source code of redis is elegant and bea ...

Posted by hungryOrb on Mon, 16 Mar 2020 23:54:32 -0700

A novel coronavirus pneumonia is divided into 1.16 sub sections from the date of the national day.

Article directory Novel coronavirus pneumonia: total data of domestic sub provincial date (1.16 cases): Download the original json format data Data download in csv format 2. Data source and capture Data delivery process Download and organize data into csv Novel coronavirus pneumonia: total dat ...

Posted by jonsimmonds on Mon, 16 Mar 2020 03:57:31 -0700

High availability of ES cluster

Preface: articles before us ELK+Kafka+Filebeat analysis Nginx log The configuration of ES cluster is mentioned in. In my later experiments, I found that although the cluster can be started and can process data normally, as long as the ES1 node is hung up, the whole cluster can not operate normally and t ...

Posted by ryanhowdy on Sun, 15 Mar 2020 23:18:03 -0700

Data loading in deep learning (tensorflow2.0 as an example)

background knowledge In deep learning, data preprocessing takes up a large part of our training process. How to use different databases to load our data is particularly important. So this blog will combine Data loading in tensorflow 2.0 The official documentation describes how to load our own tagged d ...

Posted by austenr on Sun, 15 Mar 2020 20:29:32 -0700

ffplay -- source code analysis: code architecture

/* Minimum SDL audio buffer size, in samples. */ // Minimum audio buffer #define SDL_AUDIO_MIN_BUFFER_SIZE 512 /* Calculate actual buffer size keeping in mind not cause too frequent audio callbacks */ // To calculate the actual audio buffer size, you do not need to call back too often. The maximum numb ...

Posted by swatisonee on Sun, 15 Mar 2020 04:47:17 -0700

MXNET deep learning framework-01-ndarray most basic use (data structure)

The most basic use of ndarray in mxnet Recently, I was learning the deep learning framework of mxnet. As the saying goes, "a good memory is better than a bad pen". Now, I will record the learning process and content so that I can review it at any time. PS: on my laptop, I installed the mxnet ...

Posted by xionhack on Sun, 15 Mar 2020 03:34:02 -0700