Skip to content

Instantly share code, notes, and snippets.

@aioue
aioue / guacamole_docker-compose.yml
Last active October 28, 2024 15:34
Guacamole Docker Compose with MariaDB, TOTP, and Healthchecks
# Tested with 1.5.1 release
# To use this, start *only* the guacdb service first, copy and inject the init script, then bring up the remaining services.
# Source: https://krdesigns.com/articles/how-to-install-guacamole-using-docker-step-by-step
version: '3.1'
services:
guacdb:
container_name: guacdb
image: mariadb:lts
restart: unless-stopped

Keybase proof

I hereby claim:

  • I am aioue on github.
  • I am tompaine_av (https://keybase.io/tompaine_av) on keybase.
  • I have a public key ASDnyIKH1Q0uxpVfVojJ3t6OCDTu30RxRkyYY9OQFTcGnAo

To claim this, I am signing this object:

@aioue
aioue / ec2_ami_find.py
Created January 2, 2018 14:43
Fast ec2_ami_find (Ansible)
#!/usr/bin/python
#
# This file is part of Ansible
#
# 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
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
@aioue
aioue / create-s3-bucket-and-route53-alias.py
Created April 29, 2015 20:40
create an AWS S3 bucket, configure it for website hosting, then go and make a route53 ALIAS DNS record pointing to it
import time
import argparse
import json
import boto.ec2
import boto.s3
import boto.route53
from boto.route53 import record
from boto.s3 import connection
from boto.s3.connection import Location