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:
#!/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" |
#!/usr/bin/python -tt | |
# (c) 2012, Stefan Midjich | |
# Written by Stefan Midjich <swehack@gmail.com> | |
# | |
# This module was written for Ansible. | |
# It doesn't support all of Homebrew yet. | |
# | |
# Ansible is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
/*sex.c*/ | |
/* Original author unknown. Presumably this is public domain by now. | |
* If you are the original author or know the original author, please | |
* contact <freebsd@spatula.net> | |
* | |
* Orphan code cleaned up a bit by Nick Johnson <freebsd@spatula.net> | |
* Completely rewrote how word wrapping works and added -w flag. | |
*/ |
// build: go build password.go | |
// run: ./password -password='clear text' | |
// use HISTCONTROL=ignoreboth and indent commands with one space to avoid | |
// saving passwords in your shell history. | |
package main | |
import ( | |
"os" | |
"fmt" |
#!/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> |
#!/usr/bin/perl -w | |
# Oskar Liljeblad 2008-10-17 | |
package TSM; | |
use strict; | |
use Encode; | |
$TSM::dsmadmc = 'dsmadmc'; | |
$TSM::username = 'admin'; |
# 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 python | |
# This is sort of a template script for most operations that might have to | |
# recursively traverse the vcenter objects looking for something. | |
# | |
# by Stefan Midjich <swehack@gmail.com> | |
# | |
# See comments further down in the code to understand more. | |
# It's important to know the object structure of your vcenter so look into | |
# your own MOB first. It's found at https://10.11.12.13/mob on your vcenter | |
# server. |
I hereby claim:
To claim this, I am signing this object:
#!/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 |