~/极核实验室 / tag / jiao-cheng
WordPress 6.5 is expected to be released on March 26. The core program is currently accepting translation suggestions and corrections for new strings, and you are welcome to participate in translation.
In addition, WordPress official has stated that WordPress 6.5 will be the first major release of 2024.
Font Library
With the Font Library, you can easily manage your website's fonts. At the same time, the Font Library can also connect to Google Fonts to obtain online fonts.
If you want to disable the Font Library to avoid unrelated code slowing down the site, you can add the following to wp-config.p
Preface: To make the demonstration easier, the first few screenshots were captured using the Playground environment
Accessing the Dashboard
After setting up WordPress, click the second menu item in the top-right corner (Profile) or the second menu item in the top-left corner (Dashboard) to enter the WordPress dashboard
WordPress site homepage (default theme)
After entering the backend, you can see the feature list on the left, the Admin Bar at the top, and the main area in the center
In the list on the left, you can find all currently available settings, features, tools, etc.
Have you ever thought about giving up Baidu Analytics and Google Analytics and using your own analytics code?
Matomo can make this wish come true
This tutorial uses the BT Panel for demonstration; the environment versions used are higher than the official requirements. Below are the officially required environment specifications:
Translation:
PHP 7.2.5 or higher
MySQL version 5.5 or higher, or MariaDB
Required PHP extensions: pdo and pdo_mysql, or the MySQLi extension
Matomo runs independently of the system and server (can also be translated as independent of the system and server)
I use
First, you need to go to 雨云 to buy a server
Here we take 2C2G as an example
We use Ubuntu 22.04 as the example system
We connect via VNC and select Xtermjs
In the pop-up window, directly enter root
Then use Ctrl+Shift+V to paste the copied root password
If this prompt appears, login is successful
Then we install docker and docker-compose respectively with the following commands
sudo apt update
# The above updates the software package download address
sudo ap
Choose a Suitable Server
The image above shows the official configuration requirements. Since that's the case, of course we should focus on low cost, so just go to 雨云 and buy a 1c1g server.
I chose Ubuntu Server 22.04 as the system.
If you didn't pay attention to the system selection when purchasing, you can shut down the server and change the system.
Install the Management Console
Note: Because the management console needs to use MySQL, I recommend installing it on your main server.
We choose the first option for the VNC connection:
When the window changes to this state (as shown above), switch the input method to English and enter r
This tutorial recommends using Rainyun CDN, which is affordable, fast, and does not charge extra for HTTPS traffic!
Although this CDN is a 1000GB high-defense CDN, if an attacker finds your server IP, they can completely bypass the CDN's defenses and directly put your server IP into blackhole (equivalent to unplugging the network cable).
Tutorial
First, create a website for your server IP.
Then enable SSL and place a special certificate into it (be sure not to set it to the SSL certificate of your own domain).
pemkey-1695470962 download
After setting the certificate of the IP site to this one
LiteSpeed's official free policy is really great; after successfully configuring the domain key and binding it to your account, you can
This tutorial uses a 雨云 2-core 2G server, because the LSCache plugin comes with a crawler that can crawl your own website and check the cache status. If it finds a page for which no cache has been created, the crawler will generate the corresponding version of the cache to speed up access; to crawl and generate cache quickly, you can use a server with a higher CPU frequency and more cores, and the memory should not be too small either
After installing the LiteSpeed Cache plugin,
After a day of testing, it runs normally
Test environment:
Master end:
CentOS 7.9.2009 x86_64
宝塔面板7.9.10
Controlled end:
Debian 10
宝塔面板7.9.10
Note: this is 宝塔云监控 (as shown above), not 宝塔云控平台 (as shown below)!
The cloud control master currently only supports centos 7. The cloud control controlled end currently supports centos and Ubuntu (Debian not tested). The cloud monitoring management system consists of a cloud monitoring master end and a monitored end. The cloud monitoring master
Switch configuration methods
Configuration through the Console port: This method requires using a serial cable to connect the computer to the switch's console port, then using terminal software to log in to the switch and configure it. This is a configuration method that must be used for an initial switch. Only after configuring the necessary basic parameters of the switch through this method can other switch configuration methods be used. Generally, a Console-to-USB cable is used to connect to the computer, and then software such as Xshell can be used to connect to the switch through the COM port. Of course, if
Introduction
FitGirl Repacks is a great place to download cracked game base games + DLC; in essence, it is a torrent search tool. They use their own packaging method to package games into a self-extracting archive that can be run directly by double-clicking (Windows only). It includes most single-player games/games with a single-player mode, and even a small number of online games are available.
How to Use
Click the search icon in the upper right corner
Enter the English name of the game you want to find. If you don't know the English name, you can first search for the Chinese name on Steam.
Here, take “SPHERE: FLYI
What is pjax?
Simply put, it uses ajax technology to fetch documents from the server, updating the current page without refreshing the browser page, and ensures that files such as the page's js and css are not loaded repeatedly. Then, using the pushState feature provided by the browser, it updates the URL and ensures that users can go back to historical pages by clicking the back button.
Why use pjax?
pjax can bring a better experience. Loading a new page does not require reloading css and js.
Clap clap a few times
Someone asked me before how to add the GitHub button in the top-right corner
Because the HTML on this site is minified, it's hard to find where the code is
I'll share the code
Effect Preview
Specific Code
<a href="https://github.biliwind.com" target="_blank" class="github-corner" style="positi