Tag:rename

  • Use PHP to realize PDF quickly

    Time:2020-11-16

    When we develop large PHP applications, we usually need to generate some PDF files. With dompdf library, we can simply render HTML layout as PDF file. Through dompdf library, we can write external style sheet, inline style label, font size, font color, etc. Dompdf will help customize PDF files. Step 1: installation and setup In […]

  • Using Python script to uniformly rename the training picture file name

    Time:2020-10-24

    Yolo algorithm often uses VOC data format in model training. To copy the image file to the jpegimages directory, you need to rename the file name with VOC standard format number, such as 2020_ 000001.jpg,2020_ 00000 2.jpg, which is convenient for VOC_ label.py For subsequent processing. If this work is done by hand, it is […]

  • Centos7 installation hive3.1.2

    Time:2020-10-19

    Hive3.1.2 installation 1. Download wget https://mirrors.tuna.tsinghua.edu.cn/apache/hive/hive-3.1.2/apache-hive-3.1.2-bin.tar.gz 2. Decompression tar -zxvf apache-hive-3.1.2-bin.tar.gz 3. Rename mv apache-hive-3.1.2-bin hive Configure hive 1. Edit hive- site.xml #Create a hive- site.xml file vim /usr/share/hive/conf/hive-site.xml #Add the following content (MySQL is configured to store metadata) <configuration> <property> <name>hive.exec.scratchdir</name> <value>/home/hadoop/scratchdir</value> </property> <property> <name>hive.metastore.warehouse.dir</name> <value>/home/hadoop/warehouse</value> </property> <property> <name>hive.metastore.uris</name> <value>thrift://hadoop:9083</value> </property> <property> <name>javax.jdo.option.ConnectionDriverName</name> <value>com.mysql.cj.jdbc.Driver</value> […]

  • How to batch rename Ren

    Time:2020-10-19

    Batch Ren command – batch modify file name 1. Batch modify the file suffix name in batch (suppose I need to change many txt files in a folder into SQL files) 1) Create a new TXT text in the folder of the file to be processed, and then write in the text:           ren *.txt […]

  • Centos7 install HBase 1.6.0

    Time:2020-10-18

    Installation and configuration of HBase 1.6.0 Installation and configuration of zookeeper 1. HBase depends on zookeeper, which needs to be installed before use #Download wget https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz #Decompress tar -zxvf zookeeper-3.4.14.tar.gz #Rename mv zookeeper-3.4.14 zookeeper 2. Configuration #The internal configuration can remain unchanged and only one copy is needed cd zookeeper/conf cp zoo_sample.cfg zoo.cfg 3. Start […]

  • Take a look at what new features you can use with the spring boot 2.2 release?

    Time:2020-9-27

    Please visit the author’s blog for articles on the use of the new features of springboot 2.2 http://blog.yuqiyu.com Spring framework upgrade SpringBoot2.2At the bottom ofSpring FrameworkVersion upgrade to5.2。 JMX is disabled by default JMX is no longer enabled by default. You can use configuration properties spring.jmx.enabled =True enables this feature. If you use ide features […]

  • The latest version of Xcode that MacOS Mojave can install

    Time:2020-9-27

    The latest version of Xcode that MacOS Mojave can install is 11.3.1 Later versions of Xcode no longer support MacOS Mojave Xcode official download address, you need to log in to Apple account. After downloading, double-click to unzip the XIP file, and then drag the extracted file to the application. If you want to keep […]

  • How to use the rename command in Linux system

    Time:2020-9-16

    Under DOS / windows, rename the file. And the book says that under Linux, MV should be used to rename files or directories. I’ve been doing this all the time, but I’ve ignored that there’s also a rename command under Linux. They are all rename, but there are some differences in function. Rename under Linux […]

  • Linux CentOS install node & FFI, parse. So file

    Time:2020-9-10

    Operating environment: Linux CentOS 7 64 bit First switch to root modeSu – root, prompt for password, and then do the following. Install WGet1.yum install -y wget Download 8.6.02.wget https://nodejs.org/dist/v8.6….decompression3.xz -d node-v8.6.0-linux-x64.tar.xz 4.tar -xf node-v8.6.0-linux-x64.tarrename5.mv node-v8.6.0-linux-x64 node-v8.6.0Add to global use6.ln -s /root/node-v8.6.0/bin/node /usr/local/bin/node 7.ln -s /root/node-v8.6.0/bin/npm /usr/local/bin/npm Install FFI (requires node version 8-10, python 2.7, […]

  • Failure causes and solutions of invalid devices when renaming files or folders in computers

    Time:2020-9-3

    When renaming some files or folders in the computer, a prompt will pop up to display “invalid device“. The specific problems are as follows: Failure cause analysis: This problem may be caused by some antivirus software functions taking system rights. resolvent: 1. First consider whether it is due to Trojan virus, cut off the network […]

  • Using kind to build kubernetes environment quickly

    Time:2020-8-30

    Using kind to build kubernetes environment quickly Intro Kind (kubernetes in docker) is a tool to build kubernetes cluster based on docker, which is very suitable for building kubernetes based development / test environment locally. I have wanted to write an article on kind for a long time, but there is a problem with previous […]

  • Git ignores file name case

    Time:2020-8-17

    Problem scenarios GitlabWhen merging branches, it is prompted that a file already exists and needs to be submitted However, when the actual operation is submitted, it cannot be submitted. File already exists and always reports an exception GitTerminal prompts such asE:/github/code-snippet/src/views/Time/index.vue But the local code isE:/github/code-snippet/src/views/time/index.vue(notetimeUpper and lower case) This is due to two different […]