- Load tests asynchronously, and gradually (pull from extension)
- Listen to test changes, new children, and removal of children (push from extension)
- Be able to place tests in the tree concurrently with a test run as results are reported (push from extension)
- Be able to stop listening to tests from a child
- Allow the extension to identity its tests in whatever "run test" mechanism there is
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
export interface ISerializer<T> { | |
toBinary(value: T): Uint8Array; | |
fromBinary(value: Uint8Array): T; | |
} | |
// example serializer for uuids | |
import * as uuid from "uuid"; | |
export const uuidSerializer: ISerializer<string> = { | |
toBinary: (id) => uuid.parse(id) as Uint8Array, | |
fromBinary: (id) => uuid.stringify(id), |
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
# Add this to your Home Assistant config | |
mqtt: | |
broker: localhost | |
discovery: true | |
birth_message: | |
topic: 'hass/status' | |
payload: 'online' | |
will_message: | |
topic: 'hass/status' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
<link rel="stylesheet" type="text/css" href="./styles.css"> | |
</head> | |
<body> | |
<h1>iframe:</h1> | |
<iframe width="560" height="100" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
This file has been truncated, but you can view the full file.
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
{"timestamp":1575313871152,"tag":"runtime.welcome","level":1,"message":"js-debug v0.9.0 started","metadata":{"os":"darwin x64","nodeVersion":"v12.4.0","adapterVersion":"0.9.0"}} | |
{"tag":"dap.receive","timestamp":1575313871147,"metadata":{"message":{"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code - Insiders","adapterID":"pwa-node","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"},"type":"request","seq":1}},"level":0} | |
{"tag":"dap.send","timestamp":1575313871148,"metadata":{"message":{"seq":1,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConfigurationDoneRequest":true,"supportsFunctionBreakpoints":false,"supportsConditionalBreakpoints":true,"supportsHitConditionalBreakpoints":false,"supportsEvaluateForHovers":true,"exceptionBreakpointFilters":[{"filter":"caught","label":"Caught Exceptions","default":false}, |
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
{ | |
"workbench.colorTheme": "Earthsong", | |
"workbench.colorCustomizations": { | |
"activityBar.background": "#2F2B26", | |
"statusBar.noFolderBackground": "#2F2B26", | |
"activityBarBadge.background": "#D76538", | |
"sideBar.background": "#2F2B26", | |
"sideBarSectionHeader.background": "#26221E", | |
"activityBar.foreground": "#7a7a7a", | |
"statusBar.background": "#36312C", |
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 { ShortCodeAccessDeniedError, ShortCodeExpireError, UnexpectedHttpError } from './errors'; | |
import { delay, Fetcher, IRequester } from './util'; | |
// note: this is a functional port of the Python version here: | |
// https://github.com/mixer/interactive-python/blob/master/interactive_python/oauth.py | |
export interface IShortcodeCreateResponse { | |
code: string; | |
expires_in: number; | |
handle: string; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- | |
====================================================================== | |
Earthsong | |
====================================================================== | |
A Sublime Text 2 / Textmate theme. | |
Copyright (c) 2014 Dayle Rees. | |
Released under the MIT License <http://opensource.org/licenses/MIT> | |
====================================================================== |
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
function Calculator() { | |
this.flushCache(); | |
} | |
/** | |
* Clears the calculator's cache. Mainly for debugging. | |
*/ | |
Calculator.prototype.flushCache = function () { | |
this.cache = [{ xp: 0, level: 0 }]; | |
}; |
I hereby claim:
- I am connor4312 on github.
- I am connor4312 (https://keybase.io/connor4312) on keybase.
- I have a public key whose fingerprint is FA2F 304A 6F30 FA57 3AF1 01B9 D3E9 CF94 E8B4 FC36
To claim this, I am signing this object:
NewerOlder