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/arrive@2.4.1/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 February 9, 2024 10:48
OwOiki: OwOifies most English-language Wikimedia Foundation wikis
// ==UserScript==
// @name OwOiki
// @version 0.2.2c
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAmRSURBVHja7ZpfTFzFF8e/c+/+Z4FlYbtAKVAoQgn/ERFaSkuLUJe0QqxFXatiKNhKNJEEG1RQu1oeStPqJrTig2mjD7YPoqXWGFNiY1JDlcak0UhMEzHGpjWtIvKndH4PBbp77525926X/F52npZz5sx8mDt/zjkzoP/ngghABCACEAGIAEQAWIr93pqyovLa1nvtoLW2vKisxrtfJ0BXhQMQDQBJ3nws9N6PbU4mgEEEHBVdegDqHLCnbfY+3ZDrIoh/JtT+n4kHceU2PO3dnGaHo04zQH8BMRV0nro4fmV89P2GBJCa0PqvIUhoeH90/Mr4xVOdBSZS0K8N4GAW4h49OTFPKaV05tdDeQLKQ+m/HELeoV9nKKWUzk+cfDQOWQe1AAzmYkXbdzNLf08PVxtQob//Chiqh6eX/pz5rm0Fcgc1AFTC2fpjkOR8rSjW6+2/XhRrzwdJfmx1olIdYJdoaxwNFt0eqYC9RV//LXZUjNwOlo022sRdagBHnGLpkLTS9CcZSDmkp/9DKcj4ZFoqHSoVnUdUANbB7ZuStXfdZxMe0APwgGDzXZdJp3xurOMD+Azm+nGFBsfrEbtXe/97Y8FoxmzwcQGKkDyo1OL0kJOs0Q6whjiHppUUg8ko4gH4RWPtVcUmr3sRpflcaI2C97qi5mqtUfRzADYixq/c5txINEnVCpBKokfmlFX+GGzkAFjFnAlGo5MemHq19d9rgmeSoZvIEa1sgE4Ynme1On+SCHnaAPIEcnKepXzegE4mQDYxfc1s9kYqRG0AIlJvMJVfm0g2E8B
@Dobby233Liu
Dobby233Liu / what
Last active September 19, 2023 15:01
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,