Skip to content

Instantly share code, notes, and snippets.

View MinecraftPublisher's full-sized avatar

Moon Flower Fields MinecraftPublisher

View GitHub Profile
function cellGoer() {
let grid = [
/** Row 1 */
[2, 5, 6],
[1, 6, 7, 3],
[2, 7, 8, 4],
[3, 8, 9],
/** Row 2 */
[1, 6, 10, 11],
[1, 2, 5, 7, 11, 12],
/**
* @name Dark+
* @author DevEvil#8745
* @version Dark+3
* @description Highly customized dark and purple theme for Discord
* @authorId 468132563714703390
* @authorLink https://devevil.com
* @source https://github.com/DevEvil99/DarkPlus-Discord-Theme
* @website https://devevil.com
* @invite jsQ9UP7kCA

🤖 PocketBot

Tiny chatbot living in a text file.

PocketBot is a simple self-modifying bash script that uses levenshtein distancing to intelligently respond to queries.

The central database containing its input/output pairs is contained in a variable named brain at line 133 (as of now).

Each element of this variable contains an input/output pair that are separated by a chinese doll emoji. (chosen due to low usage frequency and issues with the current string split bash implementation)

@MinecraftPublisher
MinecraftPublisher / README.md
Created February 14, 2024 09:00
Dynamic arrays in C

list.h: dynamic arrays in c

simple header file for dynamic arrays that you can include in your code.

properties:

  • TYPE string: char*
  • TYPE byte: unsigned char
  • TYPE bool: byte (unsigned char)
  • TYPE ull: unsigned long long
  • MACRO CAT(x, y): Adds two words together. Used for building function names.
  • MACRO sanity(var): Calls memoryFailure if the variable is NULL.
@MinecraftPublisher
MinecraftPublisher / scrapbook-styles.css
Created March 11, 2025 20:43
Hackclub scrapbook CSS
.post {
border-radius: 0;
background-color: #000;
border: 1px solid #fff;
margin: 0;
border-left: none;
}
.post:nth-child(1) {
border-left: 1px solid #fff;
This file has been truncated, but you can view the full file.
data:audio/ogg;base64,T2dnUwACAAAAAAAAAAAUXwAAAAAAAFhCrHEBHgF2b3JiaXMAAAAAAoC7AAD/////AHcBAP////+4AU9nZ1MAAAAAAAAAAAAAFF8AAAEAAAAZlINiEHn//////////////////+IDdm9yYmlzHQAAAFhpcGguT3JnIGxpYlZvcmJpcyBJIDIwMDkwNzA5BgAAABEAAABFTkNPREVSPUZMIFN0dWRpbwYAAABUSVRMRT0GAAAAR0VOUkU9BwAAAEFSVElTVD0IAAAAQ09NTUVOVD0IAAAAQ09OVEFDVD0BBXZvcmJpcyVCQ1YBAEAAACRzGCpGpXMWhBAaQlAZ4xxCzmvsGUJMEYIcMkxbyyVzkCGkoEKIWyiB0JBVAABAAACHQXgUhIpBCCGEJT1YkoMnPQghhIg5eBSEaUEIIYQQQgghhBBCCCGERTlokoMnQQgdhOMwOAyD5Tj4HIRFOVgQgydB6CCED0K4moOsOQghhCQ1SFCDBjnoHITCLCiKgsQwuBaEBDUojILkMMjUgwtCiJqDSTX4GoRnQXgWhGlBCCGEJEFIkIMGQcgYhEZBWJKDBjm4FITLQagahCo5CB+EIDRkFQCQAACgoiiKoigKEBqyCgDIAAAQQFEUx3EcyZEcybEcCwgNWQUAAAEACAAAoEiKpEiO5EiSJFmSJVmSJVmS5omqLMuyLMuyLMsyEBqyCgBIAABQUQxFcRQHCA1ZBQBkAAAIoDiKpViKpWiK54iOCISGrAIAgAAABAAAEDRDUzxHlETPVFXXtm3btm3btm3btm3btm1blmUZCA1ZBQBAAAAQ0mlmqQaIMAMZBkJDVgEACAAAgBGKMMSA0JBVAABAAACAGEoOogmtOd+c46BZDppKsTkdnEi1eZKbirk555xzzsnmnDHOOeecopxZDJoJrTnnnMSgWQqaCa0555wnsXnQmiqtOeeccc7pYJwRxjnnnCateZCajbU555wFrWmOmkuxOeecSLl5UptLtT