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
echo -e '<playercorefactory> | |
<players> | |
<player name="iina" type="ExternalPlayer" audio="false" video="true"> | |
<filename>/Applications/IINA.app/Contents/MacOS/IINA</filename> | |
</player> | |
<player name="VLC" type="ExternalPlayer" audio="false" video="true"> | |
<filename>/Applications/VLC.app/Contents/MacOS/VLC</filename> | |
<args>--video-on-top --play-and-exit</args> | |
<hidexbmc>true</hidexbmc> | |
</player> |
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
/** | |
* Encrypts plaintext using AES-GCM with supplied password, for decryption with aesGcmDecrypt(). | |
* (c) Chris Veness MIT Licence | |
* | |
* @param {String} plaintext - Plaintext to be encrypted. | |
* @param {String} password - Password to use to encrypt plaintext. | |
* @returns {String} Encrypted ciphertext. | |
* | |
* @example | |
* const ciphertext = await aesGcmEncrypt('my secret text', 'pw'); |
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 el = document.querySelector("h1"); | |
const threshold = 50; | |
const between = (x, min, max) => x >= min && x <= max; | |
const getElBoundingBox = (el, threshold = 0) => { | |
const elPos = el.getBoundingClientRect(); | |
return { | |
top: elPos.top - threshold, |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Site Title</title> | |
<link rel="stylesheet" href="/assets/css/style.min.css"> |
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
listDirectoryContents = async (directoryHandle, depth) => { | |
depth = depth || 1; | |
directoryHandle = directoryHandle || await navigator.storage.getDirectory(); | |
const entries = await directoryHandle.values(); | |
for await (const entry of entries) { | |
// Add proper indentation based on the depth | |
const indentation = ' '.repeat(depth); | |
if (entry.kind === 'directory') { |
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
2024-12-19 18:03:03 +0000 | |
ninja | |
-v | |
[1/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-compile-resources ../src/vte.gresource.xml --sourcedir ../src --c-name _vte --internal --generate --target src/vteresources.h | |
[2/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-compile-resources ../src/vte.gresource.xml --sourcedir ../src --c-name _vte --internal --generate --target src/vteresources.c --dependency-file src/vteresources.c.d | |
[3/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-genmarshal --quiet --prefix _vte_marshal --internal --valist-marshallers --output src/marshal.h --header ../src/marshal.list --pragma-once | |
[4/201] /opt/homebrew/opt/glib/bin/glib-mkenums --output src/vte/vtetypebuiltins-gtk4.h --template /private/tmp/vte-20241219-81307-ivfxmu/vte-0.70.0/src/vte/../vtetypebuiltins.h.template ../src/vte/vtedeprecated.h ../src/vte/vteenums.h | |
[5/201] /opt/homebrew/opt/glib/bin/glib-mkenums --output src/vte/vtetypebuiltins-gtk4.cc --template /private/tmp/vte-20241219-81307-ivfxmu/vte-0.70.0/src/vte/../vtetypebui |
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
2024-12-19 18:03:03 +0000 | |
ninja | |
-v | |
[1/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-compile-resources ../src/vte.gresource.xml --sourcedir ../src --c-name _vte --internal --generate --target src/vteresources.h | |
[2/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-compile-resources ../src/vte.gresource.xml --sourcedir ../src --c-name _vte --internal --generate --target src/vteresources.c --dependency-file src/vteresources.c.d | |
[3/201] /opt/homebrew/Cellar/glib/2.82.4/bin/glib-genmarshal --quiet --prefix _vte_marshal --internal --valist-marshallers --output src/marshal.h --header ../src/marshal.list --pragma-once | |
[4/201] /opt/homebrew/opt/glib/bin/glib-mkenums --output src/vte/vtetypebuiltins-gtk4.h --template /private/tmp/vte-20241219-81307-ivfxmu/vte-0.70.0/src/vte/../vtetypebuiltins.h.template ../src/vte/vtedeprecated.h ../src/vte/vteenums.h | |
[5/201] /opt/homebrew/opt/glib/bin/glib-mkenums --output src/vte/vtetypebuiltins-gtk4.cc --template /private/tmp/vte-20241219-81307-ivfxmu/vte-0.70.0/src/vte/../vtetypebui |
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
[ | |
...document | |
.getElementById( | |
"checkbox-form-component-profileEditFormElement-SKILL-AND-ASSOCIATION-skill-ACoAAER-oMoBZ2Gj7DeLnyDhqW4wgvSDFHT2VJ4-1-associations-positionUrns" | |
) | |
.querySelectorAll("label[data-test-text-selectable-option__label]"), | |
].map((item) => item.click()); |
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
bind-addr: 0.0.0.0:9898 | |
host: http://coder.localhost | |
auth: password | |
password: eweewr | |
cert: false | |
name: test | |
template: https://github.com/bpmct/coder-templates/tree/main/desktop-container |
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
{ | |
"version": "2.0.0", | |
"presentation": { | |
"echo": false, | |
"reveal": "always", | |
"focus": true, | |
"panel": "dedicated", | |
"showReuseMessage": true | |
}, | |
"tasks": [ |
NewerOlder