已弃用, 请前往mnixry/nonebot-plugin-guild-patch获取最新更新
go-cqhttp>=1.0.0-beta8- 已支持
1.0.0-beta8-fix1新加入的事件
- 已支持
NoneBot2>=2.0.0a16
| // ==UserScript== | |
| // @name SkyeySnow Jigsaw Solver | |
| // @namespace https://gist.github.com/mnixry/ | |
| // @version 0.2.3 | |
| // @description Automaitc resolve jigsaw puzzle of SkyeySnow | |
| // @author Mix | |
| // @match https://skyeysnow.com//puzzle.php* | |
| // @match https://www.skyey2.com//puzzle.php* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=skyeysnow.com | |
| // @grant unsafeWindow |
| from nacl import encoding, hash, pwhash | |
| username = b"" # Input your email and password here | |
| password = b"" | |
| result = pwhash.argon2id.kdf( | |
| size=64, | |
| password=password, | |
| salt=hash.generichash( | |
| password[:6] + username + b"novelai_data_access_key", |
| import argparse | |
| import re | |
| import shutil | |
| import subprocess | |
| from datetime import datetime, timedelta | |
| from fnmatch import fnmatch | |
| from mimetypes import guess_type | |
| from pathlib import Path | |
| from tempfile import TemporaryDirectory | |
| from typing import NamedTuple, Optional, cast |
| // ==UserScript== | |
| // @name Highlight inactive group member | |
| // @namespace https://gist.github.com/mnixry/ | |
| // @version 0.1 | |
| // @description Highlight inactive group members with rainbow color | |
| // @author Mix | |
| // @author yanyongyu | |
| // @match https://qun.qq.com/member.html | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=qq.com | |
| // @updateURL https://gist.github.com/mnixry/8f77e4fa658170561d6f7197ce7d6340/raw/highlight-inactive-member.user.js |
| <template> | |
| <q-slider v-model="cols" :max="6" :min="1"></q-slider> | |
| <div class="column" :class="`masonry-${cols}`"> | |
| <div | |
| v-for="(_, index) in new Array(cols).fill(undefined)" | |
| :key="index" | |
| class="flex-break" | |
| /> | |
| <q-card |
| import '@ssttevee/cfw-formdata-polyfill'; | |
| import * as poly from '@ssttevee/blob-ponyfill'; | |
| export const BuiltinBlob = Blob, | |
| BuiltinFile = File, | |
| BuiltinFormData = FormData; | |
| class OverrideFormData extends BuiltinFormData { | |
| public append(name: string, value: string | Blob, filename?: string): void { | |
| const reader = new poly.FileReaderSync(); |
已弃用, 请前往mnixry/nonebot-plugin-guild-patch获取最新更新
go-cqhttp >= 1.0.0-beta8
1.0.0-beta8-fix1新加入的事件NoneBot2 >= 2.0.0a16| // ==UserScript== | |
| // @name Marxist downloader | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Downlaod PDF books from Marxists.org Chinese | |
| // @author Mix <mnixry@users.noreply.github.com> | |
| // @match https://www.marxists.org/chinese/pdf/* | |
| // @grant GM_download | |
| // @grant unsafeWindow | |
| // ==/UserScript== |
| /* eslint-disable @typescript-eslint/no-unused-vars */ | |
| import { Type as ClassType } from '@nestjs/common'; | |
| import { ApiProperty } from '@nestjs/swagger'; | |
| import { METADATA_FACTORY_NAME } from '@nestjs/swagger/dist/plugin/plugin-constants'; | |
| import { BUILT_IN_TYPES } from '@nestjs/swagger/dist/services/constants'; | |
| import { Transform, Type } from 'class-transformer'; | |
| import { IsEnum, IsOptional, IsPositive, Max } from 'class-validator'; | |
| import { Request } from 'express'; | |
| import { | |
| IPaginationLinks, |