These come from the DOSBox Staging project
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 lxml import etree | |
| import glob | |
| from pathlib import Path | |
| SOUND_DIR = "sound/" | |
| AUDIO_DIR = SOUND_DIR + "audio/" | |
| unused_audio = list(map(lambda x: x.replace("/", "\\"), glob.iglob(f"{AUDIO_DIR}/*"))) | |
| for sound_info_file in Path(".").glob(f"{SOUND_DIR}*.sound.gmx"): |
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 lxml import etree | |
| import glob | |
| def externalize(sound_info_file, streamed=True, bitrate=96, stereo=True): | |
| sound_info_file = sound_info_file + ".sound.gmx" | |
| sound_info = etree.parse(sound_info_file) | |
| sound_info.find("/compressed").text = "1" | |
| sound_info.find("/streamed").text = streamed and "1" or "0" | |
| sound_info.find("/bitRates/bitRate").text = str(bitrate) | |
| sound_info.find("/types/type").text = stereo and "1" or "0" |
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
| // 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() | |
| { |
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 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 |
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
| #!/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 |
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 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) |
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
| 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 |
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 QUOTEV SPEEDRUN | |
| // @version 1.2.2a | |
| // @author Liu Wenyuan | |
| // @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 |
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> | |
| <title>Undertale text color explaination</title> | |
| <style> | |
| html { background-color: black; } | |
| body { | |
| width: 480px; | |
| margin: 0; padding: 0.8em; | |
| background-color: #5c5c5c; color: white; |