View functions.php
1 2 3 4 5 6 7 8 9 10
<?php
add_filter(
'spcl_acceptable_protocols',
'set_spcl_acceptable_protocols'
);
function set_spcl_acceptable_protocols( $schemes ) {
return array(
View comodo.pem
1 2 3 4 5 6 7 8 9 10
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR
Q09NT0RPIENBIExpbWl0ZWQxNjA0BgNVBAMTLUNPTU9ETyBSU0EgRG9tYWluIFZh
bGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAI7CAhnhoFmk6zg1jSz9AdDTScBkxwtiBUUWOqigwAwCfx3M28Sh
View .htaccess
1 2
AddOutputFilter SUBSTITUTE html
Substitute "s/[\n\t]//i"
View gist:59c014d82347215784f4
1 2 3 4 5 6 7 8 9 10
<?php
add_filter(
'checksum_verifier_ignore_files',
'set_checksum_verifier_ignore_files'
);
function set_checksum_verifier_ignore_files( $files ) {
$files[] = 'wp-content/languages/de_DE.po';
View gist:bdb9d4b07daa3f3f9c16
1 2 3
DELETE FROM `wp_postmeta` WHERE `post_id` IN ( SELECT `ID` FROM `wp_posts` WHERE `post_type` = 'snitch' )
 
DELETE FROM `wp_posts` WHERE `post_type` = 'snitch'
View nginx.conf
1 2 3
location ~* \.(txt|log|xml|css|js)$ {
add_header X-Robots-Tag noindex;
}
View .htaccess
1 2 3
<FilesMatch "\.(txt|log|xml|css|js)$">
Header set X-Robots-Tag "noindex"
</FilesMatch>
View vat_rates.php
1 2 3 4 5 6 7 8 9 10
$vat_rates = array(
'AT' => 20, // Austria
'BE' => 21, // Belgium
'BG' => 20, // Bulgaria
'HR' => 25, // Croatia
'CY' => 19, // Cyprus
'CZ' => 21, // Czech Republic
'DK' => 25, // Denmark
'EE' => 20, // Estonia
'FI' => 24, // Finland
View gulpfile.js
1 2 3 4 5 6 7 8 9 10
/* Load plugins */
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
watch = require('gulp-watch'),
jshint = require('gulp-jshint'),
notify = require('gulp-notify'),
uncss = require('gulp-uncss'),
zopfli = require("gulp-zopfli"),
connect = require('gulp-connect'),
minifyhtml = require('gulp-minify-html'),
View .htaccess
1 2 3 4 5 6 7 8
# To be placed in
# /wp-content/.htaccess
 
 
<FilesMatch "\.(log|txt)$">
Order Allow,Deny
Deny from all
</FilesMatch>
Something went wrong with that request. Please try again.