Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am factorsofx on github.
  • I am evets (https://keybase.io/evets) on keybase.
  • I have a public key ASDzzYBooWfK5SVJZuh6-UsAQq3XyP4Yxm8MwmFMdFPCuwo

To claim this, I am signing this object:

---- Minecraft Crash Report ----
// I'm sorry, Dave.
Time: 9/24/19 7:51 PM
Description: Unexpected error
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:521)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.loadClassData(KnotClassDelegate.java:180)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:143)
@factorsofx
factorsofx / Byond.java
Created July 30, 2017 17:46
VERY basic BYOND topic request
public final class Byond
{
public static String makeRequest(String url, int port, String topic) throws IOException
{
Socket sock = new Socket(url, port);
//Socket sock = new Socket("localhost", 4567);
InputStream is = sock.getInputStream();
OutputStream os = sock.getOutputStream();
byte[] msg = ("?" + topic).getBytes();
@factorsofx
factorsofx / goonstation-comments.txt
Created July 12, 2017 05:55
Every single comment from the Goonstation 2016 release, without any actual code!
This file has been truncated, but you can view the full file.
// Compile-time config flags
// Enable if btime is installed
//#define PRECISE_TIMER_AVAILABLE
// Debug flags
// Delete queue debug toggle
// This is expensive. don't turn it on on the server unless you want things to be bad and slow
// #define DELETE_QUEUE_DEBUG
//#define UPDATE_QUEUE_DEBUG
// Image deletion debug
// DO NOT ENABLE THIS ON THE SERVER FOR FUCKS SAKE
package com.collin.election;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.*;
public class ElectionStats
{
private static int winningVotes = 0;
private static int totalVotes = 0;
package com.elan_oots;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.net.URL;
public class MapGetter
{
@factorsofx
factorsofx / rpm.c
Last active February 3, 2016 00:19
int delta;
float revs_last;
float RPM;
int scaleFactor;
while(true)
{
delta = SensorValue[encoder];