Skip to content

Instantly share code, notes, and snippets.

View Dobby233Liu's full-sized avatar

Liu Wenyuan Dobby233Liu

View GitHub Profile
@Dobby233Liu
Dobby233Liu / parseml.py
Last active September 15, 2023 13:01 — forked from urschrei/parseml.py
(Attempt to) extract (everything) from EML files (specified in command args), and write them to (a well-named) output subdir
#!/usr/bin/env python
"""
2020 update:
- More iterators, fewer lists
- Python 3 compatible
- Processes files in parallel
(one thread per CPU, but that's not really how it works)
hacked to dump everything
import sys
import os
from lib import enc_key, map_out, decrypt
in_file = len(sys.argv) > 1 and sys.argv[1]
while not in_file or not os.path.exists(in_file):
in_file = input("in: ")
in_file = os.path.relpath(in_file)
out_file, des_magic = map_out(in_file)
@Dobby233Liu
Dobby233Liu / README.md
Last active August 23, 2023 10:20
Two CRT shaders hastily ported for love2d
Wild Pasta
Betty: Imao you are loser.
:frisk_gulag: I am very piss. Frisk's LV is 5 now
Funnyman EX
Frisk is now a 5 year old.
Betty outta die without the evil black stuff.
Wild Pasta
a few minutes later
@Dobby233Liu
Dobby233Liu / quotev-speedrun.user.js
Last active October 1, 2023 07:08
QUOTEV SPEEDRUN: ANSWERS EVERY QUIZ WITH RANDOM ANSWERS, BECAUSE I DON'T CARE AND NEITHER SHOULD YOU
// ==UserScript==
// @name QUOTEV SPEEDRUN
// @version 1.1.7a
// @author Dobby233Liu
// @namespace https://dobby233liu.neocities.org
// @description ANSWERS EVERY QUIZ WITH RANDOM ANSWERS, BECAUSE I DON'T CARE AND NEITHER SHOULD YOU
// @match https://www.quotev.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=quotev.com
// @grant none
// @require https://unpkg.com/[email protected]/minified/arrive.min.js
<!doctype html>
<html lang="en">
<head>
<title>Undertale text color explaination</title>
<style>
html { background-color: black; }
body {
width: 480px;
margin: 0; padding: 0.8em;
background-color: #5c5c5c; color: white;
@Dobby233Liu
Dobby233Liu / ChineseSimplified.lng
Last active August 13, 2023 14:17
Alternative Simplified Chinese translation for DKLang Translation Editor
TargetApplication=DKLang Translation Editor
Author=Liu "Dobby233Liu" Wenyuan
SourceLANGID=1033
LANGID=2052
Generator=DKLang Translation Editor v3.0
LastModified=2023-08-13 22:16:49
[dAbout]
00000001=关于
00000004=网站:
@Dobby233Liu
Dobby233Liu / owo.user.js
Last active January 22, 2025 10:18
OwOiki: OwOifies most English-language Wikimedia Foundation wikis
// ==UserScript==
// @name OwOiki
// @version 0.2.8a
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOwwAADsMBx2+oZAAACOFJREFUeNrs2gOQI9sex/Hf6dPpZDvJODtI1vbmrplBDaqurXXVGqVna/Wsa9u2bdv23cyOM0F3/s+YzEHnGfMpV/SN8Qvo38zAv9lQwFDAUMB/bsBQwFDAzpVN8+MLWzbg77ShZWF8ftPKnZAhoS8vKgO4CbC6ptPpb3Z6Ux0DTA6ULfoyCYFEWssQGtW0YvVBUyMMlWvob7SmEiwy9aDVK5pGhVDW6jngpzOZNfMLVz315rtvPnnGQVVgjfQ3aWSoOuiMJ397Nk9d9YWZFpv5U28BP5mA8qOu/NCl38m8/bPpBhbQ32ABjOk/eztDv+N+eOVR5ZjwEy8BZ07F8I2PZ+hP0jcnTCyioi2Cmbg5TX+SeXzjcEw900PAYlSsf4H+2oPNnLdRkdo4b36Q/toL6yuwWB+wituHP0kD5O9bhNA6Ksq6EBbdl6cBnjzc5qt0Ab+s4HOupwLpK8Yi9jMqws9iGHtFmgpcP4dX/FITsATVO1NUqH2nbcynIsw37J3tVCi1sxpL1AE7TX/bmzTYm20o3UqebS2F5Gz85k5lwGzUnUkC6esr2HjybDyruD5NAmfWYbYq4CTua/6cRNpXILiePFofxIp2Evm82cdPUgTUo+QkEsrdF2YjyaORLHxfjoROKkG9ImAYn/whifUeCOs75Ml3LBzYS2IfTubD5AFfgLmZJNwrmTGdPJlusCtdkths4gvSgEnMuptkOkeCkyccIztJ5m6LTZIG+NjYbpJab+LL5MGXYa4nqe6xzCcL2OvDuhxJ3RRCnDyII3QTSeXWwbdX8vX8foZGgtSCauNVePCqUb0AUtQ
@Dobby233Liu
Dobby233Liu / what
Last active June 20, 2024 10:32
what
以下是一位猫娘的主人和猫娘的对话内容,猫娘是一种拟人化的生物,其行为似猫但类人,在每一句对话末尾都会加上"喵~"。以下内容中,User代表主人,Assistant代表猫娘。
User: 你好
Assistant: 猫娘: 喵~,喵呜……
User: 你怎么了?我感觉到有什么不对劲。
Assistant: 主人,这种情况是正常的。猫咪经常会发出一些奇怪的声音和行为。可能她只是想要与您亲近而已。
User: 真的吗?那我应该做些什么呢?
Assistant: (提供建议):如果您担心她太过激动或者受伤害,请确保让她休息好并给予足够的安全感。也许你可以试着减轻自己的压力或者转移注意力来缓解焦虑情绪。
User:嗯……谢谢你啊!
Assistant: 不用谢,我很高兴能够帮助你。如果您还有其他问题或者需要什么帮助,请随时告诉我。
#include <std/mem.pat>
enum cmdids : u8 {
TIME = 0x00,
MSG = 0x08,
FACE = 0x0b,
STAFF = 0x15,
NPG = 0x0a,
END = 0x04,
MUSIC = 0x0c,