The only evidence of kryptonite I see is the use of strictEqual
. This might appear to work because of the term 'strict', but that only refers to type coercion (15 !== '15'). Since our left and right are both complex structures, I suspect the writer was intending to do a deep object comparison.
This file contains 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
# Generate an audit report of High & Critical advisories | |
yarn audit --json --level high > audit.lines | |
# Transform from JSON-lines to JSON format | |
jq -s '.' audit.lines > audit.json | |
# Extract advisories | |
jq -r '.[] | | |
select(.type == "auditAdvisory") | | |
{ severity: .data.advisory.severity, path: .data.resolution.path, cves: (.data.advisory.cves | @csv), module_name: .data.advisory.module_name } | |
This file contains 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/sh | |
# -*- coding: utf-8 -*- | |
# <bitbar.title>Wifi</bitbar.title> | |
# <bitbar.version>v1.o</bitbar.version> | |
# <bitbar.author>Ryan Cromwell</bitbar.author> | |
# <bitbar.author.github>cromwellryan</bitbar.author.github> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.desc>Wifi Signal Strength</bitbar.desc> | |
# <bitbar.dependencies></dependencies> | |
# |
This file contains 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 { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class extends Component { | |
@tracked | |
startDate | |
@tracked | |
endDate |
This file contains 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 { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class extends Component { | |
@tracked | |
startDate; | |
endDate; |
This file contains 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 { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class extends Component { | |
@tracked title = ''; | |
@action | |
subscribe() { | |
// Do some work here to get chart data like the date they clicked |
This file contains 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 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
// set up the 'dadStatus' feed | |
AdafruitIO_Feed *dadStatus = io.feed("dad-status"); | |
/* LED Friendly names */ | |
const int inMeetingLed = 15; | |
const int headphonesOnLed = 14; | |
void clear() { | |
digitalWrite(inMeetingLed, LOW); | |
digitalWrite(headphonesOnLed, LOW); |
Each task force has a mission that guides their planning, decision making, and efforts.
The Web Accessibility Taskforce develops resources to prepare our team to implement accessibility not as an à la carte feature but as an important consideration in our workflow.
Producing advanced beginners who are ready to contribute on real, team web projects.
Improve Sparkbox project setup, builds, and tooling.
This file contains 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
var assert = require('assert'); | |
function failHard() { | |
return new Promise((resolve, reject) => { | |
reject('Failed promise!'); | |
}); | |
} | |
async function failHardAsync() { | |
throw new Error('Crap!'); |
NewerOlder