Disable WordPress to automatically save drafts and revisions of articles - Gutenberg Gutenberg editor

 Disable WordPress to automatically save drafts and revisions of articles - Gutenberg Gutenberg editor
WordPress auto save saves drafts of articles regularly during editing. By default, WordPress saves drafts every 60 seconds. You can change or disable this interval by code, but after WordPress launched Gutenberg Gutenberg's new editor, the code provided on the Internet to disable the automatic saving of articles does not seem to be applicable to the new editor! The article ID is not continuous. . Disable Gutenberg autosave plugin directly in WordPress background -

Tencent internal use of TcpA unilateral congestion algorithm (similar to BBR, sharp speed) TCP acceleration to make the website faster

 Tencent internal use of TcpA unilateral congestion algorithm (similar to BBR, sharp speed) TCP acceleration to make the website faster
At present, Google BBR is widely used in TCP one-sided congestion algorithm. Even some small partners have developed BBR violent version, BBR brute force version, BBR plus version, etc. at present, many people use sharp speed, but sharp speed has broken current. This is not recommended. BBR plus has the best effect among BBR versions. Tencent's kernel team has recently announced that it uses TCP unilateral congestion algorithm TcpA, which can be used by webmasters, individuals and enterprises for free. TcpA is more suitable for website users, but BBR plus is more suitable if you are used for watching video and other large bandwidth applications. Borui authority

DD installing windows system on Linux system

 DD installing windows system on Linux system
Generally, VPS vendors only provide Linux distribution systems such as CentOS / Debian / Ubuntu, and few VPS vendors can provide Windows systems. Even if they do, they need to pay extra. Windows itself is not free to use, and it runs on a small memory (512M) machine. It is only recommended to install Linux distribution system, and 1G memory VPS can be tried. In the case that the business does not provide the windows system installation service, we can install through the Linux DD command. The installation process is fully automated, and you do not need to set some installation options

Using MySQL event to set timing task to execute SQL statement

 Using MySQL event to set timing task to execute SQL statement
If you want to execute a SQL statement command at a specific time every day to backup or update or delete the database, you can directly use the event event event of the MySQL scheduled task to perform the operation. It should be noted that the event event is added in MySQL 5.1. Another point is to ensure that you have the root management authority of MySQL database, because the event is closed by default and needs to be opened with root permission. The following will give the opening method. Check whether the event is enabled or not. SHOW ...

Error reported by WP super cache cache plugin after WordPress server moved

 Error reported by WP super cache cache plugin after WordPress server moved
After the server migration is completed, open the website and find that there is an error in the WP super cache plug-in's cache prompt. At this time, if you enter the WordPress management background and refresh it twice, there will be no more. This is because the WP super cache cache plug-in will automatically modify the server path address in the wp-config.php file in the root directory of the blog, and mark the mosaic place. However, when you enter the WP super cache plugin settings page, the following error will appear. Error: your cache directory / home / F / fb16469k / fb16469k.bget.ru/public_ html/wordpress/wp-content...

Vs Code modify the color after selecting the same text or code

 Vs Code modify the color after selecting the same text or code
Visual studio code (vs Code) editor mouse cursor in the code, whether the same code is not very easy to see, less code is relatively easy, but more code is not easy to see at a glance. Fortunately, in addition to changing the theme of vs code, there is a better choice, that is, directly modify the color after selecting the same code. How to modify it? To customize the theme color of the software, the official gives a very detailed code. For details, please refer to https://code.visual studio.com/doc/getstarted/theme-color-reference

Disable the automatic clipping function of WordPress thumbnails and upload images

 Disable the automatic clipping function of WordPress thumbnails and upload images
When WordPress uploads thumbnails, featured images and pictures, they will be automatically cut into multiple small-size pictures according to the proportion. The purpose of this method is to adapt to the image display on different devices. Most of the WordPress Themes currently used are adaptive themes. This function is basically useless, and it has disadvantages, which takes up a lot of space. . Open WordPress God mode

The difference of PX, EM and REM in CSS unit

PX PX pixels are relative to the screen resolution of the display. Fonts, buttons, etc. that use it as units cannot be resized when the browser zooms the page. The value of EM is not fixed. It inherits the font size of the parent element, representing a multiple. If the font size is not currently set by its parent, it is relative to the default font size of the browser. The value of rem is not fixed and is always based on the root element < HTML > and also represents a multiple. The use of EM is relative to the font size of its parent, i.e. multiple. The default font size for browsers is 16px

Web front end development HTML + CSS + JavaScript self taught video tutorial download collection

 Web front end development HTML + CSS + JavaScript self taught video tutorial download collection
Are you ready to join the web front-end development team? Or is there a plan under consideration? Web front-end development as a very new occupation, and fire is a black Tu, this position is also very vacant. It is not as difficult as a programming language. It doesn't take into account the ability of logical thinking and English ability. The beginners are very fast, self-study for a month or two to find a related job is no problem. The following is a video tutorial I collected in learning web front-end development front-end development to learn three parts: HTML, CSS, JavaScript (referred to as JS), so first clear three concepts
All rights reserved

User login

Share with: