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 { browser, Page } from 'k6/browser'; | |
| import { check } from 'k6'; | |
| import { Trend } from 'k6/metrics'; | |
| // --- Options Configuration --- | |
| export const options = { | |
| scenarios: { | |
| ui_testing: { | |
| executor: 'per-vu-iterations', // Specify the executor type | |
| vus: 3, |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>My App</title> | |
| <script> | |
| (async function () { | |
| const faroLoaded = () => { | |
| const faro = window.GrafanaFaroWebSdk.faro; | |
| const { trace, context } = faro.api.getOTEL(); | |
| const input = { |
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
| const { protocol, app, BrowserWindow } = require("electron"); | |
| const { readFileSync, statSync } = require("fs"); | |
| const mime = require("mime-types"); | |
| const createWindow = async () => { | |
| const win = new BrowserWindow({ | |
| width: 1920, | |
| height: 1080, | |
| webPreferences: { | |
| webviewTag: true, |
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
| class MyTrace { | |
| private spanMap = new Map<string, Span>(); | |
| private readonly tracerName = 'my_tracer'; | |
| constructor(private otel: OTELApi) {} | |
| createSingleRunSpan(spanName: string) { | |
| const span = this.otel.trace.getTracer(this.tracerName).startSpan(spanName); | |
| const end = () => span.end(); | |
| return { span, end }; |
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
- Demo: https://github.com/wellwind/8ComicDownloaderElectron
- Reference: https://electron.atom.io/docs/tutorial/quick-start/
ng new electron-democd electron-demo- 調整
.angular-cli.json中的assets"assets": [ { "glob": "main.js",
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
| {"lastUpload":"2017-04-27T01:02:40.563Z","extensionVersion":"v2.6.2"} |
NewerOlder