Skip to content

Instantly share code, notes, and snippets.

View Zxilly's full-sized avatar
🌐
R.I.P

Zxilly

🌐
R.I.P
View GitHub Profile
@abersheeran
abersheeran / proxy.worker.js
Last active April 13, 2024 08:45
A proxy download cloudflare worker
addEventListener("fetch", (event) => {
event.respondWith(
handleRequest(event.request).catch(
(err) => new Response(err.stack, { status: 500 })
)
);
});
async function handleRequest(request) {
const url = getUrl(request)
@sxzz
sxzz / QQ-NT-package.json
Last active February 28, 2024 02:43
package.json for QQ-NT
{
"name": "QQ-NT",
"version": "6.8.3-4068",
"private": true,
"description": "QQ-NT",
"productName": "QQ-NT",
"author": {
"name": "Tencent",
"email": "QQ-Team@tencent.com"
},
@MaxXSoft
MaxXSoft / Dockerfile
Created November 27, 2022 09:40
A fun tool for generating an x86-64 Linux program that runs in reverse order.
FROM ubuntu:20.04
RUN apt update && DEBIAN_FRONTEND="noninteractive" apt install -y \
python3 build-essential
WORKDIR /root
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/product.schema.json",
"title": "sing-box config schema",
"type": "object",
"$defs": {
"listableString": {
"$comments": "ref:https://github.com/SagerNet/sing-box/blob/b0db869b052aa32ec1716e43f7c1f50d7e491057/option/types.go#L77",
"description": "allow not having to be an array when there's single item",
"oneOf": [