😶🌫️
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
| body.dark .gist { | |
| .gist-file { | |
| border-color: #555 #555 #444; | |
| } | |
| .gist-data { | |
| border-color: #555; | |
| .pl-s .pl-s1 { | |
| color: #a5c261; | |
| } | |
| } |
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 AutoHotkey v2.0 | |
| #SingleInstance Force | |
| ; --- 配置区域 --- | |
| HideDelay := 400 ; 闲置多久隐藏(单位:毫秒) | |
| ActiveCheck := 100 ; 鼠标活动时的检测频率 | |
| HiddenCheck := 200 ; 鼠标隐藏后的检测频率 | |
| ; ---------------- | |
| IsScriptEnabled := false ; 默认关闭状态 |
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
| (async () => { | |
| const pages = [ | |
| "https://help.aliyun.com/zh/model-studio/text-generation-model/", | |
| "https://help.aliyun.com/zh/model-studio/compatibility-with-openai-responses-api", | |
| ]; | |
| async function fetchModels(url) { | |
| const html = await fetch(url).then((r) => r.text()); | |
| const doc = new DOMParser().parseFromString(html, "text/html"); |
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
| /* ==UserStyle== | |
| @name Wikipedia Editor Mode Fix for Dark theme | |
| @namespace https://wikipedia.org/ | |
| @version 1.5 | |
| @description Fixed an issue where Wikipedia's color scheme wasn't adapted to the editor in dark mode. It needs to be used in conjunction with another script to prevent the white screen flickering problem. | |
| @author Kaesinol | |
| @license Unlicense | |
| @match https://*.wikipedia.org/w/index.php?*action=edit* | |
| @match https://*.wikipedia.org/w/index.php?*action=submit* | |
| ==/UserStyle== */ |
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 re | |
| import shutil | |
| from pathlib import Path | |
| def organize_stickers(): | |
| """ | |
| 整理线条小狗贴纸文件夹,按每120个文件为一组生成新文件夹 | |
| """ | |
| current_dir = Path('.') |
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 random | |
| import string | |
| import sys | |
| import time | |
| # Base63字符集:a-zA-Z0-9_ (63个字符) | |
| BASE63_CHARS = string.ascii_letters + string.digits + '_' | |
| SALT_CHARS = string.ascii_letters # 仅英文字母用作扰动前缀 | |
| # 映射表 | |
| DECODE_MAP = {c: i for i, c in enumerate(BASE63_CHARS)} |
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 Bilibili评论区图片批量下载 | |
| // @namespace BilibiliCommentImageDownloader | |
| // @version 0.9.3 | |
| // @description 批量下载B站评论区中的图片(暂仅支持动态和视频评论区) | |
| // @author Kaesinol | |
| // @license MIT | |
| // @match https://t.bilibili.com/* | |
| // @match https://*.bilibili.com/opus/* | |
| // @match https://www.bilibili.com/video/* |
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 Bilibili 账号已注销修正 | |
| // @name:zh-CN Bilibili 账号已注销修正 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2.8.1.post | |
| // @license MIT | |
| // @description 修正Bilibili 账户已注销的主页链接,修改为 https://www.bilibili.com/list/$UID | |
| // @description:zh-CN 修正Bilibili 账户已注销的主页链接,修改为 https://www.bilibili.com/list/$UID | |
| // @author Kaesinol | |
| // @match https://*.bilibili.com/* |
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 画世界下载原图 | |
| // @name:zh-CN 画世界下载原图 | |
| // @namespace 画世界下载原图 | |
| // @homepage https://gist.github.com/kaixinol/a7521662de470d427db2eb9d45cd843e/ | |
| // @version 0.4 | |
| // @license MIT | |
| // @description:zh-cn 从画世界网页版(PC端UA)下载原图的脚本 | |
| // @description 从画世界网页版(PC端UA)下载原图的脚本 | |
| // @author Kaesinol |
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 Bilibili图文动态预览图片下载 | |
| // @namespace BilibiliDynamicPreviewDownload | |
| // @license MIT | |
| // @version 1.6.0 | |
| // @description 在B站个人空间的投稿 - 图文界面,提供右键直接下载动态中的图片,并记录已下载的动态ID,改变背景颜色来区别。(新支持新旧动态页面 + 专栏) | |
| // @author Kaesinol | |
| // @match https://space.bilibili.com/* | |
| // @match https://www.bilibili.com/opus/* | |
| // @match https://t.bilibili.com/* |
NewerOlder