Skip to content

Instantly share code, notes, and snippets.

View kernelpanek's full-sized avatar
:octocat:
Focused on work-related tasks

Richard Panek kernelpanek

:octocat:
Focused on work-related tasks
View GitHub Profile
@mvanga
mvanga / music_theory.py
Last active June 23, 2025 11:44
Basic Music Theory in ~200 Lines of Python
# The code for my article with the same name. You can find it at the URL below:
# https://www.mvanga.com/blog/basic-music-theory-in-200-lines-of-python
# MIT License
#
# Copyright (c) 2021 Manohar Vanga
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# Sample Usage
# module "cloudability_iam_policy" {
# is_payer = "true" # Optional - defaults to false
# billing_bucket = "my-aws-bills" # Optional - defaults to "aws-bill-info"
# cloudability_role_name = "CloudabilityRole" # Optional - defaults to CloudabilityRole
# cloudability_arn = "arn:aws:iam::000000000000:user/cloudability" # Required
# cloudability_external_id = "abc123a-zzzz-zzzz-zzzz-abc123abc123" # Required
# source = "../modules/aws/iam/cloudability_iam"
# }