Skip to content

Instantly share code, notes, and snippets.

View brendanfuller's full-sized avatar
🍍
Just developing

Brendan Fuller brendanfuller

🍍
Just developing
  • Michigan
  • 10:44 (UTC -04:00)
View GitHub Profile
@brendanfuller
brendanfuller / install-distant-horizon-1.21.md
Created July 9, 2024 00:25
Install Distant Horizon + Sodium + Iris (w/ Shaders)

Installing Distant Horizons with MultiMC

Install the latest version of Fabric (https://fabricmc.net) or Use Multimc to create a new instance with Fabric:

  1. Install MultiMC
  2. Add/Create a new instance
  3. Select 1.21, click ok
  4. Select said new instance, Edit Instance, go to Version tab
  5. Click on the right to Install Fabric, select the latest version (or 0.15.11 at this time of writing), and click ok.
@brendanfuller
brendanfuller / cctweaked-block-scan-gui.lua
Created April 20, 2024 22:32
CCTweak Block Scan Gui
-- CCTweaked Pocket Computer Block Scanner with Geo Scanner from Advaned Perhiperals
-- Requires basalt https://basalt.madefor.cc/#/home/download
-- Made for 1.18? (idk what version it was)
-- (c) 2023 Brendan Fuller (aka ImportProgram)
local basalt = require("basalt") -- > Load the basalt framework into the variable called "basalt"
local manager = peripheral.find("geoScanner")
-- EDIT THE BLOCK NAMES BELOW TO SCAN. The max distance to scan is based on the geoscanner config of the current world/server
local BLOCK_NAMES = {
@brendanfuller
brendanfuller / schema.prisma
Created October 7, 2023 14:22
Prisma schema example
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x", "linux-musl", "linux-musl-openssl-3.0.x"]
}
datasource db {
provider = "mysql"
@brendanfuller
brendanfuller / cis-422-as2-schema.md
Last active September 15, 2022 14:37
Schema for CIS 422 Assignment 2

NOTE: QUANTITY FOR INVENTORY TABLE SHOULD BE QUANTITY_ON_HAND

image

@brendanfuller
brendanfuller / minecraft.v
Created August 10, 2022 00:31
An somewhat of a failed attempt to create a fake minecraft server (for the listing) written using Vlang. Works for 1.8.9 only, any clients greater will crash it.
//Experimenting with Minecraft's Packet Protocol from the work of the The Minecraft Coalition (https://wiki.vg)
//NOTE: Do not use publicly, newer clients crash this as packet size for clients was never finished.
//ONLY WORKS FOR 1.8.9 technically, new version break the packet order, just never fixed it.
import net
import encoding.binary
import time
import os
const (
@brendanfuller
brendanfuller / match.txt
Last active June 23, 2021 01:12
Longest bow shots for PGM matches based on Minecraft Logs
Indexing matches.. please wait...
============================================
Results
MAPS CHECKED: 583
NO MATCH STATS: 151
HAS MATCH STATS: 432
This shows the shots/snipes that were equal to PGM's Match Stats based on either LAND, VOID, or HIGH LAND.
<?php
$countries = array(
"AF" => "Afghanistan",
"AL" => "Albania",
"DZ" => "Algeria",
"AS" => "American Samoa",
"AD" => "Andorra",
"AO" => "Angola",
"AI" => "Anguilla",
"AQ" => "Antarctica",
[22:31:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2847 for Minecraft 1.12.2 loading
[22:31:43] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_242, running on Windows 10:amd64:10.0, installed at C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\jre
[22:31:43] [main/WARN] [FML]: The coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) is not signed!
[22:31:43] [main/WARN] [FML]: The coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) is not signed!
[22:31:43] [main/INFO] [FML]: Searching C:\Users\Brendan\Desktop\Enigmatica2LightServer-1.4.5\.\mods for mods
[22:31:43] [main/WARN] [
[22:31:43] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:31:43] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2847 for Minecraft 1.12.2 loading
[22:31:43] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_242, running on Windows 10:amd64:10.0, installed at C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\jre
[22:31:43] [main/WARN] [FML]: The coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin) is not signed!
[22:31:43] [main/WARN] [FML]: The coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin) is not signed!
[22:31:43] [main/INFO] [FML]: Searching C:\Users\Brendan\Desktop\Enigmatica2LightServer-1.4.5\.\mods for mods
[22:31:43] [main/WARN] [
MultiMC version: 0.6.11-1430
Minecraft folder is:
C:/Users/Brendan/Desktop/mmc-stable-win32/MultiMC/instances/Enigmatica2Light-1.4.5/minecraft
Java path is:
C:/Program Files/AdoptOpenJDK/jdk-8.0.242.08-hotspot/bin/javaw.exe