BASH: Main advantages:
Command editing ability;
Command and File Completion Function;
Command alias setting function;
Work control, foreground and background control;
1. What are variables?
1. Let a particular string represent an unstable content.2. A variable is a set of words or symbols to repl ...
Posted on Thu, 22 Aug 2019 00:21:49 -0700 by travelbuff
The team started a new project, hoping to build on the engineering of the original project, and then came up with the idea of automatic image compression.
The automatic image compression here is not in the web pack construction phase, but in git commit.
pre-commit is one of the many hooks of git hook. It can be executed before every ...
Posted on Sun, 18 Aug 2019 06:13:36 -0700 by stvs
VSCode uses gcc/g++ of MinGW-w64 to write debugger under windows
If you want to reproduce it, please indicate the source: http://blog.csdn.net/itas109
QQ Technical Exchange Group: 129518033
VSCode uses gcc/g++ of MinGW-w64 to ...
Posted on Sat, 17 Aug 2019 17:42:17 -0700 by chuspy
Bubble sorting (stable)
Compare the two adjacent elements in turn, and change the big ones to the back. The result of a cycle is that the largest number is at the end. Repeat the above steps (except the last one) until you have finished.
Average time complexity: O (n^2)
Optimal time complexity: O(n)
Posted on Mon, 05 Aug 2019 22:45:29 -0700 by ec
Experiment 1 Linux Common Commands and Shell Programming
I. Experimental Contents
a) When running the program on the command line, the Linux system searches a series of directories in the $PATH variable to find the corresponding files, writes a script to output all executable files in th ...
Posted on Sun, 04 Aug 2019 00:54:53 -0700 by importune
The title comes from the Unix Shell exemplar to refine Chapters IV and V of the book, using the datebook file, which reads as follows:
Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300
Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500
Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ ...
Posted on Tue, 30 Jul 2019 20:54:05 -0700 by LiquidCD
MongoDB Learning Notes (1) - Introduction to MongoDB and Data Types
The version of MongoDB used in this article is 4.0.10
Introduction to MongoDB
1. Characteristics of MongoDB
MongoDB is a scalable and high-performance NoSQL database written in C++ language. It aims to provide a high-performance scalable data storage s ...
Posted on Tue, 30 Jul 2019 04:08:30 -0700 by daggardan
1. Some software needs to be uninstalled first
mariadb-libs package needs to be uninstalled first in centos7
shell> rpm -e --nodeps mariadb-libs
2. Installing dependency packages
yum -y install gcc gcc-c++ ncurses ncurses-devel cmake bison bison-devel
The role of dependent pac ...
Posted on Tue, 23 Jul 2019 18:42:27 -0700 by lightkeepr
I. Sticking Pack
phone = socket.socket()
conn,addr = phone.accept()
cmd = conn.recv(1024)
ret = subprocess.Popen(cmd.decode('utf-8'),
Posted on Sat, 20 Jul 2019 00:42:58 -0700 by nashsaint
The need to create users in batches is not very useful in production environments, but it is often seen in interviews.
1) Batch increase of 100 users
2) User name user_01-user_100
3) Set a random password for all users. The password is 12 bits long and needs to contain upper and lower case letters and numbers.
4) and save the user ...
Posted on Fri, 19 Jul 2019 06:11:12 -0700 by hamza