Setting up a Cloudflare Worker to freely download large Hugging Face models
Setting up a Cloudflare Worker to freely download large Hugging Face modelsPrefaceRecently, while working with ComfyUI, I encountered significant difficulties downloading models. I found existing online tools inadequate, and using a proxy quickly exhausted my bandwidth(this is a chinese’s problem:). Tools like huggingface-cli and ht-transfer each had their own shortcomings. Ultimately, I devised a solution leveraging aria2’s multi-source download capability. By combining several open-source...
Backing Up a Container's Data Volume with One Command
Backing Up a Container’s Data Volume with One CommandPreface When I first created the miniflux container, I used the official docker-compose.yml configuration: 12345678910111213141516171819202122232425262728services: miniflux: image: miniflux/miniflux:latest ports: - "80:8080" depends_on: db: condition: service_healthy environment: - DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable - RUN_MIGRATIONS=1 - CREATE_ADMIN=1 ...
Redirect USB to a remote host using usb-ip
Redirect USB to a remote host using usb-ip
Unlocking Hard Drive Limits! Booting Windows on a ¥50 ZTE CT321G2 Mini PC with iPXE Diskless Boot
I’ll begin by explaining why I decided to do this. I was using Apple TV to stream games to my computer at home and discovered that the Bluetooth-connected controller didn’t have vibration feedback, although it does when connected directly to the computer. After experiencing the controller vibration in Horizon, there was no going back. I needed a cheap solution. Enter this mini PC, found on Xianyu (a popular Chinese second-hand marketplace) for ¥50. It has an x86/64 architecture, but...
Connecting to Synology DSM Using VSCode Remote SSH
Connecting to Synology DSM Using VSCode Remote SSH Quick StartWhen connecting to Synology directly via VSCode SSH, you may encounter the following error: The remote host may not meet VS Code Server’s prerequisites for glibc and libstdc++ https://community.synology.com/enu/forum/10/post/153781 Resolution: 1. Connect to Synology via SSH Command Line1ssh [email protected] 1sudo vim /usr/bin/ldd 12#/bin/sh echo "ldd 2.20" 1chmod 755 /usr/bin/ldd 2. Enable Port...
A Non-Professional Comparison of Various Open Source Assembly/Disassembly Engines
A Non-Professional Comparison of Various Open Source Assembly/Disassembly EnginesFor both personal interest and work, I have studied and used various popular open source x86/64 assembly and disassembly engines. Analyzing and operating on assembly instructions requires either studying the Intel instruction set and writing an engine yourself, or using an existing open source engine. Because writing one from scratch is time-consuming, laborious, and error-prone, using an existing...
YY 2015 Reverse Analysis (1) Underlying Communication Mechanism
YY 2015 Reverse Analysis (1) Underlying Communication Mechanism ForewordHaving previously studied the protocol of YY version 6.2, I recently revisited it and found that the current version, 8.3.0.0, has undergone significant changes. Key exchange no longer utilizes ZLIB compression, and all command words have been completely revised. However, the communication algorithm remains unchanged, utilizing RSA + RC4. Underlying Communication Process YY’s packet structure consists of a 4-byte length...