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
#!/usr/bin/env perl | |
package Filebeat::Package::Crawler; | |
use Mojo::Base -base, -signatures, -async_await; | |
use Mojo::Collection qw(c); | |
use Mojo::ByteStream qw(b); | |
use Mojo::Util qw(decode encode secure_compare dumper); | |
use Mojo::JSON qw(decode_json encode_json); | |
use Digest::SHA qw(sha512); |
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
#!/bin/bash | |
OK=0 | |
WARN=1 | |
CRIT=2 | |
UNKN=3 | |
W_DAYS=15 | |
C_DAYS=10 | |
D_PATH="/etc/pki/tls/certs" |
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
#!/usr/bin/env bash | |
# Translate a POT file using BASH and the translate-shell utility | |
# homebrew users might install translate-shell by entering | |
# brew install translate-shell | |
# Linux user might try the default package manager (dnf/apt-get) | |
[[ ${BASH_VERSINFO[0]} -lt 4 ]] && | |
echo "BASH VERSION MUST BE >= 4" && | |
exit 1 |
OlderNewer