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
/** | |
* Simple ModLoader for Isekainosouzousha (異世界の創造者) | |
* | |
* This modloader is NOT supported by the original developers of the game and is | |
* only made out of love and enjoyment for the game. | |
* | |
* Add this snippet to the union.js file to load the modloader: | |
``` | |
$(document).ready(function () { | |
console.log("We're now running custom code"); |
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
[package] | |
name = "cmd-movie" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
# Enable a small amount of optimization in debug mode | |
[profile.dev] | |
opt-level = 1 | |
strip = '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
<?php | |
$discord_user_agent = 'Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)'; | |
$title = ''; | |
$description = ''; | |
$image_url = ''; | |
$redirect_url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'; | |
$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; |
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 matplotlib.pyplot as plt | |
# don't fucking ask me how this works | |
magic_header = """ | |
00 00 00 04 67 41 4D 41 00 00 27 10 4C 57 C2 4C | |
00 00 00 20 63 48 52 4D 00 00 87 0B 00 00 8C 0F | |
00 00 FD 51 00 00 81 40 00 00 7D 76 00 00 E9 90 | |
00 00 3C E5 00 00 19 CD 21 AE 5C 4A |