One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
import logging | |
import socket | |
class PapertrailHandler(logging.Handler): | |
"""An RFC 5425 log handler that has been tested to interact | |
with Papertrail. | |
""" | |
# RFC 5424 Severities | |
LOG_EMERG = 0 |
Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place! - Ensure you have installed OpenSSL in your system either Windows or Linux, here we're just using neutral OpenSSL commands.
openssl genrsa -des3 -out rootCA.key 4096
#!/bin/bash | |
TMUX_VERSION=3.1b | |
# Install tmux version 3.1 on rhel/centos 7 | |
# Single command: | |
###$> curl -Ls https://gist.githubusercontent.com/kitos9112/8907c420435ce1e1fc6e99de0e994131/raw/d5c4965b541e6348c882c9546bcfb08f74788784/get-tmux | bash | |
# install deps | |
sudo -E yum install gcc kernel-devel make ncurses-devel -y | |
# DOWNLOAD SOURCES FOR LIBEVENT, CONFIGURE, MAKE, AND INSTALL | |
curl -o /tmp/libevent-2.1.11-stable.tar.gz -L https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz |
#!/bin/bash | |
########################################################################### | |
# Fetch and install the latest Terraform and tflint version | |
# curl -Ls https://gist.github.com/kitos9112/70faa4b7e53a84f72cf21256f2aa86a8/raw/get-terraform.sh | bash | |
########################################################################## | |
function get_latest_github_release { | |
curl -s https://api.github.com/repos/$1/$2/releases/latest | grep -oP '"tag_name": "[v]\K(.*)(?=")' | |
} |
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS | |
# Can retrieve cloudflare Domain id and list zone's, because, lazy | |
# Place at: | |
# /usr/local/bin/cf-ddns.sh |