Skip to content

Instantly share code, notes, and snippets.

View Dobby233Liu's full-sized avatar
😵‍💫

Liu Wenyuan Dobby233Liu

😵‍💫
View GitHub Profile
/* ==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,
// ==UserScript==
// @name 跳转到opus/t页面
// @namespace https://dobby233liu.github.io
// @version v1.0.1b
// @description 更换动态页界面类型
// @author Liu "Dobby233Liu" Wenyuan
// @match https://t.bilibili.com/*
// @match https://www.bilibili.com/opus/*
// @exclude *://message.bilibili.com/pages/nav/header_sync*
// @exclude *://message.bilibili.com/pages/nav/index_new_pc_sync*
@Dobby233Liu
Dobby233Liu / solver.hta
Last active November 30, 2024 06:20
Binary search solver in HTA???
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=10">
<title>solver</title>
</head>
<body onload="window.resizeTo(300, 300)">
<script language="VBScript" type="text/vbscript">
Function BoxedEval(func, x)
/* ==UserStyle==
@name 旧版个人空间变宽
@namespace dobby233liu.github.io
@version 0.9.16
@license BSD-0-Clause
@author Liu Wenyuan
@homepageURL https://gist.github.com/Dobby233Liu/f91b843fca90fd983f95ff9cd38e2410
@supportURL https://gist.github.com/Dobby233Liu/f91b843fca90fd983f95ff9cd38e2410#comments
@updateURL https://gist.github.com/Dobby233Liu/f91b843fca90fd983f95ff9cd38e2410/raw/space-widen.user.css
@preprocessor less
from pydub import AudioSegment
from itertools import islice
def batched(iterable, n):
i = 0
while i < len(iterable):
yield iterable[i:i+n]
i += n
THRESOLD = 3000
song = AudioSegment.from_file("icepalace_boss loopfix2.flac")
newsong = song.empty()
@Dobby233Liu
Dobby233Liu / opus-widen-dyn-list.user.css
Last active February 7, 2026 12:16
动态列表变宽加强版
/* ==UserStyle==
@name 动态列表变宽加强版
@namespace dobby233liu.github.io
@version 1.2.11
@license BSD-0-Clause
@author Liu Wenyuan
@homepageURL https://gist.github.com/Dobby233Liu/3f08f12a2c675f8b847dfbbb6ce34452
@supportURL https://gist.github.com/Dobby233Liu/3f08f12a2c675f8b847dfbbb6ce34452#comments
@updateURL https://gist.githubusercontent.com/Dobby233Liu/3f08f12a2c675f8b847dfbbb6ce34452/raw/opus-widen-dyn-list.user.css
@preprocessor less
// ==UserScript==
// @name Highlight Position Fix
// @namespace http://tampermonkey.net/
// @version 2024-08-10
// @description try to take over the world!
// @author You
// @match https://t.bilibili.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com
// @grant none
// ==/UserScript==
#pragma author Dobby233Liu
#pragma description Arc System Works Rockin' Pretty archive
#pragma endian little
struct file<auto data_start> {
char name[64];
u32 size_uncompressed;
u32 size_compressed;
u32 data_offset;
u8 data[size_compressed] @ data_start + data_offset;
meta:
id: gm_iff_audo
file-extension:
- win
- dat
imports:
- /media/wav
- /media/ogg
title: "GameMaker: Studio WAD (sound-related chunks only, bytecode 14+)"
license: CC0-1.0
sFontFn = "Fonts\方正像素.TTF"
Set objShell = CreateObject("Shell.Application")
Set objFs = CreateObject("Scripting.FileSystemObject")
Set objBaseDir = objShell.Namespace(objFs.GetParentFolderName(WScript.ScriptFullName))
nWinFontNsId = &H14&
objShell.Namespace(nWinFontNsId).CopyHere objBaseDir.ParseName(sFontFn)