node.js 17 file operation

This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/2819/ After talking about the module concept, let's take a look at the file operations in node.js in this article. The API of file operation is in fs module, fs is called "File System". Most programming languages provide file manipulation, and node.js is no ...

Added by Zallus on Tue, 24 Mar 2020 17:58:08 +0200

What kinds of webpack plug-ins do you use?

​ background Recently, I've been looking at something related to weback plug-ins. I don't know a lot about weback, but these things are necessary for senior programmers to master. Try to learn. introduce Official website: https://www.webbackjs.com/concepts/plugins/ There are so many things on the ...

Added by skalar on Sun, 15 Mar 2020 11:03:26 +0200

Upgrade Python version under CentOS7

Article directory Upgrade Python version under CentOS7 1. Switch directory to / usr/local 2. Download directory Python version package 3. Unzip Python package 4. Create a folder in the current directory -- Python 3 5. Build install Command interpretation: 6. Create Python 3 soft connection directly 7 ...

Added by sonehs on Tue, 10 Mar 2020 12:33:05 +0200

[quick review] use of fs module in Node.js

JavaScript does not have the ability to operate files, but node can do it. Node provides the operating file system module, which is a very important and high-frequency module used in node and an absolutely necessary module system. fs module provides a lot of interfaces. Here we mainly talk about some c ...

Added by Davo on Thu, 05 Mar 2020 10:58:03 +0200

Gets the list of parameters passed in a Windows batch script (. bat)

I want to find the Windows batch copy, which corresponds to Bash's $@, which contains a list of all the parameters passed to the script. Or do I have to shift? #1 building The method to retrieve all parameters in the script is as follows: @ECHO off ECHO The %~nx0 script args are... for %%I IN (%*) DO ECHO %%I pause #2 building ...

Added by R_P on Wed, 12 Feb 2020 16:06:34 +0200

Basic use of react-router

Basic use of react-router When you work on a project, you find that your knowledge of routing is not enough. It is only a few simple things. You don't know much about routing-related matching caused by page jumps and url resets, so simply say Routing. Route Routing is designed to keep our UI and URL ...

Added by lookielookies on Tue, 11 Feb 2020 03:12:58 +0200

The use of v-model instruction in Vue

1.Vue's common instruction v-model can create two-way data binding on the form < input > and < textarea > elements, and automatically select the correct method to update the elements according to the type of control. It monitors the user's input time to update the data. The binding results of different control types ...

Added by ScratchyAnt on Fri, 31 Jan 2020 19:07:39 +0200

Install and configure elasticsearch 7.5.1 cluster

This blog is only for simple cluster configuration. For more information, please refer to Official documents. 1, Preparation before installation The environment is as follows: System version IP role centos 7.5 192.168.20.2 ES 01,logstash,ES-Head,logstash,kibana centos 7.5 192.168.20.7 ES 02 centos 7.5 192.168.20.8 ES 03 Note: all ...

Added by dheeraj on Wed, 29 Jan 2020 16:52:00 +0200

vue I. basic use of vue, v-instruction, life cycle, template component template, watch data monitoring

vue official api tutorial: https://cn.vuejs.org/v2/guide/ vue official api document: https://cn.vuejs.org/v2/api/#watch 1, Download the vue special development tool HbuilderX (you can also use other) Just download and install HbuilderX Download: https://www.dcloud.io/hbuilderx.html 2, The first exam ...

Added by cnperry on Mon, 27 Jan 2020 07:24:30 +0200

Umi beginners Documentary - creating projects & common configurations

umi It's an enterprise react Application framework is also the bottom front-end framework of ant gold The front frame and engineering practice of ant gold suit   1, Installation of scaffolding Before you create a project, you need to ensure that you have an environment of node 8.10 or higher Official scaffolding is available create-umi Qui ...

Added by Lumio on Wed, 15 Jan 2020 12:15:44 +0200