• Computer hard disk file or folder name text color changed to blue

    If there are too many files, it will be a long wait

    Archives 2021-09-25 one hundred and forty-one

  • WordPress turns off the default search function

    Add function close in functions.php_ search_ query( $query, $error = true ) { if ( is_search() && !is_admin() ) { $query->is_search = false; $query->query_vars[s] = false; $query->query[s] = false; if ( $er…

    WordPress 2021-07-04 three hundred and eighty

  • The partitioned mechanical hard disk is not displayed in the system, but can be displayed in BIOS and PE

    The disassembled and partitioned old mechanical hard disk is inserted into the computer. It will not be displayed in the system or in the disk management. It can be displayed in the BIOS system or in the PE system, but it will not be displayed in the actual operating system. The computer already has a mechanical disk. Pull out the previous mechanical disk, I replaced a solid-state hard disk for a mechanical hard disk, so I bought a hard disk box, so I simply bought a hard disk cable to connect it to the desktop computer. However, in the host computer, there are only two hard disk power lines, and then I bought a new one

    Archives 2021-06-13 four hundred and ten

  • Chinese display garbled code in Python print

    Add the following code at the beginning. Many of the things I said on the Internet are ineffective ා - * - Coding: UTF-8 - * - or encoding: UTF-8. This has the effect of setting import IO import sys sys sys. Stdout = io. Textiowrapper (sys. Stdout. Buffer, encoding = UTF-8 ')

    Learn 2021-05-28 four hundred and eighty-nine

  • Viewing crontab logs in Linux Debian

    The crontab log of Debian system needs to be opened manually. Find the directory / etc / rsyslog.conf, remove the comment on the line "cron", remove "ා, # cron. * / var / log / cron.log. Restart the log service of Debian system, / etc / init.d/rsyslog restart reference: https://yesnotes.wordpress.com/2013/05/11/debian-cro

    Learn 2021-05-03 six hundred and twenty-two

  • Linux LNMP install coscmd to backup website data to Cos

    Download and install coscmd. If the system does not have pip, PIP installation reference: https://www.blyoo.com/5237.html Execute PIP command through PIP installation: after PIP install coscmd is successfully installed, users can view the current version information through the - V or -- version command. After PIP update installation, execute the following command to update: PIP install coscmd - U configuration create a

    Learn 2021-05-02 six hundred and twenty-four

  • Linux pip: command not found

    Generally, Linux has its own version of Python Python - V. step 1: if the PIP version does not match the python version, an error will be prompted, and the python version > = 36 curl https://bootstrap.pypa.io/get-pip.py -O get-pip.py Python version = = 27 curl https://bootstrap.pypa.io/pip/2.7/get-pip.py

    Learn 2021-05-01 five hundred and seventy-eight

  • Windows CMD make build 'make' is not an internal or external command or a runnable program

    Windows does not have make, the make command is on Linux. On windows, install SPM NPM install SPM - G NPM install SPM build - G run SPM build reference: https://ask.csdn.net/questions/4940158

    Learn 2021-04-29 eight hundred and seventy-eight

  • Python excel xlwt Exception: Attempt to overwrite cell

    Add cell_ overwrite_ OK = true, for example, worksheet = workbook. Add_ Sheet ("sheet 1", cell? Rewrite? OK = true) reference: https://stackoverflow.com/questions/2679502/python-xlwt-attempt-to-overwrite-cell-workaround

    Learn 2021-04-28 six hundred and forty-one

  • Python xlrd.biffh.XLRDError: Excel xlsx file; not supported

    Because the higher version xlrd only supports XLS files, you can uninstall the higher version and install the lower version. PIP uninstall xlrd PIP install xlrd = = 1.2.0 reference: https://blog.csdn.net/weixin_ 44073728/article/details/111054157

    Learn 2021-04-28 eight hundred and seventy-two

  • NPM installation

    NPM install NPM install global install NPM install NPM - G install Taobao image NPM install - G cnpm -- register= https://registry.npm.taobao.org Install NPM to the specified version, such as 1.2.3 NPM install - G npm@1.2.3 NPM upgrade NPM upgrade https://www.blyoo.com/4867.htm

    Learn 2021-04-24 six hundred and twelve

  • React create-react-app Unexpected end of JSON input while parsing near

    When react executes create react app, unexpected end of JSON input while parsing near '... Nature ------ - n "}," en' first executes NPM cache clean -- force, and then re installs NPM NPM NPM install NPM - G reference: https://www.jianshu.com/p/c7

    Learn 2021-04-24 six hundred and forty-six

  • Python UnboundLocalError: local variable ‘xxxx’ referenced before assignment

    Ideal a = 0 def hello(): a + = 1 print (a) hello() realistic unboundlocalerror: local variable 'a' referenced before assignment

    Learn 2020-12-10 one thousand two hundred and ninety-six

  • Convert ffmpeg m3u8 video file to mp4

    ffmpeg.exe -i https://xxx.com/index.m3u8 C: Please refer to this article for download https://www.blyoo.com/5116.html reference resources: https://www.cnblogs.com/zhaotianff/p/13824553.html

    Learn 2020-11-21 one thousand five hundred and sixteen

  • phpmyadmin mysql #1292 – Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘xxx’ at row 5

    Solution 1. The simplest way is to directly modify the data. For example, execute it in phpMyAdmin. My current MySQL version is 8.0 +, Use the following command to change the time from 0000-00-00 00:00:00 to null. Update table name set field = null where field ='0000-00-00 00:00:00'if you can't change it to null, you can do so by randomly giving him the date, year, and day update table name set field =

    Learn 2020-11-21 one thousand six hundred and six