snswm's avatar - Seven Notes
Guangzhou, Guangdong Provincejanitors
The guy was lazy and didn't write anything...
Cell phone type access judgment-Small Seven Notes

Cell phone type access judgment

1. determine if it is mobile access ** * determine if it is mobile access * @return boolean */ function cmf_is_mobile() { if (PHP_SAPI ! = 'cli') { static $cmf_is_mobile; if (isset($cmf_is_mobile)) return $cmf...
PHP commonly used variables string checksum rules-Small seven notes

PHP common variable string checksum rules

1, check cell phone number /** * Determine whether the phone format is correct * @param $mobile */ function is_mobile($mobile) { return preg_match('/1[3456789]{1}\d{9}$/',$mobile); } /** * Verify the format of the cell phone * @param $utfstr...
PHP checks whether a pure number - Seven Notes

PHP checks if the number is a plain number

The first: directly use a function, is_numeric() This function is to detect whether the parameter is a number, if so, return true, if not, return false, for example: is\_numeric( 'abcd123' ) ordie('the provided parameter is not a number'); The second ...
PHP to determine whether the 5 methods of empty - Seven Notes

5 Ways PHP Determines Whether or Not It's Null

1. isset function: to determine whether the variable is initialized Description: it does not determine whether the variable is empty, it can be used to determine whether the elements of the array have been defined. Note: When using isset to determine whether an array element has been initialized, it is more efficient than array_key_exists ...
2 years ago
032011
Free Code Editor Integrated Development Tools (IDE) - Lightly-Small Seven Notes

Free Code Editor Integrated Development Tools (IDE) - Lightly

Lightly, make writing code easier Lightly for you to automatically build the development environment, to provide excellent IDE programming experience, support for client & Cloud IDE two modes, your project can be stored in the cloud in real time, you can collaborate with friends to develop or share the project!
The Fastest and Easiest Way to Build Your Own Git Server - Seven Notes

The Fastest and Easiest Way to Build Your Own Git Server

Gogs is a self-service Git service that is extremely easy to set up. The goal of Gogs is to create the simplest, fastest and easiest way to build a self-service Git service. Developed in the Go language, Gogs can be distributed as a standalone binary and supports the Go language's support for...
Free Remote Desktop Software - Free Safe and Smooth Remote Connection to Computer Mobile Phone - Xiaoqi Notes

Free Remote Desktop Software - Free Safe and Smooth Remote Connection to Computer Mobile Phone

1, ToDesk ToDesk remote control software is a stable and smooth remote control computer cell phone connection software, remote desktop office, remote assistance operations and maintenance. Using end-to-end encryption, so that every remote access is safe and reliable. 2, RayLink RayLink remote control software, for individuals and ...
Free open source Vue3 backend template - Seven Notes

Free open source Vue3 backend template

1, Vue-Vben-Admin Vue-Vben-Admin is a backend solution based on Vue3.0, Vite, Ant-Design-Vue, TypeScript , the goal is to provide out-of-the-box solutions for the development of medium and large-scale projects . Including secondary packaging components, utils, hoo...
[PHP class] use PHP to convert JPEG and PNG to WebP-Small Seven Notes

[PHP Class] Convert JPEG and PNG to WebP using PHP

This library allows you to perform webp conversions with PHP. It supports a large number of conversion methods and automatically selects the most capable method available on your system. Installation The Composer library is required as follows: composer require rosell-dk/webp-convert Converts images...
[PHP library] in the image to add text or image watermarks-Small seven notes

[PHP Library] Add text or image watermark on image

Add text or image watermarks to images and PDFs using PHP and ImageMagick. Prerequisites PHP (5.6 or higher) ImageMagickghostscript (only for PDF watermarking) PHPImageMagick extension is not required. Installation Add as composer dependency $...
2 years ago
03509
Web Third-Party Embedded Page Speed Optimization - Xiaoqi Notes

Web Third-Party Embedded Page Speed Optimization

Third-party content may affect the performance of our page in a number of ways. For example, it may block rendering, compete for network bandwidth with other resources on our page, and embedding of third-party web pages may cause the layout to shift when loading, which in turn affects our page's Core Web...
Commonly used broadband speed measurement tools-Small Seven Notes

Commonly used broadband speed measurement tools

Network speed test tool provides network speed test, network quality test, broadband speed test, Wi-Fi speed test, 5G speed test, IPv6 speed test, bandwidth detection, router speed test, gateway speed test, broadband speed boost, broadband upgrade, network acceleration, intranet speed test, private network speed test, video test, game speed test...