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 Gemini Force Pro | |
| // @namespace https://shuymn.me | |
| // @updateURL https://gist.githubusercontent.com/shuymn/2bcc1232ae6f764ddec4ffd20901b0b1/raw/gemini-force-pro.user.js | |
| // @downloadURL https://gist.githubusercontent.com/shuymn/2bcc1232ae6f764ddec4ffd20901b0b1/raw/gemini-force-pro.user.js | |
| // @version 0.4.0 | |
| // @description On /app (root) ensure Pro mode. Boost frequency for first 5s. If user interacts with mode UI, pause until URL changes. | |
| // @match https://gemini.google.com/* | |
| // @run-at document-idle | |
| // @grant none |
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
| import { Miniflare } from 'miniflare' | |
| const mf = new Miniflare({ | |
| modules: true, | |
| script: 'addEventListener("fetch", (event) => event.respondWith(new Response(null, { status: 404 })));', | |
| d1Databases: ['DEBUG'], | |
| }) | |
| const QUERY = ` | |
| CREATE TABLE debug ( |
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
| { | |
| "srcDirs": ["/path/to/dir"], | |
| "destDir": "/path/to/dir", | |
| "minDuplicates": 2 | |
| } |
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
| ExportAwsVault() { | |
| local profile | |
| profile=$(aws-vault list --profiles | fzf) && | |
| unset AWS_VAULT && | |
| export $(aws-vault exec "$profile" --prompt=osascript -- env | grep AWS_) | |
| } | |
| # alias eva='ExportAwsVault' |
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
| { | |
| "title": "Custom key-binding in Microsoft Teams", | |
| "rules": [ | |
| { | |
| "description": "Custom key-binding in Microsoft Teams", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "conditions": [ | |
| { |
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
| import fontforge | |
| import argparse | |
| KATAKANA_LOWER_BOUND = 0x30A0 | |
| KATAKANA_UPPER_BOUND = 0x30FF | |
| def remove_katakana_glyphs(input: str, output: str): | |
| font = fontforge.open(input) | |
| for glyph in font.glyphs(): |
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
| つきのみと 月ノ美兎 名詞 | |
| つきの 月ノ 名詞 | |
| みと 美兎 名詞 | |
| しずかりん 静凛 名詞 | |
| しずか 静 名詞 | |
| りん 凛 名詞 | |
| ひぐちかえで 樋口楓 名詞 | |
| ひぐち 樋口 名詞 | |
| かえで 楓 名詞 | |
| しぶやはじめ 渋谷ハジメ 名詞 |
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
| status key command | |
| Conversion Backspace Cancel | |
| Composition Backspace Backspace | |
| Precomposition Backspace Revert | |
| Composition Ctrl [ ConvertToFullKatakana | |
| Conversion Ctrl [ ConvertToFullKatakana | |
| Conversion Ctrl ] ConvertToHalfWidth | |
| Composition Ctrl ] ConvertToHalfWidth | |
| Precomposition Ctrl Backspace Undo | |
| Prediction Ctrl Delete DeleteSelectedCandidate |
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
| ka か | |
| ki き | |
| ku く | |
| ke け | |
| ko こ | |
| kz かん | |
| kn かん | |
| kk きん | |
| kj くん | |
| kd けん |
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 | |
| # 値が設定されていない変数を参照した場合にエラーメッセージを表示してスクリプトを終了する | |
| set -u | |
| # 変数定義 | |
| HOME='/home/hoge' | |
| SCRIPT_START='/home/hoge/script/foo.sh' | |
| DIR_TMP='/home/foo/bar' | |
| TIMESTAMP=$(date +%Y%m%d) |
NewerOlder