I hereby claim:
- I am fvoges on github.
- I am boatsuk (https://keybase.io/boatsuk) on keybase.
- I have a public key ASBUkaQqfKypWgZPPOp8ysQ1j2ZyaToOWGCqrOwsliuW7wo
To claim this, I am signing this object:
{ | |
"interfaces": { | |
"ethernet": { | |
"eth0": { | |
"address": [ | |
"10.0.0.1/29", | |
"10.0.0.2/29" | |
], | |
"firewall": { | |
"in": { |
# This file would normally be /etc/logrotate.d/vault.conf | |
# With these settings, your audit folder will like | |
# . | |
# ├── audit.2018-09-10.log.gz | |
# ├── audit.2018-09-11.log | |
# └── audit.log | |
# Change the path below to your own audit log path. | |
/var/log/vault/audit.log { |
#!/bin/bash | |
BACKUP_DIR="${HOME}/.chrome_extension_settings_backup" | |
DATE=$(date +%F) | |
BACKUP_FILE="${BACKUP_DIR}/extension_settings-${DATE}.tar.gz" | |
mkdir -p "${BACKUP_DIR}" | |
cd "${HOME}" |
# use ImageMagick convert | |
# the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
#!/usr/bin/env ruby | |
# Usage: | |
# | |
# Go to wowhead.com and create an item list, for example: | |
# https://www.wowhead.com/items/trade-goods?filter=87:166;11:1;0:0 | |
# | |
# Once you're happy with the list, copy the URL from your browser | |
# and pass the URL as a parameter to this script. | |
# | |
# The script will, hopefully, extract the list of items, and then it |
#!/usr/bin/env bash -e | |
# Original source: https://gist.github.com/greenbrian/2e9e90d65c3d272c48b14dd3b3f19153 | |
DEPS="curl jq unzip wget" | |
for cmd in $DEPS | |
do | |
if ! which -s $cmd | |
then | |
echo "$cmd command not found!" | |
echo "Ensure that you have the following tools installed and in your \$PATH: ${DEPS}" |
I hereby claim:
To claim this, I am signing this object:
Renew Puppet CA cert. | |
Not the perfect idea, but should alleviate the need to resign every cert. | |
What you need from existing puppet ssl directory: | |
ca/ca_crt.pem | |
ca/ca_key.pem | |
Create an openssl.cnf: | |
[ca] |
Project
called puppet
(with a short name of PUP
)control-repo
r10k
with a password of puppet
.PUP
project.PUP
project.