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.0.8 | |
// @description Helps finding commits before a specific date (i.e. included with a specific build) faster | |
// @author Liu Wenyuan | |
// @match https://android.googlesource.com/* | |
// @grant GM_addStyle | |
// @grant GM_setValue | |
// @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 | |
def clean_pitch_bend(input_path, output_path): | |
mid = mido.MidiFile(input_path) | |
last_pb = {} | |
for track in mid.tracks: | |
new_events = [] | |
delay_acculm = {i: 0 for i in range(16)} |
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 Emoicons | |
// @namespace https://dobby233liu.github.io | |
// @version v1.1.3 | |
// @description Add emoicon name hoverovers to bilibili rich text | |
// @author Liu Wenyuan | |
// @match https://*.bilibili.com/* | |
// @icon https://i0.hdslb.com/bfs/garb/126ae16648d5634fe0be1265478fd6722d848841.png | |
// @grant none | |
// @require https://unpkg.com/[email protected]/minified/arrive.min.js |
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, |
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 跳转到opus/t页面 | |
// @namespace https://dobby233liu.github.io | |
// @version v1.0.1 | |
// @description 更换动态页界面类型 | |
// @author Liu "Dobby233Liu" Wenyuan | |
// @match https://t.bilibili.com/* | |
// @match https://www.bilibili.com/opus/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com | |
// @grant none |
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
<!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) |
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 旧版个人空间变宽 | |
@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 |
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
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() |
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 动态列表变宽加强版 | |
@namespace dobby233liu.github.io | |
@version 1.2.4 | |
@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 |
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 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== |
NewerOlder