Sergej Müller sergejmueller

View single.php
1 2 3 4 5 6 7 8 9 10
<?php get_header() ?>
 
 
<main>
<?php if ( have_posts() ) { ?>
<?php the_post() ?>
 
<article itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<figure>
<?php the_post_thumbnail('medium', array('itemprop' => 'image') ) ?>
View functions.php
1 2 3 4 5 6 7 8 9
<?php
 
 
add_filter(
'oembed_result',
'sm_youtube_nocookie_domain',
10,
3
);
View functions.php
1 2 3 4 5 6 7 8 9
<?php
 
 
add_filter(
'oembed_result',
'sm_remove_youtube_protocol',
10,
3
);
View functions.php
1 2 3 4 5 6 7 8 9
<?php
 
 
add_filter(
'oembed_result',
'sm_remove_youtube_bracket',
10,
3
);
View jail.local
1 2 3 4 5 6 7 8 9
[wp-auth]
enabled = true
filter = wp-auth
port = http,https
logpath = /var/log/nginx*/access*.log
maxretry = 1
findtime = 86400
bantime = -1
View results
1 2 3 4 5 6 7 8 9 10
**MEMCACHED**
 
Concurrency Level: 50
Time taken for tests: 5.411 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 10914836 bytes
HTML transferred: 10645298 bytes
Requests per second: 184.81 [#/sec] (mean)
View ntpdate
1 2
#!/bin/sh
ntpdate 0.de.pool.ntp.org
View _scripts.js
1 2 3 4 5 6 7 8 9 10
addEventListener(
'scroll',
function() {
var i,
img,
rect,
images = document.querySelectorAll('[lazyload-src]');
 
if ( ! images.length ) {
return;
View ip-blacklist.conf
1 2 3 4 5 6 7 8
# Fail2Ban configuration file
#
# List of blocked ip addresses
#
# Server: Nginx
# Author: Sergej Müller
#
# File path: /etc/fail2ban/filter.d/ip-blacklist.conf
View functions.php
1 2 3 4 5 6 7 8 9 10
<?php
 
function response_time() {
echo "<script>
window.addEventListener(
'load',
function() {
setTimeout(
function() {
if ( window.performance && window.performance.timing && window.console ) {
Something went wrong with that request. Please try again.