This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"root": true, | |
"globals": { | |
"_": false, | |
"$": false, | |
"Backbone": false, | |
"JSON": false, | |
"jQuery": false, | |
"wp": false | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* File holding ${NAME} class | |
* | |
#if (${NAMESPACE}) * @package ${NAMESPACE} | |
#end | |
* @since | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuring for: | |
PHP Api Version: 20190902 | |
Zend Module Api No: 20190902 | |
Zend Extension Api No: 320190902 | |
checking for grep that handles long lines and -e... /usr/local/bin/ggrep | |
checking for egrep... /usr/local/bin/ggrep -E | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for pkg-config... /usr/local/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking for cc... cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phpbrew ext install github:php-amqp/php-amqp |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta name="author" content="JetBrains"><script type="text/javascript" src="script.js"></script><link rel="stylesheet" type="text/css" href="styles.css"/><title>PhpStorm inspection report</title></head><body><h3>PhpStorm inspection report:</h3><div style="width:100%;"><div style="float:left; width:50%;"><h4>Inspection tree:</h4><li><label for="174171066"><b>'InspectionViewTree' project</b> <span class="grayout"> 6 errors 53 warnings 127 weak warnings 477 typos </span></label><input type="checkbox" checked onclick="navigate(174171066)" id="174171066" /><ol class="tree"><li><label for="349200440"><b>CSS</b> group <span class="grayout"> 1 warning </span></label><input type="checkbox" onclick="navigate(349200440)" id="349200440" /><ol class="tree"><li><label for="1676378579"><b>Invalid elements</b> group <span class="grayout">&n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
function getDirs( $currentDir ) { | |
return array_filter( $currentDir, function ( $dir ) { | |
return is_dir( $dir ) && $dir !== '..' && $dir !== '.'; | |
} ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
function getDirs( $currentDir ) { | |
return array_filter( $currentDir, function ( $dir ) { | |
return is_dir( $dir ) && $dir !== '..' && $dir !== '.'; | |
} ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const ajaxFetch = (options, resolve, reject) => $.ajax(options) | |
.done(resolve) | |
.fail(reject); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for package in $(ls -1); do echo $package; jq -r .version $package/package.json; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_ajax_simple_vies_check', 'simple_vies_check' ); | |
add_action( 'wp_ajax_nopriv_simple_vies_check', 'simple_vies_check' ); | |
if ( ! function_exists( 'simple_vies_check' ) ) { | |
/** | |
* AJAX VIES check function for WooCommerce checkout | |
* | |
* @since 1.0.0 |