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
# Fail2ban configuration file | |
# | |
# Author: zEvilz <zevilz13@yandex.ru> | |
# | |
[INCLUDES] | |
before = iptables-common.conf | |
[Definition] |
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
wp_enqueue_style( 'style', get_template_directory_uri() . '/style.css', array(), filemtime( get_theme_file_path('/style.css')) ); | |
wp_enqueue_script( 'app', get_template_directory_uri() . '/js/app.js', array(), filemtime( get_theme_file_path('/js/app.js')), true ); |
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
function isset(v){ | |
if(typeof v === 'undefined'){ | |
return false; | |
} else if( typeof v === 'object' && v === null || typeof v === 'object' && Object.keys(v).length === 0){ | |
return false; | |
} else if( v instanceof Array && v.length === 0){ | |
return false; | |
} else if (typeof v === 'number' && isNaN(v) ){ | |
return 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
function isset_get(v){ | |
if(typeof v === 'undefined'){ | |
return ''; | |
} else if( typeof v === 'object' && v === null || typeof v === 'object' && Object.keys(v).length === 0){ | |
return ''; | |
} else if( v instanceof Array && v.length === 0){ | |
return ''; | |
} else if (typeof v === 'number' && isNaN(v)){ | |
return ''; | |
} |
OlderNewer