Skip to content

Instantly share code, notes, and snippets.

Josh Gangloff BurntPizza

Block or report user

Report or block BurntPizza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View lib.rs
#![feature(test)]
extern crate rand;
extern crate test;
#[macro_use]
extern crate nom;
use nom::*;
View Carving.java
import java.awt.*;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.*;
import javax.imageio.ImageIO;
import javax.swing.JComponent;
@BurntPizza
BurntPizza / CoffeeGrinder.java
Last active Aug 29, 2015
Java source minifer
View CoffeeGrinder.java
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.*;
import java.util.*;
import java.util.regex.*;
public class CoffeeGrinder {
public static void main(String[] args) throws IOException {
if (args.length == 0) {
View FractalLayer.java
package pl.warlander.terraingen.core;
import java.util.Random;
public class FractalLayer {
private final float value;
private final int size;
private final int width;
private final int height;
@BurntPizza
BurntPizza / Project Setup
Last active Aug 29, 2015
Eclipse git clone -> general project -> java project
View Project Setup
File > Import
Git > Projects from Git
Clone URI
Enter info, icl. clone URL from GitHub. If it's in your clipboard most should already be entered.
Select branches, local repo directory, etc.
If eclipse project file is not present in repo: (likely and troublesome scenario)
Import as general project
Name > Finish
Now you have the project, linked with a local git repo and the remote repo (presumably on GitHub).
@BurntPizza
BurntPizza / StupidDSL
Last active Aug 29, 2015
Just what the name says...
View StupidDSL
package stupid;
import java.util.*;
import java.util.function.Consumer;
/**
* A very broken FORTH-like embedded Java DSL
*/
@SuppressWarnings("unchecked")
public enum StupidDSL implements Consumer<ArrayDeque<Object>> {
You can’t perform that action at this time.