I hereby claim:
- I am xenithorb on github.
- I am xenithorb (https://keybase.io/xenithorb) on keybase.
- I have a public key ASA6tAuN_Ww3nuVJWiVdOzT5ZrdTxNBCSBBXj3d9oc2pdwo
To claim this, I am signing this object:
| #!/bin/bash | |
| AUTOLOCK_MIN=10 # Minutes to wait before locking keepass | |
| LOCK_CMD='keepass --lock-all' | |
| declare -A IDLE_TIME_COMMANDS | |
| IDLE_TIME_COMMANDS=( | |
| ["KDE"]="qdbus org.kde.screensaver /ScreenSaver GetSessionIdleTime" | |
| ) |
| #-*- mode: nginx; mode: flyspell-prog; mode: autopair; ispell-local-dictionary: "american" -*- | |
| ## Define a zone for limiting the number of simultaneous | |
| ## connections nginx accepts. 1m means 32000 simultaneous | |
| ## sessions. We need to define for each server the limit_conn | |
| ## value refering to this or other zones. | |
| ## ** This syntax requires nginx version >= | |
| ## ** 1.1.8. Cf. http://nginx.org/en/CHANGES. If using an older | |
| ## ** version then use the limit_zone directive below | |
| ## ** instead. Comment out this | |
| ## ** one if not using nginx version >= 1.1.8. |
| # These should go in ~/.bashrc or an equivalent area that is sourced into your shell environmemnt | |
| # Remove all docker containers running and exited | |
| alias docker-rma='__drma() { docker ps -aq "$@" | xargs -r docker rm -f; }; __drma' | |
| # Remove all docker images | |
| alias docker-rmia='__drmia() { docker images -q "$@" | xargs -r docker rmi -f; }; __drmia' | |
| # Remove all custom docker networks | |
| alias docker-rmnet='__drmnet() { docker network ls -q -f type=custom "$@" | xargs -r docker network rm; }; __drmnet' | |
| # Remove all unused volumes | |
| alias docker-rmvol='__drmvol() { docker volume ls -q "$@" | xargs -r docker volume rm; }; __drmvol' |
| #!/bin/bash | |
| # | |
| # Simple cron-intended script for Borg Backup | |
| # | |
| # Author: Michael Goodwin Date: 2018-02-23 | |
| # Exit on error immediately | |
| # This is important if you want to make sure that each step | |
| # only runs if the previous step exited with a 0 status. | |
| # Like a universal && everywhere. |
| #!/bin/bash | |
| # Generate OVPN files (single config w/ certs and keys) for OpenVPN | |
| # from EasyRSA tool's pki folder output | |
| # | |
| # - Tool expects to be in easy-rsa's pki fodler ( after `easy-rsa init-pki` ) | |
| # - outputs to ovpn-out folder | |
| # Expected usage: | |
| # $ # First install easy-rsa with your pkg manager | |
| # $ mkdir ~/openvpn # new folder | |
| # $ cd ~/openvpn |
| #!/bin/ash | |
| # Copyright (c) 2017 Michael Goodwin | |
| # | |
| # MIT License | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining | |
| # a copy of this software and associated documentation files (the | |
| # "Software"), to deal in the Software without restriction, including | |
| # without limitation the rights to use, copy, modify, merge, publish, | |
| # distribute, sublicense, and/or sell copies of the Software, and to |
| #!/bin/bash | |
| # | |
| # Usage: ./virsh_offline_vm_xfer.sh <domain> <host> | |
| # | |
| # Requirements | |
| # 1. The same user on the local and remote machine that are able to sudo | |
| # 2. Both normal users belong to the libvirt group respectively or have | |
| # global libvirtd access. (can access qemu:///system) | |
| # 3. Assumes image paths can remain identical during transfer | |
| # |
| #!/bin/bash | |
| # | |
| # github-backup.sh: A helper script for python-github-backup that also | |
| # handles backing up github gists | |
| # | |
| # Author: Mike Goodwin | |
| # Date: 20170429 | |
| # | |
| # Usage Example: | |
| # |
| # /etc/systemd/system/kanboard-beanstalk-worker.service | |
| [Unit] | |
| Description=Kanboard background worker (beanstalkd) | |
| Wants=beanstalkd.service postgresql.service | |
| After=postgresql.service | |
| [Service] | |
| Type=simple | |
| User=apache | |
| Group=apache |
I hereby claim:
To claim this, I am signing this object: