Tag:wildcard

  • CentOS 7 MySQL 5.7 master slave only synchronizes partial libraries or tables

    Time:2021-2-27

      There are two ways to synchronize partial data The master only sends the required data; Advantages: the relay log is small; if there are multiple slave databases, it only needs to be controlled in the master database Disadvantages: it’s troublesome to modify midway, and you can’t control the synchronized table Slave only receives what […]

  • What should be paid attention to when using wildcard in Ren command

    Time:2021-2-26

    1、 Ren full file name * specifies any character or continuous string in the full file name. ExtensionChange the file name to: from the beginning of the original file name to the specified character (string). ExtensionFor example:10. C for Ren 10. PDF * 0. CRen 10. PDF * P.C gets 10. P.CRen 10. PDF * […]

  • Using MMV command to batch modify file name

    Time:2021-2-13

    stayLinuxUsing MV incommandYou can rename or move files and directories, but it does not support renaming multiple files at once. This paper introduces the use of MMV, using wildcard mode to move / copy / append / link multiple files Environmental Science Centos7.7 Install MMV By default, there is no MMV installation package in the […]

  • Generating / run / initramfs caused by power failure of CentOS 7/ rdsosreport.txt problem

    Time:2021-1-29

    Generating / run / initramfs caused by power failure of CentOS 7/ rdsosreport.txt problem Physical power failure sometimes occurs generating “/run/initramfs/rdsosreport.txt” entering emergencymode. exit the shell to continue type “journalctl” to view system logs. you might want to save “/run/initramfs/rdsosreport.txt” to a usb stick or /boot after mounting them and attach it to a bug […]

  • SQL Server special character query and use of escape

    Time:2021-1-19

    An old project of the company, SQL Server In fuzzy query, the query condition contains, and then the query result is always empty If there is no character after escape character in like mode, the mode is invalid and like returns false. If the character after the escape character is not a wildcard, the escape […]

  • Explain SQL wildcard in detail

    Time:2021-1-17

    Wildcards can be used to replace any other character in a string. SQL wildcard In SQL, wildcards are used with the SQL like operator. SQL wildcards are used to search for data in a table. In SQL, you can use the following wildcards: wildcard describe % Replace 0 or more characters _ Replace one character […]

  • Redis in docker

    Time:2021-1-14

    1. Enter the docker’s redis docker exec -ti [CONTAINER ID] redis-cli 2. Verify the password before performing the operationAuthentication required(if you configured it in config) auth 12345678 3. You can use wildcards to view the key and search according to the key* ?etc. keys * keys dis* 4. Delete key del key [key … ] […]

  • Similarities and differences between and in Java generics

    Time:2021-1-5

    I believe many people, like me, have been exposed to Java for many years, but they still don’t knowJavaIn generics<?>and<? extends Object>They are similar and different. However, this should be a high-end question. Before we have a deep discussion, it is necessary to have a basic understanding of Java generics. Please see the last article […]

  • Rust match and if let

    Time:2020-12-29

    The match Control Flow OperatorControl flow operator match Patterns That Bind to ValuesMode of binding values[ugly programs,isn’t it?] fn main() { let x = Week:: Weekend(Home:: Music); let r = match_week(x); println!(“Hello, {:?}!”, r); } #[derive(Debug)] enum Work { Chinese, Computer, English, Math, Nature, } #[derive(Debug)] enum Home { Music, Sleep, Swimming, } #[derive(Debug)] enum […]

  • Use MMV command to modify file name in batch

    Time:2020-12-9

    stayLinuxMV is used incommandYou can rename or move files and directories, but it does not support renaming multiple files at a time. This paper introduces the use of MMV, using the wildcard pattern to move / copy / append / link multiple files Environmental Science Centos7.7 Installation of MMV By default, there is no MMV […]

  • Analysis of Java generic wildcard instances

    Time:2020-11-17

    This article mainly introduces the Java generics commonly used wildcard example analysis, the article through the example code introduction is very detailed, to everybody’s study or the work has the certain reference study value, the need friend may refer to Today, I’m looking at the original code of ArrayList. I see such a symbol. I’m […]

  • CSS selector priority

    Time:2020-11-17

    !important Writing this style after the attribute will override the style of the element defined anywhere on the page. 2. In line style, the style written in the style attribute. Selector ID 4. Class selector 5. Label selector 6. Wildcard selector* 7. Custom properties and inheritance of browser