Skip to content

Instantly share code, notes, and snippets.

View bgarrison25's full-sized avatar

Bill Garrison bgarrison25

View GitHub Profile
@bgarrison25
bgarrison25 / crashreport.txt
Created January 13, 2016 16:27
Blood Magic [1.8.9-4] finger prick crash report
---- Minecraft Crash Report ----
WARNING: coremods are present:
NowWithRendering (hopperducts-mc1.8.8-1.4.6.jar)
ThaumcraftLoader (Thaumcraft-1.8.9-5.1.2.jar)
FldLoadingPlugin (FastLeafDecay-1.8-1.6.jar)
LoadingPlugin (RandomThings-MC1.8.8-3.5.7.jar)
NowWithRendering (redstonepaste-mc1.8.8-1.7.2.jar)
LoadingPlugin (ResourceLoader-MC1.8.8-1.4.jar)
Contact their authors BEFORE contacting forge
@bgarrison25
bgarrison25 / dumbass.php
Last active October 23, 2015 21:12
seriously??? WTF
<?php
$d = dir($directory);
$files = array();
while (($entry = $d->read()) !== false)
{
if ($entry !== '.' && $entry !== '..' && preg_match('/\.swp$/', $entry) !== 1)
{
$files[] = $entry;
}