微信自定义 Emoji 的输入码来自:
~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/<hash>/Stickers/StickerStoreData/NewEmojiConfig/newemoji-config.xml
微信自定义 Emoji 的输入码来自:
~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/<hash>/Stickers/StickerStoreData/NewEmojiConfig/newemoji-config.xml
| // #popclip extension for ChatGPT | |
| // name: ChatGPT Code Reviewer | |
| // icon: "square filled CR" | |
| // language: javascript | |
| // module: true | |
| // entitlements: [network] | |
| // options: [{ | |
| // identifier: apikey, label: API Key, type: string, | |
| // description: 'Obtain API key from https://platform.openai.com/account/api-keys' | |
| // }] |
| # pip install "python-barcode[images]" | |
| import random | |
| import barcode | |
| from barcode import generate | |
| from barcode.writer import ImageWriter | |
| def calculate_ean13_checksum(code): | |
| odd_sum = sum(int(x) for i, x in enumerate(code) if i % 2 == 0) | |
| even_sum = sum(int(x) for i, x in enumerate(code) if i % 2 == 1) |
| <div class="entry"> | |
| <p class="en_bold"> | |
| {{entry}} | |
| </p> | |
| <p class="zh_light">{{definition}}</p> | |
| </div> | |
| {{#sentence}}<p class="separator">☙</p>{{/sentence}} | |
| <div class="context"> |
| // #popclip extension for Google Gemini | |
| // name: Google Gemini | |
| // icon: "square filled G" | |
| // language: javascript | |
| // module: true | |
| // entitlements: [network] | |
| // options: [{ | |
| // identifier: apikey, label: API Key, type: string, | |
| // description: 'Obtain API key from Google Cloud Console' | |
| // }, { |
| { | |
| admin off | |
| http_port 80 | |
| https_port 443 | |
| } | |
| example.com:443 { # Replace with your domain | |
| tls [email protected] # Replace with your email for Let's Encrypt notifications | |
| handle { |
| { | |
| "description": "Use left Shift for English/Chinese input switching", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_shift_pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } |
| #!/bin/bash | |
| set -euo pipefail | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <input_directory>" | |
| exit 1 | |
| fi | |
| input_dir="$1" | |
| model_path="$HOME/Downloads/ggml-model-whisper-base.bin" |
Usage:
Install Templater Obsidian Plugin
Copy template_leetcode.md, getProblem.js and parseProblem.js into your templater folder
download karabiner-elements at https://karabiner-elements.pqrs.org/
save the keykey_apple_books.json to ~/.config/karabiner/assets/complex_modifications/keykey_highlights.json
enable on karabiner-elements: settings -> complex modifications -> add predefined rule