- Navigate to https://vax4nyc.nyc.gov/patient/s/vaccination-schedule
- Fill out the "Eligibility" form
- Check " New York City residents ages 30 or older"
- "No" you're not NYC employee
- Fill in DoB
- Fill in Zip
- "yes" Certify live in NYC
- click Next
- Fill in "Health Screening And attestation
- "no" for allergic reaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Controller from '@ember/controller'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Component from '@glimmer/component'; | |
| import { inject as service } from '@ember/service'; | |
| export default class extends Component { | |
| @service router; | |
| constructor() { | |
| super(...arguments); | |
| this.router.on('routeWillChange', (transition) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Controller from '@ember/controller'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| modelName = "My Model Name"; | |
| modelId = 33; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Controller from '@ember/controller'; | |
| import { tracked } from '@glimmer/tracking'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| @tracked checkValue = 1; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Typescript Generics | |
| class MyMap<T extends Error> { | |
| value: T; | |
| getVal() { | |
| return this.value; | |
| } | |
| constructor(val: T) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let failingTests = []; | |
| const testElements = document.querySelectorAll('li[id].fail'); | |
| testElements.forEach(test => { | |
| const moduleName = test.getElementsByClassName('module-name')[0].textContent | |
| const testName = test.getElementsByClassName('test-name')[0].textContent | |
| failingTests.push(`- [ ] ${moduleName} ${testName}`) | |
| }); | |
| console.log(failingTests.join('\n')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Updating Template Path Reference..." | |
| sed -ie "s+./template+../templates/components/$1+g" "addon/components/${1}/component.js" | |
| rm addon/components/"${1}"/component.jse | |
| echo "Migrating component $1 back to classic structure..." | |
| git mv "addon/components/${1}/component.js" "addon/components/${1}.js" | |
| git mv "addon/components/${1}/template.hbs" "addon/templates/components/${1}.hbs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let slowTests = []; | |
| const testElements = document.querySelectorAll('li[id].pass'); | |
| const tolerance = 1500; | |
| testElements.forEach(test => { | |
| const moduleName = test.getElementsByClassName('module-name')[0].textContent | |
| const testName = test.getElementsByClassName('test-name')[0].textContent | |
| const testDurationString = test.getElementsByClassName('runtime')[0].textContent | |
| const testDuration = parseInt(testDurationString.slice(0, -3)) |