Tag:Original document
-
Time:2021-3-6
usage method: $ cp –help Usage: CP [option]… Source file target file Or: CP [option]… Source file… Directory Copy the source file to the target file, or copy multiple source files to the target directory. The parameters that long options must use are also required for short options. -A is equivalent to – PDR -D […]
-
Time:2021-1-21
In Linux, we can also create a shortcut, which is exactly the same as in windows. We can directly enter the directory of the original folder or the original file without clicking the original file. The command to create a soft link (shortcut) is as follows: ln -s exam exam2 This shows that we want […]
-
Time:2020-12-9
1. Copy original file backup sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2. Open the official website of Tsinghua UniversityHelp for using Ubuntu image。 3. Copy the contents in the box below to open your own Ubuntu system. 4. Replace the contents in the box with the original contents sudo gedit /etc/apt/sources.list 5. Update, after the update, you […]
-
Time:2020-11-12
1 Overview Using the convert command to do a small image compression script, only one parameter is required to specify the compression quality, which will compress the JPG / jpeg / PNG of the current folder. sh compress.sh 75 After the compression is completed, the maximum, minimum and average compression ratio are displayed. 2. Main […]
-
Time:2020-11-12
Download official yaml file The latest configuration file v2.0.0-beta8 recommended.yaml , UI address wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml Original document: kind: Service apiVersion: v1 metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: kubernetes-dashboard spec: ports: – port: 443 targetPort: 8443 selector: k8s-app: kubernetes-dashboard It is amended as follows: kind: Service apiVersion: v1 metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: […]
-
Time:2020-10-8
First of all, I would like to thank the suppliers How browser works: from URL input to page loading The process from URL input to page loading? How to improve the front-end knowledge system by a question! From browser multi process to JS single thread, JS running mechanism is the most comprehensive comb Analysis of […]
-
Time:2020-9-19
Batch modification of excel by Python In the morning, I suddenly received a little sister’s help. How to use the program to delete the pictures in Excel in batch? As a front-end dog, I feel a little cluttered. After all, this is not my specialty. Miss, python should be OK. Google it quickly. It has […]
-
Time:2020-9-8
This article starts with the official account: the expected CoyPan. Write it at the front The latest version of chrome supports reading and writing local files directly. Open method: upgrade Chrome browser to version 83 or above; visit chrome://flags/ , enable the native file system API option How to read and write local files At […]
-
Time:2020-8-17
On June 9, the light DAPP development and training competition initiated by the aelf foundation was successfully concluded. This training competition is based on the open test network of aelf, mainly for light DAPP, aiming to encourage more developers to participate in the ecology of aelf. After the event was launched on April 21, the […]
-
Time:2020-5-31
critical code <Upload multiple :format=”[‘jpg’,’jpeg’,’png’]” :beforeUpload=”beforeUpload” action=”” :on-success=”upload” > < button icon = “IOS cloud upload outline” > upload picture < / button > </Upload> import Compressor from “compressorjs” beforeUpload(file) { return new Promise((resolve, reject) => { let isLt1M = file.size / 1024 / 1024 < 1; if (isLt1M) { resolve(file); } new Compressor(file, { […]
-
Time:2020-5-14
(only make a record according to the online tutorial) Execute command to install plug-innpm install svg-sprite-loader –save-dev stayvue.config.js, add configuration module.exports = { … chainWebpack: config => { //Basic loader in a rule //SVG is a basic loader const svgRule = config.module.rule(“svg”); //Clear all existing loaders. //If you do not, the next loader will be […]
-
Time:2020-5-11
In the simplest way of packaging, theAppPack asDMG, realize shared distribution and fast installation 1. New dmg Open the disk tool and create a new dmg File->New Image->Blank Image Create dmg 2. Add documents Right click on the diskman to open Right click – > show in finder Create shortcut key ln -s /Applications […]