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
PidFile=/var/run/zabbix/zabbix_agentd.pid | |
LogFile=/var/log/zabbix/zabbix_agentd.log | |
LogFileSize=0 | |
Server=monitoring.lynt.cz | |
Hostname=HOSTNAME | |
Include=/etc/zabbix/zabbix_agentd.d/*.conf |
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 lynt_date_shortcode( $atts , $content = null ) { | |
$atts = shortcode_atts( | |
array( | |
'den' => 0, | |
'start' => '', | |
'stop' => '', | |
), | |
$atts,'lynt_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
add_action('phpmailer_init', 'lynt_customize_mail_headers'); | |
function lynt_customize_mail_headers($phpmailer) { | |
$phpmailer->Sender = $phpmailer->From; | |
} |
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 lynt_remove_hentry( $class ) { | |
return array_diff( $class, array( 'hentry' ) ); | |
} | |
add_filter( 'post_class', 'lynt_remove_hentry' ); |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<?php | |
include "wp-config.php"; | |
$conn = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); | |
if ($conn->connect_error) { |
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 | |
print_r(apache_get_modules()); | |
?> |
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
HOST A: | |
ip link add link eth1 macsec0 type macsec | |
ip macsec add macsec0 tx sa 0 pn 1 on key 01 11111111111111111111111111111111 | |
ip macsec add macsec0 rx address bb:bb:bb:bb:bb:bb port 1 | |
ip macsec add macsec0 rx address bb:bb:bb:bb:bb:bb port 1 sa 0 pn 100 on key 02 22222222222222222222222222222222 | |
ip link set dev macsec0 up | |
ip address add 172.16.16.1/24 dev macsec0 | |
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
- hosts: webservers | |
remote_user: root | |
become_method: su | |
become_user: www | |
become: yes | |
gather_facts: no | |
any_errors_fatal: yes | |
max_fail_percentage: 30 | |
connection: local | |
serial: 5 |
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
require all denied | |
<FilesMatch ^$> | |
require all granted | |
</FilesMatch> | |
<FilesMatch \.(js|gif|jpg|jpeg|png|svg|webp|webm|ico|woff|woff2|eot|ttf|otf|pdf|css|htm|html|txt|gz|php)$> | |
require all granted | |
</FilesMatch> |