Skip to content

Instantly share code, notes, and snippets.

View cjburkey01's full-sized avatar

CJ Burkey cjburkey01

View GitHub Profile
@cjburkey01
cjburkey01 / TranscodeShowSeason.sh
Created April 18, 2022 15:10
A simple Bash script to convert episodes of shows in the same directory whilst cleaning up the name. Uses FFMPEG!
#!/bin/bash
# CJ's Lovely Little Transcoder Script :)
# HOW TO USE
# ----------
# 1) Update the `input_name_pat` variable below to ensure that each video in the directory will be looped-through.
# For example, the current implementation will scan through names formatted like so:
# That '70s Show (1998) - S05E01 - Going to California (1080p BluRay x265).mkv
# The episode names must also have two matching groups for the season number and the episode number.
@cjburkey01
cjburkey01 / Mesh.java
Created September 12, 2018 20:39
IDEA Static Import Wildcards Expanded by Auto Import
package com.cjburkey.freeboi.mesh;
import com.cjburkey.freeboi.shader.Shader;
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL15.*;
import static org.lwjgl.opengl.GL21.*;
import static org.lwjgl.opengl.GL31.*;
---- Minecraft Crash Report ----
WARNING: coremods are present:
LibLoader (# LibLoader.jar)
ForgelinPlugin (Forgelin-1.7.4.jar)
BedPatch (bedpatch-2.2-1.12.2.jar)
OpenModsCorePlugin (OpenModsLib-1.12.2-0.11.5.jar)
Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. (foamfix-0.9.9.1-1.12.2-anarchy.jar)
CorePlugin (SmoothFont-1.12.2-1.15.jar)
CTMCorePlugin (CTM-MC1.12.2-0.3.1.16.jar)
@cjburkey01
cjburkey01 / BurCode.bc
Created May 29, 2018 23:35
A little outline for a language I may or may not create for fun
// This is a single line comment
/*
This comment is multi-line,
it's pretty cool
*/
// Notice that the library declaration is padded with new lines surrounding the contained code (conventionally)
// Also notice that opening braces are located on the same line (conventionally)
lib sample.namespace:TestProgram {
@cjburkey01
cjburkey01 / libraries.sh
Created November 22, 2017 05:41
Generating OpenGL Cross-Compatible Dependencies (on MacOS High Sierra)
# Create GLFW Libs and put them in /usr/local/
mkdir {{GLFW_BUILDING_DIRECTORY}}
cd {{GLFW_BUILDING_DIRECTORY}}
cmake -D BUILD_SHARED_LIBS=ON {{GLFW_DIRECTORY}}
make
sudo make install
# Create GLEW Libs and put them in /usr/local/
mkdir {{GLEW_BUILDING_DIRECTORY}}
cd {{GLEW_BUILDING_DIRECTORY}}
# Create GLFW Libs and put them in /usr/local/
mkdir {{GLFW_BUILDING_DIRECTORY}}
cd {{GLFW_BUILDING_DIRECTORY}}
cmake -D BUILD_SHARED_LIBS=ON {{GLFW_DIRECTORY}}
make
sudo make install
# Create GLEW Libs and put them in /usr/local/
mkdir {{GLEW_BUILDING_DIRECTORY}}
cd {{GLEW_BUILDING_DIRECTORY}}
[18:57:23] [Client thread/ERROR]: The following problems were captured during this phase
[18:57:23] [Client thread/ERROR]: Caught exception from fluxedsolars
java.lang.NoClassDefFoundError: primetoxinz/fluxedsolars/block/BlockSolar
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:485) ~[forge-1.10.2-12.18.0.2007-1.10.0-universal.jar:?]
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
@cjburkey01
cjburkey01 / gist:7b3903c48973ee3787edfe0e6e5c9684
Created June 22, 2016 20:54
crash-2016-06-22_16.46.34-client.txt
---- Minecraft Crash Report ----
WARNING: coremods are present:
FarseekCoreMod (Farseek-1.9.4-1.1.jar)
FldLoadingPlugin (FastLeafDecay-MC1.9.4-1.7.jar)
FMLPlugin (InventoryTweaks-1.61-beta-54.jar)
LoadingPlugin (RandomThings-MC1.9.4-3.7.3.jar)
TransformerLoader (OpenComputers-MC1.9.4-1.6.0.2-beta.3.jar)
CCLCorePlugin (CodeChickenLib-1.9.4-2.0.2.39-universal.jar)
FortuneOres Black Magic (FortuneOres-MC1.9.4-3.0.4.jar)