Skip to content

Instantly share code, notes, and snippets.

@lyc8503
lyc8503 / Bilibili共享大会员.user.js
Last active April 13, 2025 05:18
和朋友共享 Bilibili 大会员账号 (主要自用, 不对该脚本提供任何技术支持, 请勿询问我与此脚本有关的任何问题. 仅限和朋友分享账号, 请勿用于商业用途.)
// ==UserScript==
// @name Bilibili VIP
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 不给叔叔送钱
// @author You
// @match *://www.bilibili.com/bangumi/play/*
// @match *://www.bilibili.com/video/*
// @connect api.bilibili.com
// @icon https://www.bilibili.com/favicon.ico
@fortinmike
fortinmike / reclaim-disk-space.bat
Last active April 13, 2025 18:03
Aggressively reclaim disk space in a Windows partition
::
:: Reclaims Windows disk space in a "destructive" manner (can't uninstall service packs and updates afterwards, etc.).
:: Use at your own risk. Useful for Windows installations in space-constrained environments, such as a small Boot Camp
:: partition on a Mac.
::
:: [IMPORTANT] It is strongly suggested to make a full-disk backup of your Windows partition before running this script,
:: as you can't roll back service packs and updates afterwards.
::
:: [IMPORTANT] Run this script as admin (required to run `Dism.exe` among other things).
::