Skip to content

Instantly share code, notes, and snippets.

View EasyG0ing1's full-sized avatar
🚀
Always learning, growing, improving

Michael Sims EasyG0ing1

🚀
Always learning, growing, improving
  • Victorville, CA
  • 09:32 (UTC -07:00)
View GitHub Profile
@EasyG0ing1
EasyG0ing1 / CMakeLists.txt
Created May 26, 2023 03:41 — forked from antonagestam/CMakeLists.txt
CLion and Arduino via Platform.io
cmake_minimum_required(VERSION 3.2)
project(YourProject)
add_subdirectory(src)
add_subdirectory(lib)
@EasyG0ing1
EasyG0ing1 / CSSBoxStyles.java
Last active February 18, 2023 17:50 — forked from jewelsea/CSSBoxStyles.java
Applies CSS to a JavaFX pane to create a page turn style shadow effect.
import static javafx.application.Application.launch;
import javafx.application.*;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class CSSBoxStyles extends Application {
@Override public void start(Stage stage) {
StackPane shadowPane = new StackPane();
@EasyG0ing1
EasyG0ing1 / ListOrganizer.java
Last active June 6, 2022 16:43 — forked from jewelsea/ListOrganizer.java
Use Drag and Drop to reorder items in a JavaFX ListView
import javafx.application.Application;
import javafx.collections.*;
import javafx.geometry.*;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.scene.input.*;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
@EasyG0ing1
EasyG0ing1 / OffScreenOffThreadCharts.java
Last active November 25, 2021 02:55 — forked from jewelsea/OffScreenOffThreadCharts.java
Render 300 charts off screen and save them to files in JavaFX.
import java.awt.image.BufferedImage;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.*;
import java.util.logging.*;
import javafx.application.*;
import javafx.beans.binding.*;
import javafx.beans.property.*;
import javafx.beans.value.*;