uBlacklist 可以对搜索引擎的结果进行过滤,屏蔽不喜欢/需要的搜索结果,支持常见的如谷歌/必应搜索。
扩展地址:ublacklist
uBlacklist 可以对搜索引擎的结果进行过滤,屏蔽不喜欢/需要的搜索结果,支持常见的如谷歌/必应搜索。
扩展地址:ublacklist
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
<?php | |
if (!function_exists('get_var_type')) { | |
/** | |
* Get the type, resource name, or class name of a variable. | |
* | |
* Returns the type (name if an object or resource) of the PHP variable $var. | |
* | |
* @link http://php.net/manual/en/function.gettype.php#104224 | |
* @param mixed $var The variable being type checked. |
<?php | |
if (!function_exists('is_var_empty')) { | |
/** | |
* Determine whether a variable is empty. | |
* | |
* Alternative to {@see empty()} which will resolve stringable and arrayable objects. | |
* | |
* @param mixed $var The value to be checked. | |
* @return boolean Returns FALSE if var exists and has a non-empty value. Otherwise returns TRUE. |
<?php | |
if (!function_exists('strip_html')) { | |
/** | |
* Strip HTML and PHP tags from a string. | |
* | |
* @param string $str The input string. | |
* @return string Returns the stripped string. | |
*/ | |
function strip_html($str) |
<?php | |
if (!function_exists('array_group_by')) { | |
/** | |
* Groups an array by a given key. | |
* | |
* Groups an array into arrays by a given key, or set of keys, shared between all array members. | |
* | |
* Based on {@author Jake Zatecky}'s {@link https://github.com/jakezatecky/array_group_by array_group_by()} function. | |
* This variant allows $key to be closures. |
<?php | |
if (!function_exists('array_insert')) { | |
/** | |
* Insert an array into another array before/after a certain key | |
* | |
* Merge the elements of the $array array after, or before, the designated $key from the $input array. | |
* It returns the resulting array. | |
* | |
* @param array $input The input array. |
# Folder view configuration files
.DS_Store
Desktop.ini
# Thumbnail cache files
._*
Thumbs.db
# Files that might appear on external disks