Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Shao danshao

View GitHub Profile
@danshao
danshao / gist:2f7dcf88fb4e74b34381f487b6a0480f
Created Nov 7, 2019
One way to assign User ID (for reference)
View gist:2f7dcf88fb4e74b34381f487b6a0480f
1. Grab User ID from User Database (in your backend)
- Each User (Registered User) has a unique ID (either generated by your code, or auto-incremented by your database)
- Generating User ID for each person who downloads and opens the app
- Create a User ID for that person wherein you have a property that's tied in with the user's GAID
- User (visitor) has property GAID where value equals 19208-1aksjd-19038492-19841
- When user registers
- Check against User ID database
- Assign User's other property values given during registration (email, name, password etc) to that same User ID
2. Assign User ID to all our analytics platforms (AppsFlyer, GA, AppSee, etc)
- This will establish a common denominator
View asdf
0x4f4Ab3789a5bE29fE779Ac97D9938a3443c5e74F
View terraform destroy (internet gateway fails to destroy)
This file has been truncated, but you can view the full file.
2016/04/30 12:31:33 [INFO] Terraform version: 0.6.15
2016/04/30 12:31:33 [DEBUG] Detected home directory from env var: /Users/danshao
2016/04/30 12:31:33 [DEBUG] Discovered plugin: atlas = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-atlas
2016/04/30 12:31:33 [DEBUG] Discovered plugin: aws = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-aws
2016/04/30 12:31:33 [DEBUG] Discovered plugin: azure = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-azure
2016/04/30 12:31:33 [DEBUG] Discovered plugin: azurerm = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-azurerm
2016/04/30 12:31:33 [DEBUG] Discovered plugin: chef = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-chef
2016/04/30 12:31:33 [DEBUG] Discovered plugin: clc = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-clc
2016/04/30 12:31:33 [DEBUG] Discovered plugin: cloudflare = /usr/local/Cellar/terraform/0.6.15/bin/terraform-provider-cloudflare
@danshao
danshao / gist:afbc1f901ec2fb580832d476ebd14a90
Last active Apr 29, 2016
cf + ig terraform destroy debug
View gist:afbc1f901ec2fb580832d476ebd14a90
aws_internet_gateway.gw: Destroying...
aws_eip.eip: Destroying...
aws_cloudfront_distribution.origin: Still destroying... (1m0s elapsed)
aws_eip.eip: Destruction complete
aws_internet_gateway.gw: Still destroying... (10s elapsed)
aws_cloudfront_distribution.origin: Still destroying... (1m10s elapsed)
aws_internet_gateway.gw: Still destroying... (20s elapsed)
aws_cloudfront_distribution.origin: Still destroying... (1m20s elapsed)
aws_internet_gateway.gw: Still destroying... (30s elapsed)
aws_cloudfront_distribution.origin: Still destroying... (1m30s elapsed)
You can’t perform that action at this time.