Skip to content

Instantly share code, notes, and snippets.

@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"
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active June 30, 2024 13:43
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@wumb0
wumb0 / delta_patch.py
Last active June 21, 2024 12:16
a script for applying MS patch deltas
from ctypes import (windll, wintypes, c_uint64, cast, POINTER, Union, c_ubyte,
LittleEndianStructure, byref, c_size_t)
import zlib
# types and flags
DELTA_FLAG_TYPE = c_uint64
DELTA_FLAG_NONE = 0x00000000
DELTA_APPLY_FLAG_ALLOW_PA19 = 0x00000001