Glide 4 basic use

This is the introduction of Chinese Glide v4: Click to open the link 1. Basic use Glide.with(this).load("http://guolin.tech/book.png").into(iv); 2. Occupation map RequestOptions options = new RequestOptions() .placeholder(R.mipmap.ic_launcher); Glide.with(this).load("http://guolin.tech/book.png") ...

Posted on Thu, 30 Apr 2020 12:11:09 -0700 by ghostrider1

MVP architecture encapsulation

Android MVP framework design MVP structure: M level In data layer, data can be obtained from remote server or local database. In general, data in android applications are mostly Remote server, so the work of layer M can be regarded as the part of network request temporarily. The concrete embodiment of layer m should be the relevant cod ...

Posted on Thu, 30 Apr 2020 00:24:24 -0700 by bobc

How to check network card information on Linux

Sometimes for a variety of reasons, you may need to configure additional network interfaces. Source: https://linux.cn/article-12165-1.html By Magesh Maruthamuthu Translator: geekpi By default, you configure the primary network interface when you set up the server. This is part of everyone's build effort. Sometimes for a v ...

Posted on Wed, 29 Apr 2020 17:51:17 -0700 by Alpha_One

Django Channel real time push and chat

Let's take a look at the final effect   Start chatting, input message and click send message to start chatting       Click "get back-end data" to start real-time push Let's take a brief look at Django Channel Channels is a project that uses Django and extends its functions beyond HTTP to handle WebSocket, chat protocol, IoT protoc ...

Posted on Wed, 29 Apr 2020 17:44:34 -0700 by cdog5000

Deployment of Kubernetes cluster ETCD

kubernetes cluster deployment Three official deployment methods1.minikubeminikube is a tool that can run a single point of kubernetes quickly locally, only for testing K8S or daily developmentDeployment address: https://kubernetes.io/docs/setup/minkube/2.kubeadmKubeadm is also a tool that provides kubeadm init and kubeadm join for rapid deploy ...

Posted on Wed, 29 Apr 2020 08:35:02 -0700 by gauss

Docker enterprise private warehouse introduction and deployment of Harbor

Preface The application, development and operation of docker container are inseparable from reliable image management. In the previous article, we mentioned that when we pull images, we use the public image warehouse provided by docker. However, we also need to deploy the Registry in the private environment in terms of security, efficiency an ...

Posted on Tue, 28 Apr 2020 10:43:01 -0700 by gooney0

Advanced from zero -- build docker swarm and gitlab runner to realize hyperf deployment through continuous integration

Building docker swarm and continuous integration of gitlab runner to realize hyperf deployment Recently, it was found that hyperf is useful. According to the requirements of the official website, you can find out the gitlab runner continuous integration deployment. See the official documents for details: Hyperf Introduction: Docker Swarm: swa ...

Posted on Tue, 28 Apr 2020 04:37:18 -0700 by Supplement

PHP code --ThinkPHP5.1 using Alipay computer website payment

1, Description 1. Overall process No payment has been made before, so it is still a bit confusing for payment. This time, it is mainly a record of the completion of Alipay computer website payment. Explain (Alipay payment, WeChat payment in fact there are many types, such as Alipay, face to face pay, APP payment, mobile phone website payment, W ...

Posted on Tue, 28 Apr 2020 00:10:52 -0700 by savio_mf

[LOJ2321 "Tsinghua training" 2017 infinite ring] explanation

After \ (n \) hours of struggle, LsWn finally got the cancer problem. Question portal If you like Logue better, poke here Let's first look at a picture that can flow correctly (with black-and-white coloring added, then the yellow square represents the upper part of the grid, red represents the lower part, purple is the left, and gray is the ...

Posted on Mon, 27 Apr 2020 17:58:27 -0700 by pucker22

Sleuth link tracking of Spring Cloud series

With the popularity of microservice architecture, services are divided according to different dimensions. A request often involves multiple services. Internet applications are built on different sets of software modules, which may be developed by different teams, implemented by different programming languages, distributed in thousands of server ...

Posted on Sun, 26 Apr 2020 19:13:01 -0700 by clodagh2000