Skip to content

Instantly share code, notes, and snippets.

View cdtweb's full-sized avatar
🏠
Working from home

Clint Tyler cdtweb

🏠
Working from home
  • CDT Web Solutions, LLC
  • Murray, UT
View GitHub Profile
@cdtweb
cdtweb / greek-gods.json
Created January 31, 2019 17:23
JSON array of Greek Gods
[
"Zeus",
"Hera",
"Poseidon",
"Demeter",
"Ares",
"Athena",
"Apollo",
"Artemis",
"Hephaestus",
@cdtweb
cdtweb / gist:7b236f77f7178d3822d84efa9aebbd99
Created March 4, 2020 04:39
My AWS OpsWorks Stacks Wanted Features List
# Last updated Mar 3, 2020
* Update to latest Chef versions
* Redesign to look similar to New EC2 Experience
* Layer support for both ALB and NLB
* Toggle default InstallUpdatesOnBoot setting at layer-level
* Layer-based subnet group to limit which subnets an instance can be assigned to
* Layer-based machine image setting
* Layer-based instance type setting
* Layer-based EBS volume type/size setting
@cdtweb
cdtweb / estimate.php
Last active January 4, 2021 22:38
Simple Rolling DRIP Estimator
<?php
/*
This script will take into account your current positions and calculate your dividend reinvestment over time.
@todo Pull positions from somewhere, a local json file maybe?
@todo Pull live-ish position data so stockPrice isn't stale.
@todo Use of CLI arguments
@todo There is a bug with addMonthly that really inflates the number of shares
@todo Fractional shares on addMonthly?
@cdtweb
cdtweb / find_del_dd_sub_filters.py
Created May 6, 2022 17:21
Find & Delete DataDog Auto-Added Log Group Subscription Filters for AWS CloudWatch Log Groups
import boto3
client = boto3.client('logs')
logGroupPrefix = '/aws/lambda'
response = client.describe_log_groups(
logGroupNamePrefix=logGroupPrefix,
limit=50
)