This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # FixLater: Reconstructs YAFFS1 spare/oob data for image files that don't have it | |
| # Copyright (C) 2026 Liu Wenyuan | |
| # Derived from code in YAFFS; copyright (C) 2002-2018 Aleph One Ltd. | |
| # | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License version 2 as published by the Free | |
| # Software Foundation. | |
| # | |
| # This program is distributed in the hope that it will be useful, but WITHOUT | |
| # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Get hovered liveroom ids | |
| // @namespace io.github.dobby233liu.userscripts.bilibili.livegetroomundercursorurl | |
| // @version 1.1.1 | |
| // @description These guys can't use <a> like normal people | |
| // @author Liu Wenyuan | |
| // @match https://live.bilibili.com/* | |
| // @grant GM_registerMenuCommand | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Show liveroom category and play count | |
| // @namespace io.github.dobby233liu.userscripts.bilibili.liveshowroomarea | |
| // @version 1.1.7c | |
| // @description Adds a badge to show the category and play count in liveroom cards | |
| // @author Liu Wenyuan | |
| // @match https://*.bilibili.com/* | |
| // @exclude *://message.bilibili.com/pages/nav/header_sync* | |
| // @exclude *://message.bilibili.com/pages/nav/index_new_pc_sync* | |
| // @exclude *://s1.hdslb.com/bfs/seed/jinkela/short/cols/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| def validate_build_id(build_id): | |
| return build_id.isupper() \ | |
| and len(build_id) in (5, 6) \ | |
| and build_id[0].isalpha() \ | |
| and build_id[3:4+1].isdigit() \ | |
| and (not len(build_id) == 6 or build_id[5].isalpha()) | |
| # only ones that used this build ID format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Card full title | |
| // @namespace https://dobby233liu.neocities.org | |
| // @version v1.0.4 | |
| // @description Present full card title on hover | |
| // @author Liu Wenyuan | |
| // @match https://*.bilibili.com/* | |
| // @exclude *://message.bilibili.com/pages/nav/header_sync* | |
| // @exclude *://message.bilibili.com/pages/nav/index_new_pc_sync* | |
| // @exclude *://s1.hdslb.com/bfs/seed/jinkela/short/cols/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Froyocomb Helper | |
| // @namespace https://dobby233liu.neocities.org | |
| // @version v1.1.11d | |
| // @description [!! MOVED to https://github.com/froyocomb/tools !!] Tool for speeding up the process of finding commits from before a specific date (i.e. included with a specific build). Developed for Froyocomb, the Android pre-release source reconstruction project. | |
| // @author Liu Wenyuan & Froyocomb Team | |
| // @match https://android.googlesource.com/* | |
| // @match https://chromium.googlesource.com/* | |
| // @grant GM_addStyle | |
| // @grant GM_getValue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mido | |
| import sys | |
| import math | |
| def clean_pitch_bend(input_path, output_path): | |
| mid = mido.MidiFile(input_path) | |
| # should make sure each track only manipulate one channel first | |
| # (if BENDY is used please color all relevant notes to color 1) | |
| # if a track manipulates multiple channels |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Annonate Emoticons | |
| // @namespace https://dobby233liu.github.io | |
| // @version v1.3.25d | |
| // @description Adds emoticon and decoration card name hover hints to bilibili | |
| // @author Liu Wenyuan | |
| // @match https://*.bilibili.com/* | |
| // @exclude *://message.bilibili.com/pages/nav/header_sync* | |
| // @exclude *://message.bilibili.com/pages/nav/index_new_pc_sync* | |
| // @exclude *://s1.hdslb.com/bfs/seed/jinkela/short/cols/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name insights-ui.soundcloud.com | |
| @namespace github.com/openstyles/stylus | |
| @version 1.0.0 | |
| @description A new userstyle | |
| @author Me | |
| ==/UserStyle== */ | |
| @-moz-document domain("insights-ui.soundcloud.com") { | |
| .DataList_ListItem__aVXcC.DataList_Blur__rlRSs, |
NewerOlder