Case 12. shell multithreaded backup database

The shell script is multithreaded, which is somewhat difficult to understand because it is implemented with named pipes. Multithreading means that what was originally done by one process is now done by multiple threads. If a process needs 10 hours to complete something, now allocate 10 threads, divide them up, and then do it at the same time, ...

Added by neh on Tue, 13 Aug 2019 07:21:20 +0300

Case 10. Detecting Domain Name Expiration

If you want to be a website, you first need to purchase a domain name, not buy it, but rent it, because you will have to pay a fee each year if you want to use the domain name.Since it is a lease, there is a time limit. If there is no renewal before the expiration date, the domain name will be withdrawn and others can register and use it. When ...

Added by WRa on Thu, 08 Aug 2019 07:14:27 +0300

Wechat applet interacts with java background

Links to the original text: https://www.cnblogs.com/zeroingToOne/p/8987554.html https://www.cnblogs.com/zeroingToOne/p/8987554.html Wechat applet interacts with java background - zeroing ToOne - blog Park ...

Added by blackhawk08 on Tue, 06 Aug 2019 07:18:56 +0300

Shell Programming Three Swordsmen Details

There are many text processors or text editors in Linux/UNIX system, among which grep, sed and awk are commonly used text processing tools in shell programming. Therefore, they are widely called "Three Swordsmen in shell programming". grep command tool The grep command tool, which is often used in daily life, is not to mention here. ...

Added by XeRoZeN on Sat, 03 Aug 2019 08:11:18 +0300

Super fun vbs code (prank code)

Original Link: https://blog.csdn.net/dongge825/article/details/8025451   VBScript is short for Visual Basic Script, Microsoft Visual BASIC scripting language, sometimes abbreviated as VBS.It is a lightweight interpretive language in M ...

Added by MickeySox on Thu, 01 Aug 2019 04:42:33 +0300

MongoDB Learning Notes - Mongo Shell Common Query Commands

MongoDB Learning Notes (3) - Mongo Shell Common Query Command The version of MongoDB used in this article is 4.0.10 > db.version(); 4.0.10 1. find command for brief query Find (query condition, field returned) 1. Return all fields when querying Db. user. find () - > Query all data in the user collection > db.user.find() { "_id" : Obj ...

Added by john_zakaria on Tue, 30 Jul 2019 14:22:11 +0300

Use of the ad-hoc command line for ansible serials

1. ansible batch operations and configuration management: In this blog, the following points of knowledge and practical experience are mainly explained for your reference: Introduction to ansible: _2. Use of common modules in ansible: _3. Use of ansible playbook: 1. Introduction to ansible: 1.1 Introduction to Ansible:_ansible is a python-base ...

Added by nemesis.2002 on Sat, 27 Jul 2019 19:10:11 +0300

[3] Six Inheritance Ways of JS Inheritance Mechanism

Understanding the basic concepts above, we need to apply what we have learned in practice, how to achieve inheritance in the end? What are the ways to achieve it? Following is the main description of the three most commonly used ways to achieve inheritance, which can meet the basic development needs. ...

Added by 5kyy8lu3 on Tue, 23 Jul 2019 12:32:19 +0300

my_shell implemented by linuxc

problem 1. Implementation of CD command (cd, CD ~, CD -, CD path) Because the CD command is built-in in shell command, it can not call the command of the system to implement cd, so it has to be handwritten. The functions used are: char * getcwd(char * buf, size_t size); //Get the current working d ...

Added by LDM2009 on Tue, 23 Jul 2019 09:03:56 +0300

Zero-based sorting

Holiday first \(Blog\) is Pigeon's first semester ranking 233 Here are some common sorting and optimizations ~ Insert Sort\((Insertion\) Select Sort\((Selection\) (Sort)\) Bubble Sorting((Bubble\) Sort\) Hill Sort\((Shell\) Sort\) Heap Sorting((Heap\) Sort\) Quick Sort\((Quick\) Sort\) Merge Sort\((Merge\) Cardinality Sort\((Radix\) (So ...

Added by jdaura on Thu, 11 Jul 2019 19:41:37 +0300