Skip to content

Instantly share code, notes, and snippets.

View cbeard87's full-sized avatar

Christopher Beard cbeard87

View GitHub Profile
@cbeard87
cbeard87 / invitations-test-data.json
Last active August 22, 2024 21:46
invitations-test-data.json
[
{
"InvitationGuid": "6cc75184-57cb-4aea-bbca-14822befb5a8",
"BackgroundOrderGuid": "c660325e-ae7d-4eea-b9ac-7aa1372ab29c",
"ExpectedPackageGuid": "07f3900e-be2a-430c-9b15-b18028fa69b6",
"InvitationDate": "2024-08-20T10:05:45.557"
},
{
"InvitationGuid": "e85e2250-c57f-4b4e-9735-053d6a05f940",
"BackgroundOrderGuid": "29c1eb17-159a-4705-8683-e58e3fa0fd28",
@cbeard87
cbeard87 / Calculations.json
Created March 6, 2023 06:35
MDCalc Calculation Ids
{
"data": [
"10454",
"3982",
"10370",
"10338",
"1787",
"3983",
"243",
"4052",
@cbeard87
cbeard87 / trigger-wheel-event.js
Created July 14, 2019 03:24
Dispatch a mouse wheel event
const wheelEvt = document.createEvent('MouseEvents');
wheelEvt.initEvent('wheel', true, true);
// Set deltaY depending on wheel up or wheel down
wheelEvt.deltaY = +120;
// wheelEvt.deltaY = -120;
// Pass event to element
element.dispatchEvent(wheelEvt);
@cbeard87
cbeard87 / .editorconfig
Created August 7, 2018 14:57
Editor Config for React Static Site Projects
root = true
[*]
indent_style = spaces
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@cbeard87
cbeard87 / .eslintrc.json
Created August 7, 2018 14:56
ESLint Config for React Static Site Projects
// npm install --save-dev eslint eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react
{
"root": true,
"extends": ["airbnb", "plugin:prettier/recommended"],
"settings": {
"import/core-modules": ["gatsby"]
},
"globals": {
"graphql": true
@cbeard87
cbeard87 / Contract Killer 3.md
Last active April 1, 2019 14:36
The latest version of my ‘killer contract’ for web designers and developers

WEBSITE DESIGN AND DEVELOPMENT AGREEMENT


Between Dealman Advertising LLC

And [customer name]

@cbeard87
cbeard87 / react-developer-resume-template.markdown
Last active March 29, 2017 07:10
React Developer Resume Template

React Developer Resume Template

A user editable resume template built with React. Just fork the Pen and make your changes, then send out the link to employers and get paid.

A Pen by Christopher Beard on CodePen.

License.