Docker configuration accelerator
Docker accelerator
Using docker to obtain images officially, because of network reasons, the process of pulling images is very slow. By configuring docker accelerator, the speed of accessing Docker Hub in domestic network is improved;
docker environment installed
[root@GaoServer ~]# docker run hello-world
Hello fro ...
Posted by jd57 on Tue, 31 Mar 2020 21:45:24 -0700
nginx profile description
nginx.conf
user www www; # Nginx's worker processes run users and user groups
worker_processes 4; # Number of startup processes, usually set equal to the number of CPUs
#worker_processes auto;
#The following parameters specify which cpu is assigned to which process, generally speaking, there is no special specific ...
Posted by lukeurtnowski on Tue, 31 Mar 2020 13:02:36 -0700
bzoj3504: [Cqoi2014] dangerous bridge (maximum flow)
Title gate
.
Solution:
As soon as I see this question.
Shout out "don't you finish building the map and run the network flow?"
Mr. Zhu came and patted me: if a1 flows to b2, the reverse will do..
conversely?? What the hell?
emmmm well, then I gave up the treatment to decadent.
I see the question again..
What ...
Posted by Axem on Tue, 31 Mar 2020 05:09:29 -0700
android foundation interface development considerations
When doing Android development, we must pay attention to that the main thread cannot change the UI interface. If there is a crash when the program is running, and if there is no obvious syntax error, please check whether there is a conflict or crash in your own process. If there is a connection with the background, that is, when the request is ...
Posted by josh_mcqueen on Mon, 30 Mar 2020 10:34:23 -0700
Java exception handling
1, Exception overview and exception architecture
1. Overview of exceptions
In the process of using computer language for project development, even if the programmer writes the code perfectly, there are still some problems in the operation of the system, because many problems can not be avoided by the code, such as: the format of customer input ...
Posted by jeethau on Mon, 30 Mar 2020 01:43:32 -0700
Polar rabbit express bill No. query - polar rabbit Express
Preface
After reading this article, copy the source code to your project, and you can quickly complete the docking of polar rabbit express interface. The effect of the interface displayed on the official website of polar rabbit express is more suitable for novices, Call the polar rabbit Express query API interface of the express bird to query ...
Posted by dk4210 on Mon, 30 Mar 2020 00:16:37 -0700
Python3 Standard Library: Managing concurrent operations in threading processes
1. Manage concurrent operations in threading processes
The threading module provides an API to manage the execution of multiple threads, allowing programs to run multiple operations concurrently in the same process space.
1.1 Thread object
The easiest way to use Thread is to instantiate a Thread object with a target function and call start() to ...
Posted by j.smith1981 on Sun, 29 Mar 2020 18:54:15 -0700
Install traefik ingress in Kubernetes
#Download Configuration List
wget https://github.com/containous/traefik/tree/v1.7/examples/k8s
#There are three files in the link that start with traefik-and you can see their names, of which traefik-deployment.yaml is not used here
# traefik-deployment.yaml is either traefik-ds.yaml or traefik-ds.yaml, which is recommended because the conf ...
Posted by mj_23 on Sun, 29 Mar 2020 09:50:42 -0700
LeetCode 820. Word compression
My LeetCode: https://leetcode-cn.com/u/ituring/
My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii
LeetCode 820. Word compression
subject
Given A list of words, we encode this list into an index string S and an index list A.
For example, if the list is ["time", "me", "bell"], we can expres ...
Posted by bettydailey on Sun, 29 Mar 2020 08:11:11 -0700
Making games with createJS
Using createJS to make web games
I. directory
1. Introduction to createJS
2. Case design
2, Introduction to createJS
1. What is createJS?
CreateJS is the CreateJS library, which is an engine developed for HTML5 games. CreateJS is a set of open-source toolkit that can build rich interactive experience of HTML5 games. It aims to reduce the develo ...
Posted by TheNookie on Sun, 29 Mar 2020 07:58:10 -0700