countries.yml
countries:
- GB
- IE
- FR
- DE
- NO| <?php | |
| namespace App\Rcon; | |
| use Psr\Log\LoggerInterface; | |
| use Psr\Log\NullLogger; | |
| /** | |
| * Valve RCON client. | |
| * |
countries.yml
countries:
- GB
- IE
- FR
- DE
- NO| <?php | |
| namespace Valet\Drivers\Custom; | |
| class BedrockMultisiteValetDriver extends \Valet\Drivers\Specific\BedrockValetDriver | |
| { | |
| /** | |
| * Determine if the incoming request is for a static file. | |
| * | |
| * @return string|false |
| <?php namespace App\NavWalker; | |
| use Roots\Soil\Nav\NavWalker as SoilNavWalker; | |
| /** | |
| * @author QWp6t | |
| * @license OSL-3.0 | |
| */ | |
| class Bootstrap extends SoilNavWalker | |
| { |
| <?php | |
| /** | |
| * Plugin Name: Add optgroup support to WooCommerce select form fields | |
| * Description: Converts <code>Group: Option</code> syntax in WooCommerce select form fields into <code><optgroup...><option...></code> | |
| * Author: QWp6t | |
| * Author URI: https://qwp6t.me/ | |
| */ | |
| /** NOTE: This shit was quickly hacked together. Worked for me. YMMV. */ |
| <?php | |
| $recaptcha = filter_input(INPUT_POST, 'g-recaptcha-response', FILTER_CALLBACK, ['options' => validateReCaptcha('<your-secret-here>')]); | |
| $phone = filter_input(INPUT_POST, 'phone', FILTER_CALLBACK, ['options' => validateTelephoneNumber()]); |
| <?php | |
| /** | |
| * Plugin Name: Field Group Location: Post Type Supports | |
| * Plugin URI: http://qwp6t.me/acf-post-type-supports | |
| * Description: Adds ACF Field Group location rule for Post Type Support. NOTE: You must first declare the supported feature in your theme. | |
| * Version: 1.0.0 | |
| * Author: QWp6t | |
| * Author URI: http://qwp6t.me | |
| * License: MIT License | |
| */ |
| DELIMITER || | |
| DROP FUNCTION IF EXISTS GET_DATA|| | |
| CREATE FUNCTION GET_DATA( _data LONGTEXT, _begin LONGTEXT, _end LONGTEXT) RETURNS LONGTEXT | |
| LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA | |
| BEGIN | |
| DECLARE _startPos INT UNSIGNED; | |
| DECLARE _endPos INT UNSIGNED; | |
| SET _startPos = LOCATE(_begin, _data, 1); | |
| IF _startPos < 1 THEN RETURN NULL; END IF; | |
| SET _startPos = _startPos + LENGTH(_begin); |
| var preprocessor = | |
| '#autoit3wrapper_au3check_parameters #autoit3wrapper_au3check_stop_onwarning ' + | |
| '#autoit3wrapper_change2cui #autoit3wrapper_compression #autoit3wrapper_cvswrapper_parameters ' + | |
| '#autoit3wrapper_icon #autoit3wrapper_outfile #autoit3wrapper_outfile_type #autoit3wrapper_plugin_funcs ' + | |
| '#autoit3wrapper_res_comment #autoit3wrapper_res_description #autoit3wrapper_res_field ' + | |
| '#autoit3wrapper_res_file_add #autoit3wrapper_res_fileversion #autoit3wrapper_res_fileversion_autoincrement ' + | |
| '#autoit3wrapper_res_icon_add #autoit3wrapper_res_language #autoit3wrapper_res_legalcopyright ' + | |
| '#autoit3wrapper_res_requestedexecutionlevel #autoit3wrapper_res_savesource #autoit3wrapper_run_after ' + | |
| '#autoit3wrapper_run_au3check #autoit3wrapper_run_before #autoit3wrapper_run_cvswrapper ' + | |
| '#autoit3wrapper_run_debug_mode #autoit3wrapper_run_obfuscator #autoit3wrapper_run_tidy ' + |