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
/* | |
Script: Date.French.js | |
Date messages in French by Nicolas Sorosac | |
License: | |
http://www.clientcide.com/wiki/cnet-libraries#license | |
*/ | |
MooTools.lang.set('FR', 'Date', { | |
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 | |
define('RECAPTCHA_PUBLIC_KEY', ''); | |
define('RECAPTCHA_PRIVATE_KEY', ''); | |
// Formulaire | |
<script src="https://www.google.com/recaptcha/api.js"></script> | |
<div class="g-recaptcha" data-sitekey="<?php echo RECAPTCHA_PUBLIC_KEY; ?>"></div> | |
// Validation du post |
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 | |
class SMS_OVH | |
{ | |
const SMS_SOAPI_VERSION = '1.63'; | |
const SMS_LOGIN = 'xxxxxxxxxx'; | |
const SMS_PASS = 'xxxxxxxxxx'; | |
const SMS_ACCOUNT = 'xxxxxxxxxx'; | |
const SMS_FROM = 'xxxxxxxxxx'; | |
const SMS_NO_STOP = 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
// <HiDPI_viewport_compatibility> | |
if (typeof window.devicePixelRatio != 'undefined') { | |
var scale = 1 / (window.devicePixelRatio || 1); | |
if (scale != 1) { | |
document.querySelector('meta[name="viewport"]').setAttribute('content', | |
'width=device-width, initial-scale=' + scale + ', minimum-scale=' + scale); | |
} | |
} | |
// </HiDPI_viewport_compatibility> |
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
curl -O https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml | |
wp plugin install wordpress-importer --activate | |
wp import ./theme-unit-test-data.xml --authors=create | |
rm theme-unit-test-data.xml |