Skip to content

Instantly share code, notes, and snippets.

Ronnie Eichler ranrotx

  • Dallas, TX
Block or report user

Report or block ranrotx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ranrotx
ranrotx / le-install.sh
Last active Jun 20, 2018 — forked from hisnameisjimmy/le-install.sh
Add Nginx and Letsencrypt to an existing Unifi installation
View le-install.sh
#!/bin/sh
#
# This script stands on the shoulders of giants.
#
# It has been tested on a t2.micro. For best results, run with something with more vCPUs when gennerating DH, then revert to
# t2.micro.
#
# It does the following:
# 1) Makes the Unifi/Certbot software available as a package
# 2) Uses Certbot to request a Lets Encrypt Certificate, and then installs it
@ranrotx
ranrotx / enable-long-ids.sh
Last active Apr 29, 2016
Enable long instance, reservation, snapshot, and volume IDs across all AWS regions.
View enable-long-ids.sh
#!/bin/bash
REGIONS=`aws ec2 describe-regions --region us-east-1 --output text | awk '{print $3}'`
for r in $REGIONS; do
echo "Enabling long IDs for instnaces and reservations in $r"
aws ec2 modify-id-format --resource instance --use-long-ids --region $r
aws ec2 modify-id-format --resource reservation --use-long-ids --region $r
aws ec2 modify-id-format --resource snapshot --use-long-ids --region $r
aws ec2 modify-id-format --resource volume --use-long-ids --region $r
You can’t perform that action at this time.