Skip to content

Instantly share code, notes, and snippets.

@farfromunique
farfromunique / all_aws_lambda_modules_python.md
Last active August 17, 2021 08:06 — forked from gene1wood/all_aws_lambda_modules_python.md
AWS Lambda function to list all available Python modules for Python 2.7 3.6 and 3.7
@farfromunique
farfromunique / get_table_definition.sql
Created August 19, 2022 08:39
updated and cleaner version of awslabs/amazon-redshift-utils src/AdminViews/v_generate_tbl_ddl.sql
/* This is designed to be run in Python, with the {} vars below templated in. */
WITH vars AS (
SELECT
'{schema}' AS schemaname,
'{table}' AS tablename
),
base_info AS (
SELECT
cls.oid AS table_id,