Skip to content

Instantly share code, notes, and snippets.

View zkitefly's full-sized avatar
🤔
thinking

Zkitefly zkitefly

🤔
thinking
View GitHub Profile
把游戏内的 选项 -- 视频设置 -- 其他 -- 显示 GL 错误 关了
光影包下载地址:https://modrinth.com/shaders
https://wiki.shaderlabs.org/wiki/Shaderpacks
远程控制软件:https://newdl.todesk.com/windows/ToDesk_Lite.exe
https://d.oray.com/sunlogin/windows/SunloginSOS_1.2.1.61234_Win32.exe
截图教程:https://zhuanlan.zhihu.com/p/92074446
ffmpeg.exe -i "我们采访了AMD的CEO Lisa Su,和她聊了聊AI!.mp4" -vf scale=320:240 output.mp4
ffmpeg.exe -i output.mp4 -ac 1 -ar 22050 -r 25 -block_size 882 output.amv
@zkitefly
zkitefly / tinycraft.py
Created February 10, 2024 03:30
tinycraft.py
# fork from https://gist.github.com/darkerbit/8b62dd4b8ed3f6fcac9f90e839e06e27
# TinyCraft: incredibly tiny Minecraft launcher
# Windows only, at present.
# Uses Mojang's bundled JVMs, downloading them as needed.
# Copyright (c) 2023 darkerbit
#
# This software is provided 'as-is', without any express or implied
@zkitefly
zkitefly / workers.js
Created February 2, 2024 07:39
workers.js
export default {
/**
* @param {Request} request
* @param {Env} env
* @param {ExecutionContext} ctx
* @returns {Promise<Response>}
*/
async fetch(request, env, ctx) {
const pathRegex = /OptiFine_|\.jar$/;
const url = new URL(request.url),
@zkitefly
zkitefly / version.py
Last active January 29, 2024 15:36
version.py
# https://gist.github.com/zkitefly/9e789c934a8cc7847330674432babfd0
import json
import os
import requests
# 读取版本列表和版本清单文件的URL
# test url: https://cdn.crashmc.com/https://gist.github.com/zkitefly/9e789c934a8cc7847330674432babfd0/raw/66a580349159aa26a405eb02f1dcbf6a16efeb15/test-versions.txt
versions_txt_url = "https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCLCore/src/main/resources/assets/game/versions.txt"
version_manifest_url = "https://launchermeta.mojang.com/mc/game/version_manifest.json"
local_versions_txt = "versions.txt"
@zkitefly
zkitefly / optifine.json
Created January 28, 2024 15:10
optifinelist.py
[
{
"name": "1.20.4-OptiFine_HD_U_I7_pre2",
"time": "2023-12-22",
"ispreview": true,
"mcversion": "1.20.4",
"filename": "preview_OptiFine_1.20.4_HD_U_I7_pre2.jar",
"forge": null
},
{
@zkitefly
zkitefly / 炸师傅的常用句子.md
Last active June 9, 2025 16:40
炸师傅的常用句子
@zkitefly
zkitefly / HMCL-Snapshot-Update-prs.bat
Last active December 31, 2023 15:12
HMCL-Snapshot-Update-prs
@echo off
REM 指定文件夹名称
set "folder_name=HMCL-Snapshot-Update"
REM HMCL-Snapshot-Update-prs.exe 文件名
set "executable_name=HMCL-Snapshot-Update-prs.exe"
REM 下载链接
set "download_url=https://rgp.zkitefly.repl.co/https:/raw.githubusercontent.com/burningtnt/HMCL-Snapshot-Update/prs/datas/wrapped-snapshot.json"
{
"id": "1.20.1-forge-47.1.79",
"time": "2023-09-26T09:01:42+01:00",
"releaseTime": "2023-09-26T09:01:42+01:00",
"type": "release",
"mainClass": "cpw.mods.bootstraplauncher.BootstrapLauncher",
"inheritsFrom": "1.20.1",
"logging": {
},
@zkitefly
zkitefly / sharedchat.py
Created October 3, 2023 07:04
sharedchat
import json
import pandas as pd
import matplotlib.pyplot as plt
from datetime import datetime
# 用户输入JSON路径
json_path = input("请输入JSON文件路径:")
# 读取JSON文件
with open(json_path, 'r') as json_file: