Skip to content

Instantly share code, notes, and snippets.

View LittleChest's full-sized avatar
😶‍🌫️
Being ignored...

LittleChest

😶‍🌫️
Being ignored...
View GitHub Profile
🗣 Commented on #262 in LeavesMC/Leaves
🗣 Commented on #262 in LeavesMC/Leaves
🗣 Commented on #262 in LeavesMC/Leaves
🗣 Commented on #262 in LeavesMC/Leaves
❗️ Opened issue #999 in 1Password/for-open-source
⭐ Total Stars: 1
➕ Total Commits: 388
🔀 Total PRs: 75
🚩 Total Issues: 110
📦 Contributed to: 52
🌞 Morning 13 commits ▉░░░░░░░░░░░░░░░░░░░░ 4.7%
🌆 Daytime 64 commits ████▉░░░░░░░░░░░░░░░░ 23.3%
🌃 Evening 157 commits ███████████▉░░░░░░░░░ 57.1%
🌙 Night 41 commits ███▏░░░░░░░░░░░░░░░░░ 14.9%
@LittleChest
LittleChest / en.json
Last active January 27, 2024 17:58
Translation files for LeavesMC website
{
"seo": {
"index": {
"title": "Home",
"description": "LeavesMC is a Minecraft software organization focusing on improving the game’s ecosystem with faster and more secure software."
},
"downloads": {
"index": {
"title": "Downloads",
"description": "Find downloads for our software – including Leaves."
// 万物起源
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
// 主逻辑
async function handleRequest(request) {
const url = new URL(request.url);
const path = url.pathname;
const otaResponse = await ROMS.get(`OTA_${path}`);
@LittleChest
LittleChest / mihomo.sh
Created December 10, 2023 12:21
Public
#!/bin/sh
tproxy_port="7893"
routing_mark="2023"
id="2024"
iptables="iptables -w 100"
ip6tables="ip6tables -w 100"
intranet=(0.0.0.0/8 10.0.0.0/8 100.64.0.0/10 127.0.0.0/8 169.254.0.0/16 172.16.0.0/12 192.0.0.0/24 192.0.2.0/24 192.88.99.0/24 192.168.0.0/16 198.51.100.0/24 203.0.113.0/24 224.0.0.0/4 233.252.0.0/24 240.0.0.0/4 255.255.255.255/32)