git-multi-status — View a summary of the status for multiple repositories.
git-multi-status [<options>…] [--] [<path>…]
<?php | |
/** | |
* PHP var_export() with short array syntax (square brackets) indented 2 spaces. | |
* | |
* @todo Fix edge case where if a string value has `=>\n[` it will get converted to `=> [`. | |
* | |
* @link https://www.php.net/manual/en/function.var-export.php | |
* | |
* @param mixed $expression | |
* @param bool $return |
#!/bin/bash | |
# Creator: Phil Cook | |
# Modified: Andy Miller (2020-11-27) | |
# Modified: Chauncey McAskill (2022-09-21) | |
osx_major_version=$(sw_vers -productVersion | cut -d. -f1) | |
osx_minor_version=$(sw_vers -productVersion | cut -d. -f2) | |
osx_patch_version=$(sw_vers -productVersion | cut -d. -f3) | |
osx_patch_version=${osx_patch_version:-0} | |
osx_version=$((${osx_major_version} * 10000 + ${osx_minor_version} * 100 + ${osx_patch_version})) |
<?php | |
/** | |
* WordPress Ajax Process Execution | |
* | |
* This file is a near-identical copy of {@see wp-admin/admin-ajax.php} from WordPress v6.3.0. | |
* | |
* Differences: | |
* 1. Constant `WP_ADMIN` is set to FALSE, by default. | |
* 2. WordPress action 'admin_init' is replaced with custom action 'ajax_init'. | |
* 4. Custom actions hooked on 'admin_init' are not executed. |
<?php | |
/** | |
* Call the callback with one or all handlers disabled for the given action or filter. | |
* | |
* Temporarily disables the specified hook, or all hooks, from a specified filter or action | |
* before calling $callback. | |
* | |
* @link https://gist.github.com/westonruter/6647252 | |
* |