Simplified judgment of whether it is a mobile visit - PointNet

``` var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), is

2016-01-23

Read more
How to Check Which Process is Occupying Disk IO in Linux

**Method 1:** ``` $ iotop -oP ``` Meaning of the command: Only display processes with I/O activity Test result: ![image](https://img-blog.csdn.net/20161224224723880?watermark/2/text/aHR0cDovL2Jsb2

2016-12-24

Read more
Installing Collabora Online on Linux to Enable Office Online Editing for NextCloud

NextCloud can achieve online editing of Office documents through plugins, but it depends on the Collabora Online service. Here are the steps to set it up. ![NextCloud Logo](https://cdn.xiaoz.me/wp-co

2018-08-14

Read more
4 Methods to Change MySQL Root Password

**Method 1: Using SET PASSWORD command** First, log in to MySQL. Format: mysql> set password for username@localhost = password('new password'); Example: mysql> set password for root@localh

2018-01-05

Read more
ImgURL Image Hosting Updated to v1.2, Added URL Batch Upload

ImgURL is a simple and pure image hosting program developed using PHP + SQLite 3. It does not require complex configuration and is ready to use. ![ImgURL](https://cdn.xiaoz.me/wp-content/uploads/2018

2018-08-11

Read more
The efficiency of array replacement in str_replace in PHP is also quite high

# Replacing Multiple Words in PHP Previously, when I was writing PHP programs, I only knew how to use `str_replace` to replace a single word. If there were multiple keywords that needed to be replace

2012-01-02

Read more
SpeedDisk - Free from the Troubles of Baidu Cloud Disk Speed Limit

In the previous article "[Pan Download: A High-Speed Download Tool for Baidu Netdisk](https://blog.xiaoz.org/archives/10793)", I shared the Baidu Netdisk download tool Pan Download. I received a comme

2018-08-06

Read more
Powerful Pan Download for High-speed Downloads on Baidu Netdisk

Previously shared [《Baidu Netdisk Direct Download (Breaking Large File Limit) Tips》](https://blog.xiaoz.org/archives/7419), this method is still usable, but it requires installing extensions and s

2018-08-05

Read more
Three Ways to Quickly Get the WordPress Current Theme Folder Directory

When creating a WordPress theme, you may need to reference files in the current theme folder, such as the favicon.ico icon and js/jQuery. Therefore, you need to quickly obtain the path of the current

2015-11-07

Read more
Adding "nofollow" attribute to external links in WordPress blog articles

To add the "nofollow" attribute to external links in WordPress blog articles, you can add the following code to the functions.php file of your theme. This code will only add the "nofollow" attribute t

2013-10-14

Read more