Skip to content

Instantly share code, notes, and snippets.

View jacoblockard99's full-sized avatar

jacoblockard99

View GitHub Profile
@jacoblockard99
jacoblockard99 / vim-find
Last active August 11, 2018 15:07
A script to find files and run them with vim.
#!/bin/bash
if [[ $1 = -* ]]
then
echo "Finding files by $1..."
find . $1 $2 -exec vim {} \;
else
echo "Finding files by name..."
find . -name $1 -exec vim {} \;
fi
@jacoblockard99
jacoblockard99 / FXMLQuickLoader.java
Created March 23, 2020 12:51
A utility class that quickly loads FXML files.
package me.jacoblockard.blogger.util;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import java.io.IOException;
import java.net.URL;
/**
* Contains methods for conveniently loading FXML files. Note that this class is designed for very specific use cases;