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 * as vscode from "vscode"; | |
export function activate(context: vscode.ExtensionContext) { | |
commentDecoration(); | |
vscode.window.onDidChangeActiveTextEditor(() => { | |
commentDecoration(); | |
}); | |
vscode.workspace.onDidChangeTextDocument( |
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
{ | |
"$schema": "https://beta.frontmatter.codes/frontmatter.schema.json", | |
"frontMatter.taxonomy.contentTypes": [ | |
{ | |
"name": "project", | |
"pageBundle": false, | |
"filePrefix": null, | |
"fields": [ | |
{ | |
"title": "title", |
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
"frontMatter.taxonomy.contentTypes": [{ | |
"name": "default", | |
"pageBundle": false, | |
"filePrefix": "yyyy-MM-dd", | |
"fields": [{ | |
"title": "Title", | |
"name": "title", | |
"type": "string", | |
"required": true | |
}, |
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
{ | |
"frontMatter.content.snippets": { | |
"Image snippet": { | |
"body": "{{< caption-new \"[[&mediaUrl]]\" \"[[caption]]\" >}}", | |
"isMediaSnippet": true, | |
"description": "" | |
}, | |
"Video snippet": { | |
"body": [ | |
"{{< video \"[[&mediaUrl]]\" \"[[caption]]\" >}}" |
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
:root { | |
--vscode-font-weight:normal; | |
--vscode-font-size:13px; | |
--vscode-editor-font-family:"Operator Mono Lig", "Cascadia Code"; | |
--vscode-editor-font-weight:normal; | |
--vscode-editor-font-size:15px; | |
--vscode-foreground:#f3eff5; | |
--vscode-errorForeground:#f48771; | |
--vscode-descriptionForeground:rgba(243, 239, 245, 0.7); | |
--vscode-icon-foreground:#c5c5c5; |
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
Cypress.Commands.add("visitWithAdal", (pageUrl) => { | |
const config = { | |
username: process.env.CI ? Cypress.env('USERNAME') : Cypress.env('username'), | |
password: process.env.CI ? Cypress.env('PASSWORD') : Cypress.env('password'), | |
tenant: process.env.CI ? Cypress.env('TENANT') : Cypress.env('tenant'), | |
clientId: process.env.CI ? Cypress.env('CLIENTID') : Cypress.env('clientid'), | |
clientSecret: process.env.CI ? Cypress.env('CLIENTSECRET') : Cypress.env('clientsecret'), | |
resource: process.env.CI ? Cypress.env('RESOURCE') : Cypress.env('resource') | |
}; |
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
{ | |
"type": "object", | |
"minProperties": 0, | |
"title": "The Root Schema", | |
"description": "The root schema comprises the entire JSON document.", | |
"additionalProperties": true, | |
"required": [ | |
"pluginAlias", | |
"pluginType", | |
"singular", |
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/bash | |
: <<'DISCLAIMER' | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
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
/** | |
* Load property pane resources | |
*/ | |
protected async loadPropertyPaneResources(): Promise<void> { | |
PropertyPaneHelpers.setSpinner({ | |
bgColor: "white", | |
spinnerProps: { | |
getStyles: () => { | |
return { | |
circle: { |
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
const playwright = require('playwright'); | |
const PAGE_URL = "https://www.eliostruyf.com"; | |
// Loop over all the supported browsers | |
for (const browserType of ["chromium", "firefox", "webkit"]) { | |
describe(`(${browserType}): UI Tests with Playwright`, () => { | |
let browser = null; | |
let page = null; |
NewerOlder