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
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "es2015", | |
"moduleResolution": "node", | |
"allowSyntheticDefaultImports": true, | |
"esModuleInterop": true, | |
"sourceMap": true, | |
"allowJs": 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
{ | |
"folders": [ | |
{ | |
"file_exclude_patterns": [ | |
".gitkeep", | |
"*.min.*", | |
"*.ts.snap", | |
"*lock*" | |
], | |
"folder_exclude_patterns": [ |
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 | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Search on Kagi | |
# @raycast.mode compact | |
# @raycast.argument1 { "type": "text", "placeholder": "query", "percentEncoded": true } | |
# Optional parameters: | |
# @raycast.icon images/icon-kagi.png |
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
#!/usr/bin/python3 | |
# Linkoln by Anima Omnium | |
# Dedicated to the Public Domain | |
# https://animaomnium.github.io/keep-stuff-linkable/ | |
# [[programming language:Rust]] is a [[systems programming language]] bootstrapped from [[rust prehistory|OCaml]]. | |
# [Rust][1] is a [systems programming language][2] bootstrapped from [OCaml][3]. | |
# [1]: https://www.rust-lang.org | |
# [2]: https://en.wikipedia.org/wiki/System_programming_language | |
# [3]: https://github.com/graydon/rust-prehistory |
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
// Save this as the URL for your bookmark and click the bookmark when you are on the page you want to open in Elk | |
javascript:void function(){window.location=`https://elk.zone/${window.location.hostname}${window.location.pathname}`}(); |
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
stateful-switch > *:not([switch-active]) { | |
display: none; | |
} |
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
/* Demo: https://js-toggle-custom-element.stackblitz.io/ */ | |
[is='toggle-container'] > *:not([is='toggle-button']) { | |
display: none; | |
} | |
[is='toggle-container'][open] > *:not([is='toggle-button']) { | |
display: block; | |
} |
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
{ | |
"id": "custom-cc37d55a-4b1f-4a3c-9f49-6f3e0cd15520", | |
"name": "Canary (Ortho)", | |
"description": "https://github.com/Apsu/Canary#ortho", | |
"version": 1, | |
"keys": { | |
"Digit1": { | |
"default": { | |
"base": "1", | |
"shift": "!" |
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
CREATE OR REPLACE FUNCTION encrypt_field() | |
RETURNS TRIGGER | |
AS $func$ | |
BEGIN | |
IF PGP_SYM_ENCRYPT(NEW.encrypted_field, 'the-password-here')::text != OLD.encrypted_field::text THEN | |
NEW.encrypted_field := PGP_SYM_ENCRYPT(NEW.encrypted_field, 'the-password-here')::text; | |
END IF; | |
RETURN NEW; | |
END | |
$func$ |
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
<?php | |
$mappings = [ | |
82 => [ | |
'key' => 'R', | |
'message' => 'Redownloading all pages...', | |
], | |
114 => [ | |
'key' => 'r', | |
'message' => 'Redownloading all pages...', |