npm install --global node-gyp@latest
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js
This file contains 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 url("https://fonts.googleapis.com/css?family=Imprima"); | |
@import url("https://fonts.googleapis.com/css?family=Changa%20One"); | |
/* Transparent background */ | |
yt-live-chat-renderer { | |
background-color: transparent !important; | |
} | |
yt-live-chat-ticker-renderer { | |
background-color: transparent !important; |
This file contains 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 asyncio | |
from time import time | |
from hashlib import md5 | |
from typing import Dict | |
from httpx import AsyncClient | |
SALT = "c098828gy1h7k6oillopj223w15se3" | |
This file contains 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
from io import BytesIO | |
from pathlib import Path | |
from typing import Union | |
from base64 import b64decode | |
from urllib.parse import urlparse | |
from nonebot.log import logger | |
from nonebot.adapters.onebot.v12 import Bot, MessageSegment | |
This file contains 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
# For pip installed by get-pip.py | |
# set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/.local/bin" ] ; then | |
PATH="$HOME/.local/bin:$PATH" | |
fi |
This file contains 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 asyncio | |
import hmac | |
import json | |
from datetime import datetime | |
from pathlib import Path | |
from typing import Dict, Optional, Tuple, Union | |
from httpx import AsyncClient | |
# https://yuanshen.xin/static/js/chunk-vendors.6364f242.js "spaceName" |
This file contains 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
""" | |
需要绑定个人 Cookie 的充值插件,不再即插即用,使用前必须自行修改 Cookie 处理等代码,溜了 | |
哦对了,由于我的机机在境外,访问米哈游接口需要梯子,代码里 httpx.AsyncClient 都设置了代理 | |
境内机机使用 / 没有代理的话,务必记得删除文件中的 proxies={"all://": "socks5://127.0.0.1:1080"} | |
参考 https://github.com/KimigaiiWuyi/GenshinUID/pull/463 | |
""" | |
import hmac | |
import json | |
from time import time |
This file contains 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 asyncio | |
import json | |
import random | |
import string | |
import uuid | |
from hashlib import md5 | |
from time import time | |
from traceback import format_exc | |
from typing import Dict, Literal |
This file contains 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
#!/usr/bin/env bash | |
# Add to https://github.com/P3TERX/aria2.conf/blob/master/upload.sh | |
SENDMSG() { | |
FILE_LOCAL_PATH=$1 | |
FILE_REMOTE_PATH=$2 | |
ALIST_ROOT="cloud.monsterx.cn" | |
ALIST_DIR="/OneDrive/Aria" | |
ALIST_NAME="admin" |
This file contains 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
{ | |
"code": 200, | |
"title": "3.1深渊使用率排行(第二期)", | |
"rank_btn": "参与3.1深渊统计(第二期)", | |
"version": "当前版本:v3.1", | |
"now_version": "3.1第二期", | |
"old_version": "3.1第一期", | |
"last_update": "2022-10-19", | |
"update": "统计时间:2022-10-16至2022-10-30", | |
"top_own": 51912, |
NewerOlder