Skip to content

Instantly share code, notes, and snippets.

View frostzzone's full-sized avatar
📄
Am dev

frostzzone frostzzone

📄
Am dev
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 7, 2024 11:21
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

This no longer works if you're alone in vc! Somebody else has to join you!

Warning

There are now two quest types ("stream" and "play")! Pay attention to the instructions!

@frostzzone
frostzzone / index-1.html
Created November 4, 2022 15:39
Using ejs browser client
<!-- File 1/1 -->
<body>
<template id="names">
<% for (let name of names) { %>
<div><%= name%></div>
<% } %>
</template>
<!-- Import ejs -->
<script src="https://cdn.jsdelivr.net/npm/ejs@3.1.8/ejs.min.js"></script>
<div id="target"></div>
@CColeson
CColeson / index.html
Created April 24, 2022 02:31
Render ejs using a template's innerHTML
<template id="names">
<% for (let name of names) { %>
<div><%= name%></div>
<% } %>
</template>
<div id="target"></div>
@CColeson
CColeson / index.html
Last active February 14, 2024 01:00
Run ejs in the browser using fetch (web server required as fetching names.ejs would cause an error with CORS)
<div id="target"></div>
@cabalex
cabalex / xml_unpacker.py
Last active February 20, 2023 04:59
Basic XML unpacker written in Python for usage with textures like FNF's
"""
Python script to extract images from XML/PNG pairs (I've used it for FNF)
Scans the "d" directory for any XML and PNG pairs, and if it finds them, creates a new folder in the "out" directory with the same name as the images
Note that it won't output images in the "d" directory if they have no corresponding XML file
Requires os, PIL, BeautifulSoup, lxml (html reader for BeautifulSoup) and re
"""
# Change this to the game's images folder (the one with the textures and XML files).
d = r"C:\Funkin-master\assets\week7\images"
@thomasbnt
thomasbnt / code_colors_discordjs.md
Last active May 21, 2024 13:24
Code colors for embed discord.js

Here is an updated list of the colors that are currently implemented with a name. To using colors on discord.js, this is a typedef Colors, Colors.Aqua to get the Aqua color.

Name Int value Hex Code
Default 0 #000000
Aqua 1752220 #1ABC9C
DarkAqua 1146986 #11806A
Green 5763719 #57F287
DarkGreen 2067276 #1F8B4C