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 / inputs_gui.scr
Last active February 12, 2022 10:58
Dying Light 2: Colemak Keybindings (1.0.6)
import "inputs.def"
//AddAction(_ACTION_ID, EInputTarget, EInputDevice, analog, AxisOrButtonId, reverse, halfscope)
// analog - if true then the values are in 0.0f .. 1.0f, if false the values are either 0 or 1 (no values between)
// reverse - if true then the input is trigered when button is released
// halfscope - if true then the action is triggered when the value is > 0.5f
// if analog is true then the value is only 0..1f
sub GuiPad()
{
Layout("CommonGui", false)
@blake-newman
blake-newman / uuid-job-output-workflow.yml
Created May 19, 2020 15:58
Unique id from job output
jobs:
context:
runs-on: ubuntu-latest
outputs:
uuid: ${{ steps.uuid.outputs.value }}
steps:
- name: 'uuid'
id: uuid
run: echo "::set-output name=value::$GITHUB_SHA-$(date +"%s")"
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
@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
@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 / setup.md
Created October 3, 2019 11:02
Motion Design with Vue
@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 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.