Skip to content

Instantly share code, notes, and snippets.

@phase
phase / output.txt
Created March 18, 2017 03:00
looking for ~~~~
/usr/lib/jvm/java-8-oracle/bin/java -ea -Didea.launcher.port=7533 -Didea.launcher.bin.path=/home/phase/idea-IC-163.7743.44/bin -Dfile.encoding=UTF-8 -classpath /home/phase/idea-IC-163.7743.44/lib/idea_rt.jar:/home/phase/idea-IC-163.7743.44/plugins/junit/lib/junit-rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jv
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-linux-gnu"
declare ccc i8* @memcpy$def(i8*, i8*, i64)
declare ccc i8* @memmove$def(i8*, i8*, i64)
declare ccc i8* @memset$def(i8*, i64, i64)
declare ccc i64 @newSpark$def(i8*, i8*)
!0 = metadata !{metadata !"top", i8* null}
!1 = metadata !{metadata !"stack", metadata !0}
!2 = metadata !{metadata !"heap", metadata !0}
!3 = metadata !{metadata !"rx", metadata !2}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
{
"coordinateScale": 684.412,
"heightScale": 684.412,
"lowerLimitScale": 512,
"upperLimitScale": 512,
"depthNoiseScaleX": 200,
"depthNoiseScaleZ": 200,
"depthNoiseScaleExponent": 0.5,
"mainNoiseScaleX": 80,
"mainNoiseScaleY": 160,
type A = a : Int, b : Int
type B = C Int | D Int
f (a : Int, b : Int) : B
let x = A {a, b},
let y = C {a},
y.
type DivMod = div : Int, mod : Int
yaw=90.0, pitch=52.03125, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=-0.01318359375, moveZ=0.0, yaw=90.0, pitch=-29.53125, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=0.012939453125, moveZ=0.0, yaw=90.0, pitch=16.875, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=-0.029052734375, moveZ=0.0, yaw=90.0, pitch=-40.78125, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=-0.021240234375, moveZ=0.0, yaw=90.0, pitch=-9.84375, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=0.066650390625, moveZ=0.0, yaw=90.0, pitch=56.25, onGround=false, pos=true, rot=true)
ServerEntityPositionRotationPacket(entityId=152654, moveX=0.0, moveY=-0.027099609375, moveZ=0.0, yaw=90.0, pitch=-28.125, onGround=false, pos=true, rot=true)
ServerEntityPos
const int RED_LED_PIN = 9;
const int GREEN_LED_PIN = 10;
const int BLUE_LED_PIN = 11;
const int speakerPin = 6;
int redIntensity = 0;
int greenIntensity = 0;
int blueIntensity = 0;
const int DISPLAY_TIME = 1;
+----------------------------------+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@phase
phase / sbhs_palette_updating.diff
Created October 18, 2017 02:53
I don't even know what I'm doing anymore.
diff --git a/src/main/kotlin/xyz/jadonfowler/sbhs/PaletteManager.kt b/src/main/kotlin/xyz/jadonfowler/sbhs/PaletteManager.kt
index 4464936..bc0a7c7 100644
--- a/src/main/kotlin/xyz/jadonfowler/sbhs/PaletteManager.kt
+++ b/src/main/kotlin/xyz/jadonfowler/sbhs/PaletteManager.kt
@@ -23,7 +23,20 @@ object PaletteManager {
/**
* "sonic" -> ["23452345", "23452345", ...]
*/
- var PALETTES = HashMap<String, Array<String>>()
+ var PALETTES = object : HashMap<String, Array<String>>() {
@phase
phase / compressed.html
Last active October 27, 2017 03:58
Compressed: 9,302 bytes, Uncompressed: 18,830 bytes
<!DOCTYPE html> <html> <head> <title>Ore - A Minecraft Package Repository</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet"> <link rel="icon" href="https://www.spongepowered.org/favicon.ico"> <link rel="stylesheet" type="text/css" href="/assets/highlight/styles/default.css"/> <link rel="stylesheet" type="text/css" href="/assets/bootstrap/css/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="/assets/stylesheets/main.css"/> <link rel="manifest" href="/assets/manifest/manifest.json"> <meta name="theme-color" content="#333"> <script type="text/javascript" src="/assets/lib/jquery/jquery.min.js"></script> </head> <body> <nav id="topbar" class="navbar-main navbar-inverse"> <div class="container"> <div id="sp-logo-container"> <a class="logo" href="/"> <img src="https://www.spongepowered.org/assets/img/icons/spo