Turn intent into shipped outcomes with three synchronized tiers.
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
| // Bindings required: | |
| // - R2: R2 bucket | |
| // - KV: KV namespace | |
| // - MONITOR_URL: e.g. "https://example.com/test.json" | |
| const MONITOR_URL = 'https://example.com/test.json' | |
| export default { | |
| async scheduled(event, env, ctx) { | |
| ctx.waitUntil(run(env)); |
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
| // ==UserScript== | |
| // @name YouTube Custom CSS | |
| // @namespace https://github.com/u1-liquid | |
| // @version 1.0.1 | |
| // @description YouTube上で特定要素を非表示/スタイルを調整 | |
| // @grant GM_addStyle | |
| // @author u1-liquid | |
| // @source https://gist.github.com/u1-liquid/6e768d1761ec4abed9815268fabcae43 | |
| // @match https://www.youtube.com/* | |
| // @run-at document-idle |
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
| // ==UserScript== | |
| // @name VOICEVOX TTS for Google Meet | |
| // @namespace https://github.com/u1-liquid | |
| // @version 1.0.12 | |
| // @description Google Meetのチャット送信メッセージをローカルのVOICEVOXで読み上げる | |
| // @grant GM_xmlhttpRequest | |
| // @author u1-liquid | |
| // @source https://gist.github.com/u1-liquid/da1a04abf7a69f7229d107b03655b751 | |
| // @match https://meet.google.com/* | |
| // @run-at document-body |
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
| // ==UserScript== | |
| // @name VOICEVOX TTS for Gather.Town | |
| // @namespace https://github.com/u1-liquid | |
| // @version 1.0.9 | |
| // @description Gather.Townのチャット送信メッセージをローカルのVOICEVOXで読み上げる | |
| // @grant GM_xmlhttpRequest | |
| // @author u1-liquid | |
| // @source https://gist.github.com/u1-liquid/088e54bdc31a1b5845e5dd3b8961fac6 | |
| // @match https://app.gather.town/* | |
| // @run-at document-body |
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
| CREATE OR REPLACE FUNCTION base36_decode(IN base36 text) | |
| RETURNS bigint AS $$ | |
| DECLARE | |
| chars text := '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
| acc bigint := 0; | |
| digit int; | |
| c text; | |
| i int; | |
| len int; | |
| BEGIN |
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
| #!/bin/sh | |
| # https://unix.stackexchange.com/a/522127 | |
| cat /proc/net/fib_trie | awk '/32 host/ { print f } {f=$2}' | sort | uniq | grep -v 127.0.0.1 |
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
| #Requires -RunAsAdministrator | |
| Write-Output "Update DoH settings ..." | |
| $baseRegistryPath = "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters" | |
| if (Test-Path $baseRegistryPath) { | |
| Remove-Item -Path $baseRegistryPath -Recurse -Force 2>&1 | Out-Null | |
| } | |
| $adapters = Get-NetAdapter -IncludeHidden | Where-Object {$_.Status -ne 'Not Present'} |
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
| #!/bin/bash | |
| apt-get update | |
| dpkg --get-selections | grep deinstall | awk '{print $1}' | xargs apt-get --yes purge | |
| apt-get --yes --ignore-hold --with-new-pkgs --allow-change-held-packages upgrade | |
| apt-get --yes --ignore-hold --allow-change-held-packages dist-upgrade | |
| apt-get --yes --purge autoremove | |
| dpkg --get-selections | grep deinstall | awk '{print $1}' | xargs apt-get --yes purge | |
| # vmware-modconfig --console --install-all |
NewerOlder