Use docker swarm init to initialize a Swarm cluster locally.
At the same time, the node automatically becomes a management node.
If the host has multiple network cards and multiple IPS, you must use -- advertisement addr to specify the IP.
After initialization, the token added by other nodes will be given ...
Posted on Sun, 03 May 2020 08:14:30 -0400 by Niyati_1984
1. Atomic concept
Atom is the basic unit of regular expression
#Ordinary characters as atoms
pattern = "baidu"
string = "http://www.baidu.com"
#Nonprint characters (. Control symbols) as atoms
pattern = "\n"#Line break
string = """http://www.baidu.com
Posted on Fri, 01 May 2020 11:15:05 -0400 by bodge
1. Install Electron
npm insta ...
Posted on Tue, 31 Mar 2020 19:43:28 -0400 by rwachowiak
The FormData interface provides a way to construct key value pairs that represent form data, and the data passing through it can be used XMLHttpRequest.send() Method, this interface and this method are quite simple and direct. If the code type at the time of delivery is set to "multipart / form data", it will use the same format as th ...
Posted on Thu, 26 Mar 2020 10:00:10 -0400 by johncal
Go is a statically typed compiled language designed by Google. It's a bit like C, but it has more advantages, such as garbage collection, memory security, structure type and concurrency. Its concurrent mechanism enables multi-core and network machines to play the most role. This is one of the best selling points of GoLang. In addition, go is fa ...
Posted on Thu, 16 Jan 2020 12:48:57 -0500 by Plxply
Reference blog: linux ElasticSearch.6.2.2 cluster installation and head, Kibana, X-Pack.. plug-in configuration and installation
Reference blog: ELK5.5.1 plug in installation practice summary (head/bigdesk/kopf/cerebo / Chinese word segmentation plug-in)
1. x-pack [default installation of this version]
1 [yun@mini01 ~] $ elasticsearch-plugin ...
Posted on Mon, 06 Jan 2020 17:23:41 -0500 by Mouse
Solutions to node sass error reporting when upgrading node environment to v8 ^
Today, I upgraded the system for my colleague's computer and all the software by the way. I found that the original good project was reported as wrong. The general information of error reporting is as follows:
ERROR Failed to compile with 1 error ...
Posted on Tue, 31 Dec 2019 15:00:29 -0500 by renzaho
What files should I include in.gitignore when using Git with Xcode?
These suggestions are included in the Gist I created on Github: http : //gist.github.com/137348
Fork at will and make it better.
GitHub's staff provided detailed documentation for the Xcode project.gitignore file:
Swift: https : //gith ...
Posted on Mon, 16 Dec 2019 22:04:30 -0500 by kushaljutta
I've written a similar article before: python crawls the public number and crawls in the simplest way
Other students have been asking, maybe there are some small details are not clear, this time to clarify the details thoroughly.
This article adds the ability to download videos in public numbers in batches, so that a public number can be copi ...
Posted on Mon, 09 Dec 2019 22:32:58 -0500 by zesoft.net
It's going to be my birthday soon. I try to find the same gift I like on Taobao. Click the top right corner to share her wechat to see if she can read my careful thinking. This sharing process involves a "random code" (taopassword, which will be called as taopassword in the future). Don't underestimate this taopassword, which contains ...
Posted on Mon, 09 Dec 2019 19:54:38 -0500 by nmohamm