I hereby claim:
- I am stemid on github.
- I am stemid (https://keybase.io/stemid) on keybase.
- I have a public key ASD1nmKQzW0A_OGRdxfATEZL8ZAy55k5LulsWPfC2Iz2cAo
To claim this, I am signing this object:
# With Bash 4.3 I'd rather use wait -n to keep N | |
# processes running at all times. As it is now you | |
# unfortunately have to wait for the last process | |
# to finish. | |
# Recursively compress all files in $dir | |
compress () { | |
dir=$1 | |
count=${2:-2} | |
num_procs=${3:-0} |
#!/usr/bin/env bash | |
# {{ ansible_managed }} | |
# vim: set filetype=bash | |
# | |
# WARNING: Have you run xtrabackup_prepare.sh first? | |
# WARNING: You must know what you're doing or the backup will be ruined! | |
shopt -s nullglob | |
backup_dir=/var/backups/xtrabackup |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Siptrack dynamic inventory script for Ansible. | |
# Depends on siptracklib | |
# * https://github.com/sii/siptracklib | |
# | |
#http://docs.ansible.com/ansible/latest/dev_guide/developing_inventory.html | |
# | |
# by Stefan Midjich <swehack at gmail dot com> |
# AppLogger specific config. | |
[logging] | |
log_format = %(asctime)s %(name)s[%(process)s] %(levelname)s: %(message)s | |
log_debug = True | |
log_level = INFO | |
# Handler can be one of file, stdout or syslog | |
log_handler = stdout | |
# Can use this to log directly to another server if need be |
#!/usr/bin/env bash | |
# Simple backup script for borg. http://borgbackup.readthedocs.io/en/stable/ | |
# Install on Fedora: sudo dnf install borgbackup | |
# | |
# Configure BORG_REPO below to match some path on your own system. In my case | |
# it points to an autofs mount on my network backup device. | |
# Configure your own borg_excludes. | |
# by Stefan Midjich <swehack at gmail dot com> | |
export BORG_REPO="/media/nas/backups/$(hostname -s)-borgbackup" |