I hereby claim:
- I am mthchz on github.
- I am mthchz (https://keybase.io/mthchz) on keybase.
- I have a public key ASBuNxHzVsT4BvuHVK-xBhWtvDUKc1W--7HuIYzGZoVIIQo
To claim this, I am signing this object:
<?php | |
/** | |
* Force WP_Mail with SMTP | |
* Dependency : https://github.com/rohmann/global-smtp | |
*/ | |
function WPMailOnSendFail($wp_error){ | |
$GlobalSMTP = false; | |
if( file_exists( dirname(__FILE__).'/global-smtp.php' ) ){ | |
include_once( dirname(__FILE__).'/global-smtp.php' ); |
/* SCROLLTO ANCHOR | |
*******************************************************************************/ | |
$('.js-scroll-to').on('click', function(event) { | |
event.preventDefault(); | |
var link = $(this).attr('href'); | |
var hashExpression = new RegExp("#([a-zA-Z0-9\-\_]*)$"); | |
if( hashExpression.test(link) ){ |
/* Element is visible ? | |
*******************************************************************************/ | |
$.fn.isVisible = function(partial) { | |
if( typeof $(this).offset() === 'undefined' ) return false; | |
var $t = $(this), | |
$w = $(window), | |
viewTop = $w.scrollTop(), | |
viewBottom = viewTop + $w.height() - 100, |
/* OuterHtml | |
*******************************************************************************/ | |
if( !$.outerHTML ){ | |
$.extend({ | |
outerHTML: function(ele) { | |
if( ele.length === 1 ) return ele[0].outerHTML; | |
var $return = []; | |
ele.each(function(i) { | |
$return.push($(this)[0].outerHTML); | |
}); |
I hereby claim:
To claim this, I am signing this object:
Options -Indexes | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# WordPress | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
01 : Ain | |
02 : Aisne | |
03 : Allier | |
04 : Alpes-de-Haute-Provence | |
06 : Alpes-Maritimes | |
07 : Ardèche | |
08 : Ardennes | |
09 : Ariège | |
10 : Aube | |
11 : Aude |
84 : Auvergne-Rhône-Alpes | |
27 : Bourgogne-France-Comté | |
53 : Bretagne | |
24 : Centre-Val de Loire | |
94 : Corse | |
44 : Grand Est | |
32 : Haut-de-France | |
11 : Île-de-France | |
28 : Normandie | |
75 : Nouvelle-Aquitaine |