Skip to content

Instantly share code, notes, and snippets.

View Galaxtone's full-sized avatar
😀
Smiles!

Galaxtone Galaxtone

😀
Smiles!
View GitHub Profile
@Galaxtone
Galaxtone / tester.lua
Created May 26, 2020 01:07
TIS-100-3D
-- Configurable options
local inputAddresses = {"d28f","4c41","2dea","a359"}
local outputAddresses = {"7b48","1ce0","ebca","1d7d"}
local numInputValues = 100
local inputGens = {}
inputGens[2] = function()
return math.random(10, 99)
package com.galaxtone.reltp;
import java.util.UUID;
import io.netty.buffer.ByteBuf;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.util.math.Vec3d;
package com.galaxtone.noneuclideanportals.graphics;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.lwjgl.opengl.GL11;
import org.lwjgl.util.glu.Project;
package com.galaxtone.bytefuck.instructions;
public abstract class Instruction {
public byte getType() {
return 0;
}
public abstract byte getOpcode();
@Galaxtone
Galaxtone / bruteforce.js
Last active May 16, 2018 01:00 — forked from LyricLy/bruteforce.py
Brute force Kolmogorov complexity for The Insane Esolang
var gen = (function() {
var alphabet = "26LHG15DZ83OCTNS9 KIFPVUJEB7W0MAQ4XYR";
function mod(x,y) {
if (x < 0) return mod(y-x,y);
if (x >= y) return mod(x-y,y);
return x;
}
function Ĭ(value) {