This file contains hidden or 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
| { | |
| "WordPress: Prevent Direct Access to files": { | |
| "prefix": "wp-secure-file", | |
| "body": [ | |
| "defined( 'ABSPATH' ) || exit;", | |
| "$0" | |
| ] | |
| }, | |
| "WordPress: Plugin Headers": { | |
| "prefix": "wp-plugin-headers", |
This file contains hidden or 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
| <!-- Tomorrow Night theme with Terminal options ( Window, Tabs, etc... ) --> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ANSIBlackColor</key> | |
| <data> | |
| YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
| AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
| U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzRjAgMCAwABACgALSFBUWF1okY2xhc3NuYW1l |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <ruleset name="WooCommerce-WordPress"> | |
| <description>Exclude pattern directory and include subdirectory</description> | |
| <!-- Replace "parent-directory" with the directory to exclude. --> | |
| <!-- Replace "include-directory" with the subdirectory to include. --> | |
| <exclude-pattern>*/parent-directory/((?!include-directory)*)</exclude-pattern> | |
| </ruleset> |
This file contains hidden or 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
| add_filter( | |
| 'jet-engine-booking/filter/hook_name', | |
| function ( $result, $data, $form, $notifications ) { | |
| if ( $result ) { | |
| $data = array_filter( $data ); | |
| $page = home_url(); | |
| wp_redirect( add_query_arg( $data, $page ) ); | |
| exit; | |
| } | |
| }, |
This file contains hidden or 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 | |
| /** | |
| * Plugin Name: Obtener las imagenes de responsive slider gallery | |
| * Author: Sergio (kallookoo) | |
| * Author URI: https://dsergio.com | |
| * | |
| * @package ORSG | |
| */ | |
| defined( 'ABSPATH' ) || exit; |
This file contains hidden or 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
| { | |
| "name": "Tomorrow Night", | |
| "black": "#000000", | |
| "red": "#cc6666", | |
| "green": "#b5bd68", | |
| "yellow": "#f0c674", | |
| "blue": "#81a2be", | |
| "purple": "#b294bb", | |
| "cyan": "#8abeb7", | |
| "white": "#ffffff", |
This file contains hidden or 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
| # in_array - Check if an element exists in an array | |
| # Usage: in_array "needle" "${array[@]}" | |
| # Example: in_array "apple" "${fruits[@]}" | |
| in_array() { | |
| [ $# -gt 1 ] && [ "$(printf '%s\n' "$@" | grep -cx -- "$1")" -gt "1" ] | |
| } |
NewerOlder