Common methods of using axios to send requests in React

Install and introduce axios dependency in React To use axios request in React project, you need to install axios first: npm install axios --save Then use typescript to import axios dependency in react file: import axios from 'axios'; GET request with axios There are two ways to use GET requests ...

Posted on Tue, 03 Mar 2020 22:45:51 -0800 by shane18

Do it yourself to realize four free chat robots

Chatterbot is a computer program that talks through dialogue or words. It can simulate human dialogue and pass Turing test, such as Siri, Xiaoai classmates, Microsoft Xiaobing, etc.   This tutorial will teach you to use Python to realize four free and easy-to-use chat robots: Microsoft Xiaobing, Tu ...

Posted on Tue, 03 Mar 2020 22:10:37 -0800 by Sa177ir

Github project - mmdetection model training

[paper - MMDetection: Open MMLab Detection Toolbox and Benchmark - 2019](https://arxiv.org/abs/1906.07155) [github open-mmlab/mmdetection](https://github.com/open-mmlab/mmdetection) [Github project - mmdetection Target detection Library - AIUAI](https://www.aiuai.cn/aifarm1216.html) mmdetection imple ...

Posted on Tue, 03 Mar 2020 19:16:43 -0800 by Mastermind

Create certificates using CFSSL for k8s deployment

Install CFSSL curl -s -L -o /bin/cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 curl -s -L -o /bin/cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 curl -s -L -o /bin/cfssl-certinfo https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 chmod +x /bin/cfssl* Container-related certificate types client certifi ...

Posted on Tue, 03 Mar 2020 08:16:20 -0800 by Pyrite

How do I develop my own cross-platform desktop software using Electron?

Do you think the front end can only write web pages and browsers this lifetime? _In the world at the front there is such a magical framework - Electron.This framework makes it possible for front-end engineers to develop desktop cross-platform software!Moreover, the software developed with Electron has the advantages of fast development speed, s ...

Posted on Mon, 02 Mar 2020 17:06:16 -0800 by hebisr

Python? Network programming

Wedge. You have learned to write python code now. If you write two python files a.py and b.py and run them separately, you will find that the two python files run well respectively. But if you want to pass a data between the two programs, what do you do? This problem can be solved with your current knowledge. We can create a file, write the con ...

Posted on Thu, 27 Feb 2020 23:22:07 -0800 by ViperG

JSON format and FastJson usage details

Article directory 1, JSON form and syntax 1.1 JSON object 1.2 JSON object array 1.3: JSON string 2, Fastjson introduction 2.1 introduction to fastjson 2.2 Fastjson use 2.2.1 use of jsonobject class 2.2.2 use of jsonarray class 2.2.3 use of JSON class Three JSON cases 3.1 json string - JSONObje ...

Posted on Wed, 26 Feb 2020 19:44:19 -0800 by greenie2600

Simple location and real-time weather query using weather forecast interface

Using a web-surfing template (Template Home, Good Place) The interface is as follows: Requirements: 1. Locate to get city information; 2. Pass city information as parameter to weather interface to get weather information Part One: Locating and Obtaining City Information Create an application (browser side) and get AK in the Ba ...

Posted on Wed, 26 Feb 2020 09:19:02 -0800 by kartul

Fabric 2.0 - dynamically add organizations

General Catalogue:(0) how to use blockchain to protect intellectual property(1) HyperLedger Fabric 2.0-release test network deployment(2) Fabric 2.0 first network generation configuration description (3) Configuration analysis of fabric 2.0 startup network script(4) Fabric 2.0 channel practice(5) Fabric ...

Posted on Wed, 26 Feb 2020 01:35:26 -0800 by automatix

Detailed explanation of signaling communication between NodeJs and C + + and pipeline communication under Linux

Catalog   Preface Anonymous pipeline interprocess communication Creation and illustration of inter process pipeline Pipe creation in MediaSoup Creating mediasound channel The process of communication between NodeJs and C + + pipeline MediaSoup message confirmation and event notification Summ ...

Posted on Tue, 25 Feb 2020 23:53:30 -0800 by Leesa