Skip to content

Instantly share code, notes, and snippets.

@BrandonShutter
BrandonShutter / CloudCustodianServicesArray
Last active April 14, 2022 22:12 — forked from jtroberts83/CreateAllBadTagPolicies.py
Array of all Cloud Custodian Services
AWSServicesArray = [ "account", "acm-certificate", "airflow", "alarm", "ami", "apigw-domain-name", "app-elb", "app-elb-target-group", "app-flow", "asg", "backup-plan", "backup-vault", "batch-compute", "batch-definition", "batch-queue", "cache-cluster", "cache-snapshot", "cache-subnet-group", "catalog-portfolio", "cfn", "cloud-directory", "cloudhsm-cluster", "cloudsearch", "cloudtrail", "artifact-domain", "artifact-repo", "codebuild", "codecommit", "codedeploy-app", "codedeploy-deployment", "codedeploy-group", "codepipeline", "config-recorder", "config-rule", "customer-gateway", "datapipeline", "dax", "directconnect", "directory", "distribution", "dlm-policy", "dms-endpoint", "dms-instance", "dynamodb-backup", "dynamodb-stream", "dynamodb-table", "ebs", "ebs-snapshot", "ec2", "ec2-reserved", "ec2-host", "ec2-spot-fleet-request", "ecr", "ecr-image", "ecs", "ecs-container-instance", "ecs-service", "ecs-task", "ecs-task-definition", "efs", "efs-mount-target", "eks", "eks-nodegrou", "elasticbeanstalk", "elasti
@BrandonShutter
BrandonShutter / gist:f8527d31b38bf2fca14a1111e5667c49
Created March 17, 2017 13:26 — forked from icook/gist:5863726
Jenkins Continuous Integration
# Setup a proper path, I call my virtualenv dir "venv" and
# I've got the virtualenv command installed in /usr/local/bin
PATH=$WORKSPACE/venv/bin:/usr/local/bin:$PATH
# Move the source into it's own directory
SRC_DIR=eli5
mkdir $SRC_DIR
mv * $SRC_DIR/ || :
mv .git/ $SRC_DIR/ || :
# Generate a new virtual enviroment
if [ ! -d "venv" ]; then
@BrandonShutter
BrandonShutter / deploy.sh
Last active August 29, 2015 14:28 — forked from kloon/deploy.sh
Github to WordPress.org plugin repo deploy
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
PLUGINSLUG="camptix-payfast-gateway"
CURRENTDIR=`pwd`
MAINFILE="camptix-payfast.php" # this should be the name of your main php file in the wordpress plugin
# git config