Skip to content

Instantly share code, notes, and snippets.

View fynntimes's full-sized avatar

Fynn fynntimes

View GitHub Profile
@fynntimes
fynntimes / FxExperienceSplash.java
Last active April 21, 2016 15:36 — forked from jewelsea/FxExperienceSplash
JavaFX standalone application Splash Page for a great website.
package org.jewelsea.examples.splash;
import javafx.animation.FadeTransition;
import javafx.application.Application;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.geometry.Rectangle2D;
@fynntimes
fynntimes / GsonFactory.java
Last active March 1, 2016 21:53
GsonFactory for Bukkit
//TODO add your package name here
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.Expose;
import com.google.gson.reflect.TypeToken;
import com.google.gson.stream.JsonReader;