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
// ==UserScript== | |
// @name Backlogの課題番号から該当の課題を直接開くやつ | |
// @namespace dev.mohemohe.backlog.shortcut | |
// @match https://*.backlog.jp/* | |
// @match https://*.backlog.com/* | |
// @grant none | |
// @version 1.1 | |
// @author mohemohe | |
// @description 2024/6/5 15:30:49 | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name github.com Backlog linkify | |
// @namespace Violentmonkey Scripts | |
// @match https://github.com/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 2024/4/22 14:40:04 | |
// @require https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name FxTwitter | |
// @namespace Violentmonkey Scripts | |
// @match https://twitter.com/*/status/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 2024/1/10 14:48:46 | |
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/shortcut@1 | |
// @require https://cdn.jsdelivr.net/combine/npm/@violentmonkey/dom@2,npm/@violentmonkey/[email protected] |
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
(async () => { | |
const waitAsync = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); | |
document.querySelector(".ytp-settings-button").click(); | |
await waitAsync(500); | |
let items = document.querySelectorAll(".ytp-settings-menu .ytp-menuitem-label"); | |
let ok = false; | |
for (const item of Array.from(items)) { |
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 | |
current="$(lsappinfo info -only name "$(lsappinfo front)" | cut -d'=' -f2)" | |
case "$current" in | |
'"Parsec"' | '"Parallels Desktop"' ) profile="PC" ;; | |
* ) profile="Default" ;; | |
esac | |
if [[ ! -e /tmp/watch-karabiner ]]; then | |
touch /tmp/watch-karabiner |
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 -x | |
if [[ "${COMPOSE_VERSION}" == "" ]]; then | |
echo "must be set env 'COMPOSE_VERSION'" | |
exit 1 | |
fi | |
OS="$(uname -s | awk '{print tolower($0)}')" | |
ARCH="$(uname -m)" |
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
(async () => { | |
const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms)); | |
const subtitleButton = document.querySelector('.ytp-subtitles-button'); | |
if (!subtitleButton) { | |
return; | |
} | |
const subtitleButtonState = subtitleButton.getAttribute('aria-pressed') === 'true'; | |
subtitleButton.click(); | |
if (subtitleButtonState) { |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2020 mohemohe <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
// This file was initially generated by Windows Terminal 1.0.1401.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
NewerOlder