redis-sentinel cluster (k8s script)

1 redis backup It is recommended that rdb and aof be turned on simultaneously.rdb is on by default and aof is off by default.Refer to rdb and aof for additional details http://blog.csdn.net/guoxingege/article/details/48780745 1.1Redis.confConfiguration Details requirepass 123456 ## The following is the rdb confi ...

Posted by Alt_F4 on Tue, 14 Jul 2020 16:40:04 +0200

BZOJ2400:[Spoj 839]Optimal Marks (Minimum secant)

Portal Topic: Given an undirected graph, the point values of some points have already been given, and the point values of some points can be freely chosen.Defines an edge with a weight of two points XOR.These points are required to be assigned a value so that the weights of the last edge are the smallest, and the point values at this time ar ...

Posted by w1ww on Sat, 11 Jul 2020 17:11:45 +0200

BZOJ2400:[Spoj 839]Optimal Marks (Minimum secant)

Portal Topic: Given an undirected graph, the point values of some points have already been given, and the point values of some points can be freely chosen.Defines an edge with a weight of two points XOR.These points are required to be assigned a value so that the weights of the last edge are the smallest, and the point values at this time ar ...

Posted by mmj on Sat, 11 Jul 2020 17:10:53 +0200

Android implements request HTTP authentication

These days, the development of external SDK, can achieve landing, payment.Similar to developing a set of QQ, WeChat third party login.The authorization protocol used is OAuth 2.0.Among them, Http Authentication is used, and you can consult the online materials. There are all kinds of answers, some don't know if they have been verified, and some ...

Posted by bradleybebad on Fri, 10 Jul 2020 16:54:06 +0200

samba Shared Storage Service

Samba is a free software that implements the SMB protocol on Linux and UNIX systems and consists of server and client programs.SMB (Server Messages Block) is a communication protocol for sharing files and printers on a local area network. It provides file and printer sharing services between different computers in th ...

Posted by ondemand on Mon, 06 Jul 2020 18:12:38 +0200

An algorithm for searching all paths between two points based on a graph's contiguity list implementation

The algorithm is implemented in C++. Why write this algorithm? Because it is so hard to find only the implementation of the adjacency matrix on the network, I have made an implementation of the adjacency chain table myself, which can increase the speed. This is achieved by using one of three stacks to traverse all vertices, the second stack t ...

Posted by mike_revolution on Thu, 02 Jul 2020 17:16:40 +0200

RxJava Source Analysis (2)

This time we are talking about the thread switching process of RxJava. First, look at a diagram: The RxJava code for this time series diagram: public void demo2(){ createObservable() .subscribeOn(Schedulers.newThread())//Observed executes subscribe on a new thread .observeOn(AndroidSchedulers.ma ...

Posted by Danestar on Tue, 30 Jun 2020 18:16:07 +0200

The development of MSF stages is not completely North oriented

Using Golang to develop stagers Last article The development of MSF stages is not completely to the North (1) We talked about how to use c to develop the stagers of msf. In this article, we discussed how to use Golang to achieve the same function Train of thought In Golang, it's important to know how to get the file descriptor of socket. In ...

Posted by pirri on Mon, 29 Jun 2020 11:17:12 +0200

02-VGNet Learning Notes

02-VGNet Learning Notes The following are personal learning notes for reference only 1. What percentage of the parameters are less for three 3*3 convolutions in VGG than for one 7*7 convolution?(Assuming both input and output channels are C) 2. What is the difference between VGG-16 and VGG-19? 3. Wh ...

Posted by coolcat on Sun, 28 Jun 2020 18:42:46 +0200

Gorang network programming

catalog TCP network programming UDP network programming Http network programming Understand that functions are first class citizens HttpServer source reading Register route Start service Process request HttpClient source reading DemoCode Organizing ideas Important struct tec ...

Posted by nakago on Sun, 28 Jun 2020 08:54:44 +0200