Skip to content

Instantly share code, notes, and snippets.

Avatar

Rob Moore robert-moore

View GitHub Profile
View Intercom user_hash.md

Intercom user_hash

Remember that your secret key should never be exposed to the public

  • So Javascript code below should only be used for testing unless modified and used to run on a server
@robert-moore
robert-moore / PublicReadPolicy.json
Created Apr 30, 2019
AWS Amplify Storage Public Read for Guests
View PublicReadPolicy.json
"S3BucketPolicy": {
"Type" : "AWS::S3::BucketPolicy",
"Properties" : {
"Bucket" : {"Ref" : "bucketName"},
"PolicyDocument": {
"Statement":[{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Action": "s3:GetObject",
"Principal": "*",
@robert-moore
robert-moore / .block
Created Oct 8, 2018
Makeover Monday - if the world was 100 people
View .block
license: mit
height: 800
@robert-moore
robert-moore / .block
Last active Aug 10, 2018
Bivariate Hexbin Map
View .block
license: mit
View Filter Picker Technical Specification.md

Filter Picker Technical Specification

Terminology

Free Dimension: A DimensionCluster instance, or a LocaleType instance. QUESTION: Is Free Dimension the best name? It seems so, because it is a direct correspondence with the Free/Fixed Dimension terminology that we are using in our data viz. But if we don't want to couple our UI terms with our Data Viz terms, perhaps we can call it Filter Group

Filter: A collection of Locales, or a collection of DimensionInstances, like so: <Locale>[], <DimensionInstance>[]

Redux State

View .block
license: mit
View .block
license: mit
@robert-moore
robert-moore / .block
Last active Feb 17, 2018
D3 HTML Data Binding
View .block
license: mit
@robert-moore
robert-moore / .block
Last active Feb 17, 2018
D3 HTML Selections
View .block
license: mit
@robert-moore
robert-moore / .block
Last active Feb 17, 2018
Div Bar Chart
View .block
license: mit