Skip to content

Instantly share code, notes, and snippets.

Jae Task jaetask

Block or report user

Report or block jaetask

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
@jaetask
jaetask / cognito.yaml
Last active Feb 17, 2019 — forked from singledigit/cognito.yaml
[Create a Cognito Authentication Backend via CloudFormation] #aws #serverless #cognito
View cognito.yaml
AWSTemplateFormatVersion: '2010-09-09'
Description: Cognito Stack
Parameters:
AuthName:
Type: String
Description: Unique Auth Name for Cognito Resources
Resources:
# Creates a role that allows Cognito to send SNS messages
SNSRole:
@jaetask
jaetask / example.js
Created Feb 1, 2019
[Cypress before / beforeEach optimisation] Descrease time to test by only requesting the base page once #cypress
View example.js
// If all the tests happen on a single page with no dynamic changes
// use before instead of before each
// This exponentially reduces the test time. from 7.5s to 1.2s for only 5 tests.
before(() => {
cy.visit('/style-guide');
});
@jaetask
jaetask / example.js
Created Feb 1, 2019
[Cypress match text / tag name case insensitively] #cypress
View example.js
cy.get('[data-testid=grid-children]')
.should('have.prop', 'tagName')
.should('match', /div/i);
@jaetask
jaetask / data.csv
Created May 28, 2017 — forked from grncdr/data.csv
Demo of importing a CSV file into a Contentful space
View data.csv
first name last name age
Stephen Sugden 31
Tom Reznik 29
Justin Thomas 30
You can’t perform that action at this time.