微信自定义 Emoji 的输入码来自:
~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/<hash>/Stickers/StickerStoreData/NewEmojiConfig/newemoji-config.xml
{ | |
admin off | |
http_port 80 | |
https_port 443 | |
} | |
example.com:443 { # Replace with your domain | |
tls abc@example.com # Replace with your email for Let's Encrypt notifications | |
handle { |
// #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' | |
// }, { |
<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"> |
# 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) |
// #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' | |
// }] |
微信自定义 Emoji 的输入码来自:
~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/<hash>/Stickers/StickerStoreData/NewEmojiConfig/newemoji-config.xml
first request sid (so as to communicate Synology API)
python t2ds.py login -u <username> -p <password> [--otp 233333]
then create download task
python t2ds.py task --sid
user: openpai | |
password: openpai | |
docker_image_tag: v1.8.0 | |
gcr_image_repo: "registry.aliyuncs.com" | |
kube_image_repo: "registry.aliyuncs.com/google_containers" | |
openpai_kubespray_extra_var: | |
pod_infra_image_repo: "registry.aliyuncs.com/google_containers/pause-{{ image_arch }}" | |
dnsautoscaler_image_repo: "mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}" |
pandoc \ | |
preface.md \ | |
part-i.md \ | |
ch1.md \ | |
ch2.md \ | |
ch3.md \ | |
ch4.md \ | |
part-ii.md \ | |
ch5.md \ | |
ch6.md \ |
const { | |
map, | |
unmap, | |
iunmap | |
} = api; | |
// unmap('w'); | |
// unmap('e'); | |
map('w', 'E'); |