Skip to content

Instantly share code, notes, and snippets.

Nick Dainty nickpad

Block or report user

Report or block nickpad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View attribution.sql
-- Construct an account to anonymous ID mapping
with account_mappings as (
select distinct on (anonymous_id)
anonymous_id,
account_id
from app_production.identifies
where anonymous_id is not null
order by anonymous_id, account_id
),
@nickpad
nickpad / cloudformation.json
Last active Mar 21, 2019
Example cloudformation template for auto scaling deploys
View cloudformation.json
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Auto scaling deploy example",
"Parameters": {
"AvailabilityZone": {
"Type": "String",
"Default": "us-west-1a"
},
"ImageId": {
"Type": "String"
You can’t perform that action at this time.