Mongodb backup restore common commands

Mongodb's export mongodump is used in combination with mongorestore import tool. Can be used for database backup and restore. mongodump is a utility for creating binary exports of database content. mongodump can export data from mongod or mongos instances; that is, it can export data from independent, replica set and shard cluster deployment.I ...

Posted by rmbarnes82 on Wed, 27 May 2020 06:10:35 -0700

From enterprise wechat robot to Xiaoai classmate, use Serverless to realize life intelligence!

Through timing trigger, an enterprise wechat robot can be customized simply and quickly. We can use it to realize small functions such as drinking water, eating reminder, etc., and also to push news, weather and even monitor alarm regularly. Use enterprise wechat robot In enterprise wechat, select Add robot: After that, we can customize the ba ...

Posted by EvilPrimate on Wed, 27 May 2020 05:58:34 -0700

@The RequestBody parameter has been read. Why?

I don't know if you check the user's allergy. If you don't check, the user belongs to some attack scripts, then our service will be forced! So we first need to read the user's data through the filter for safety verification, which involves an action, that is, we need to read the user's data in the filter for verification, and then release it af ...

Posted by wilorichie on Tue, 26 May 2020 19:27:13 -0700

C ා httpclient uses Consul discovery service

Tried Overt.Core.Grpc The use of GRPC is transformed to WCF, and the performance test is also very good. It is highly recommended for you to useBut most of the existing projects are http requests. If they are transformed into GRPC, the workload will be heavy, so we found Steeltoe.Discovery Add DelegatingHandler to HttpClient in Startup, dynamic ...

Posted by Lessur on Tue, 26 May 2020 07:42:24 -0700

Istio Sidecar injection principle

concept In short, Sidecar injection adds the configuration of additional containers to the Pod template. This refers to the Pod in which the Envoy container is applied. Currently, the containers required by Istio service grid are: Istio init is used to set iptables rules so that inbound / outbound traffic passes through the Sidecar agent. Initi ...

Posted by asparagus on Mon, 25 May 2020 05:12:54 -0700

Python playing with Excel: automatic function filling and data sorting

In the work, we often use excel to deal with data and display, but for some work we can use the help of programs to achieve efficient problem-solving effect. For example, the json returned from the interface is parsed and saved in Excel, the data in excel is processed according to certain rules and then written into a new EXCEL file, and the co ...

Posted by 3r0ss on Sun, 24 May 2020 23:33:32 -0700

vue image upload

@Official documents @Reference blog1,@Reference blog 2 Final effect:         realization: After the introduction of iView, an error is found, and the error information can be referred to @Reference blog 1, according to the blog Guide cnpm uninstall vue-cli -g cnpm install -g @vue/clivue init webpack yanancnpm install vue Then i ...

Posted by corruption on Sat, 23 May 2020 07:10:01 -0700

WebApiClientCore usage instructions

Preface I am WebApiClient The author of the library, who is currently developing his version of.netcore, after sorting out his readme, think about how this might be useful for everyone, and perhaps give WebApiClient More people, so I'll post readme here as a blog. WebApiClientCore WebApiClient.JIT The.netcore version of HttpClient, a declar ...

Posted by hexguy on Fri, 22 May 2020 18:01:02 -0700

How to run a front-end angular project

1. Install first node.js Go to the official website to download and install: https://nodejs.org/en/ 2. Download pkg file and install it on mac 3. After the installation, verify whether it is successful at the terminal $ npm -v 6.14.4 $ node -v v12.16.3 4. Install angular console npm install -g @angular/cli This installs the comma ...

Posted by the max on Fri, 22 May 2020 07:47:19 -0700

Introduction to Docker foundation of container technology

We have learned the basic usage of LXC and the simple use of LXC WEB Panel, which can be referred to by interested friends https://www.cnblogs.com/qiuhom-1874/p/12904188.html Today's essay is mainly about the basic knowledge of docker; I. docker and LXC First let's talk about the difference between docker and traditional LXC containers. The tra ...

Posted by drag0n on Fri, 22 May 2020 06:47:21 -0700