Skip to content

Instantly share code, notes, and snippets.

@wumb0
wumb0 / delta_patch.py
Last active October 5, 2025 08:44
a script for applying MS patch deltas
import base64
import hashlib
import zlib
from ctypes import (
CDLL,
POINTER,
LittleEndianStructure,
c_size_t,
c_ubyte,
c_uint64,
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active December 12, 2025 08:23
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@feilongfl
feilongfl / converttsinghuatvtom3u8.js
Last active September 12, 2023 07:37
转换清华直播为m3u8
// https://iptv.tsinghua.edu.cn/channels_tsinghua.json
a = {
"Categories":[
{
"Name":"高清频道",
"Hidden":false,
"Channels":[
{
"Name":"CCTV-1高清",
"Vid":"cctv1hd"
@Jinmo
Jinmo / jni_all.h
Created May 26, 2017 07:36
Useful when reversing JNI on IDA Pro
/*
* Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*