Skip to content

Instantly share code, notes, and snippets.

View blake-newman's full-sized avatar

Blake Newman blake-newman

View GitHub Profile
@blake-newman
blake-newman / gource.bash
Last active August 31, 2017 17:46
Create a gource.io of multiple repos
#!/bin/bash
ARRAY=(
"org:repo"
"org:repo"
"org:repo"
)
touch combined.txt
@blake-newman
blake-newman / test.sh
Created January 14, 2019 17:39
Command output
yarn run v1.12.3
$ cross-env LOG_LEVEL=debug PERCY_TOKEN=9afc0b52ca8fa5de5abb46105d63ebac2ff6899b67d55e60c29907fb0b743d00 percy exec -- yarn e2e:ci --spec e2e/spec/logged-out.spec.ts
[percy] created build #131: https://percy.io/Attest/maker-fe/builds/1322927
[percy] -> assetDiscoveryService.puppeteer.launch durationMs=99
[percy] -> assetDiscoveryService.browser.newPage durationMs=50
[percy] percy has started.
$ cross-env NODE_PATH=e2e CYPRESS_MODE=ci node e2e/runner.js --spec e2e/spec/logged-out.spec.ts
{"time":"2019-01-14T17:35:12.828Z","trace_id":"7b77fc9a62f82599","span_id":"7b77fc9a62f82599","parent_id":"7b77fc9a62f82599","level":"INFO","message":"INFO: Server started on port: 8082"}
====================================================================================================
@blake-newman
blake-newman / setup.md
Created October 3, 2019 10:55
In-depth Application Testing with Vue
  • Git
  • Node v 10+
  • NPM (but should be packaged with Node regardless)
  • Terminal so we can run commands from it
  • VScode with vetur plugin is recommended
  • Some Basic Vue Experience
  • Yarn is optional
  • Knowing Jest a plus, but we'll go through basics if needed.
@blake-newman
blake-newman / setup.md
Created October 3, 2019 10:58
Rea11y Simple A11y: A Focused Accessibility Workshop

OS / Software requirements

Any additional equipment other than Laptop or charger

  • Earbuds/headphones (a basic set are supplied)
@blake-newman
blake-newman / setup.md
Created October 3, 2019 11:02
Motion Design with Vue
@blake-newman
blake-newman / base-workflow.yml
Created December 18, 2019 14:43
GitHub action workflow
name: My workflow
on: [pull_request]
jobs:
tests:
name: Cypress run
runs-on: ubuntu-latest
strategy:
matrix:
@blake-newman
blake-newman / unique-id-generation-workflow.yml
Last active October 18, 2023 15:26
Github action workflow generating a unique id
name: My workflow
on: [pull_request]
jobs:
build_id:
steps:
- name: 'Set build id'
id: build_id
# add a step output `steps.build_id.outputs.id` as the unique id
name: My workflow
on: [pull_request]
jobs:
build_id:
steps:
- name: 'Set build id'
id: build_id
# add a step output `steps.build_id.outputs.id` as the unique id
name: My workflow
on: [pull_request]
jobs:
build_id:
steps:
- name: 'Set build id'
id: build_id
# add a step output `steps.build_id.outputs.id` as the unique id
name: My workflow
on: [pull_request]
jobs:
build_id:
steps:
- name: 'Set build id'
id: build_id
# add a step output `steps.build_id.outputs.id` as the unique id