This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Finds and deletes unused aws security groups, following template for determining unused groups here: | |
# https://stackoverflow.com/a/24704644 | |
region=$1 | |
comm -23 <(aws ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' \ | |
--output text --region $region | tr '\t' '\n'| sort) \ | |
<(aws ec2 describe-instances --query 'Reservations[*].Instances[*].SecurityGroups[*].GroupId' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# voodoo-vpn.sh: Amazon EC2 user-data file for automatic configuration of a VPN | |
# on a Ubuntu server instance. Tested with 12.04. | |
# | |
# See http://www.sarfata.org/posts/setting-up-an-amazon-vpn-server.md | |
# | |
# DO NOT RUN THIS SCRIPT ON YOUR MAC! THIS IS MEANT TO BE RUN WHEN | |
# YOUR AMAZON INSTANCE STARTS! | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-08-01 00:44:51,896 ERROR SwccgoHttpRequestHandler:368 - Error while processing request | |
java.lang.StackOverflowError | |
at java.util.LinkedList.addAll(LinkedList.java:406) | |
at java.util.LinkedList.addAll(LinkedList.java:385) | |
at com.gempukku.swccgo.filters.Filters.sameCardId(Filters.java:14248) | |
at com.gempukku.swccgo.filters.Filters.changeToFilter(Filters.java:74) | |
at com.gempukku.swccgo.filters.Filters.convertToFilters(Filters.java:16665) | |
at com.gempukku.swccgo.filters.Filters.and(Filters.java:14115) | |
at com.gempukku.swccgo.logic.modifiers.MayDeployAsReactToTargetModifier.<init>(MayDeployAsReactToTargetModifier.java:44) | |
at com.gempukku.swccgo.logic.modifiers.MayDeployAsReactToTargetModifier.<init>(MayDeployAsReactToTargetModifier.java:33) |
OlderNewer