Skip to content

Instantly share code, notes, and snippets.

View Dobby233Liu's full-sized avatar

Liu Wenyuan Dobby233Liu

View GitHub Profile
View winlog.cpp
// heavily modified version of https://copyprogramming.com/howto/using-mailslots#reading-from-a-mailslot
#include <iostream>
#include <Windows.h>
#define csMe "WinlogMonitor"
#define csMailslotName "WinLog"
int main()
{
@Dobby233Liu
Dobby233Liu / isex.user.js
Last active October 1, 2023 07:05
Discord CDN timebomb informer: Prints to the console about the issued/expires search parameters in Discord attachment URLs
View isex.user.js
// ==UserScript==
// @name Discord CDN timebomb informer
// @namespace https://dobby233liu.github.io
// @version 1.0.0c
// @description Prints to the console about the issued/expires search parameters in Discord attachment URLs
// @author Liu "Dobby233Liu" Wenyuan
// @match https://media.discordapp.net/attachments/*
// @match https://cdn.discordapp.com/attachments/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com
// @grant none
@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
View parseml.py
#!/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
View dectool.py
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
View glichtable.txt
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
View quotev-speedrun.user.js
// ==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
View colors.html
<!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
View ChineseSimplified.lng
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 October 13, 2023 13:33
Wikipewdiaw: OwOifies Wikipedia because yes... (preliminary version)
View owo.user.js
// ==UserScript==
// @name Wikipewdiaw
// @version 0.1.42
// @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+SCHnaAPIEcnKepXzegE4mQDYxfc1s9kYqRG0AIlJvMJVfm0