Skip to content

Instantly share code, notes, and snippets.

Choonster TheMage Choonster

Block or report user

Report or block Choonster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Choonster
Choonster / VSVariables.txt
Created Jul 24, 2018
Variables set in the Visual Studio 2017 Professional Developer Command Prompt - https://github.com/luarocks/luarocks/issues/850
View VSVariables.txt
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\<USER>\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=<COMPUTER>
ComSpec=C:\WINDOWS\system32\cmd.exe
DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\
DriverData=C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
@Choonster
Choonster / crash-2017-08-30_02.39.51-client.txt
Last active Aug 29, 2017
Minecraft Forge 1.12.1-14.22.0.2462 - Ghost Recipe Zero-Item Ingredient Crash - https://github.com/MinecraftForge/MinecraftForge/issues/4359
View crash-2017-08-30_02.39.51-client.txt
---- Minecraft Crash Report ----
// I'm sorry, Dave.
Time: 8/30/17 2:39 AM
Description: Rendering screen
java.lang.ArithmeticException: / by zero
at net.minecraft.client.gui.recipebook.GhostRecipe$GhostIngredient.getItem(GhostRecipe.java:130)
at net.minecraft.client.gui.recipebook.GhostRecipe.render(GhostRecipe.java:85)
at net.minecraft.client.gui.recipebook.GuiRecipeBook.renderGhostRecipe(GuiRecipeBook.java:310)
@Choonster
Choonster / ExtractMinecraftAssets.lua
Created May 12, 2017
A Lua script to extract Minecraft's assets from the repository format used by the Mojang launcher and ForgeGradle into regular directories. Requires Lua 5.2+/LuaJIT, LuaJSON, Penlight and LuaFileSystem
View ExtractMinecraftAssets.lua
-- Extracts Minecraft's assets from the repository format used by the Mojang launcher and ForgeGradle into regular directories.
-- Requires Lua 5.2+/LuaJIT, LuaJSON, Penlight and LuaFileSystem
---------------------
-- Start of Config --
---------------------
-- The location of the index JSON file
local INDEX_FILE = [[C:\Users\USER\.gradle\caches\minecraft\assets\indexes\1.11.json]]
@Choonster
Choonster / NewURL.log
Last active Jan 27, 2017
youtube-dl logs for Twitch's twitch.tv/videos/<video_id> URL format - https://github.com/rg3/youtube-dl/issues/11846
View NewURL.log
> youtube-dl.exe -v https://www.twitch.tv/videos/113779317
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.twitch.tv/videos/113779317']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2017.01.25
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-74593-g6638e4a, ffprobe N-74593-g6638e4a
[debug] Proxy map: {'http': 'http://127.0.0.1:8888', 'https': 'https://127.0.0.1:8888'}
@Choonster
Choonster / dirt_slab.json
Last active Jan 7, 2017
Minecraft Forge 1.10.2-12.18.3.2185 - Fully-defined variants in Forge's blockstates format - http://www.minecraftforge.net/forum/index.php?topic=44165.0
View dirt_slab.json
{
"forge_marker": 1,
"defaults": {
"model": "half_slab",
"textures": {
"top": "blocks/dirt",
"bottom": "blocks/dirt",
"side": "blocks/dirt"
}
},
@Choonster
Choonster / DebuggingNodeJSHerokuApps.md
Last active Oct 10, 2018
How to debug Node.js web applications running on Heroku using ngrok
View DebuggingNodeJSHerokuApps.md

Debugging Node.js web applications running on Heroku using ngrok

Introduction

Heroku only allows each dyno to send and receive external network traffic on a single port, which means you can't simply run node --debug server.js and attach your debugger to your-app.herokuapp.com:5858.

To work around this, you can use ngrok and Heroku ngrok Buildpack to tunnel to the debugger's port and access it externally.

@Choonster
Choonster / ForgeGradle Recompilation Error
Last active Dec 2, 2016
Minecraft Forge 1.10.2-12.18.2.2171 - Recompilation error with snapshot_20161117 mappings - https://github.com/ModCoderPack/MCPBot-Issues/issues/313
View ForgeGradle Recompilation Error
#################################################
ForgeGradle 2.2-SNAPSHOT-c438b06
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
file or directory 'C:\Users\USER\Documents\Minecraft\Mods\TestMod3_1.10.2\src\api\resources', not found
@Choonster
Choonster / gradle.log
Last active Nov 18, 2016
Minecraft Forge 1.11-13.19.0.2149 - recompMc error - http://www.minecraftforge.net/forum/index.php?topic=43382.0
View gradle.log
file or directory 'C:\Users\USER\Downloads\forge-1.11-13.19.0.2149-mdk\src\api\resources', not found
All projects evaluated.
Selected primary task 'setupDecompWorkspace' from project :
Tasks to be executed: [task ':deobfCompileDummyTask', task ':deobfProvidedDummyTask', task ':getVersionJson', task ':extractUserdev', task ':extractDependencyATs', task ':extractMcpData', task ':extractMcpMappings', task ':genSrgs', task ':downloadClient', task ':downloadServer', task ':splitServerJar', task ':mergeJars', task ':deobfMcSRG', task ':decompileMc', task ':fixMcSources', task ':applySourcePatches', task ':remapMcSources', task ':recompileMc', task ':extractNatives', task ':getAssetIndex', task ':getAssets', task ':makeStart', task ':setupDecompWorkspace']
In-memory cache of C:\Users\USER\Downloads\forge-1.11-13.19.0.2149-mdk\.gradle\2.14\taskArtifacts\fileHashes.bin: Size{2}, CacheStats{hitCount=1, missCount=2, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of C:\Users\U
@Choonster
Choonster / JEI + Blood Magic Log
Last active Nov 18, 2016
Minecraft Forge 1.10.2-12.18.2.2125 - JEI API classloader error - https://github.com/mezz/JustEnoughItems/issues/627
View JEI + Blood Magic Log
[15:49:08] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[15:49:08] [main/INFO] [FML/]: Forge Mod Loader version 12.18.2.2147 for Minecraft 1.10.2 loading
[15:49:08] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_112, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_112\jre
[15:49:08] [main/DEBUG] [FML/]: Java classpath at launch is C:\Program Files\Java\jdk1.8.0_112\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\sunec.jar;C:\Program Files
@Choonster
Choonster / fml-client-latest.log
Last active Feb 4, 2017
Minecraft Forge 1.11-13.19.0.2148 - JEI Ore Dictionary Error - https://github.com/mezz/JustEnoughItems/issues/626
View fml-client-latest.log
[09:38:49] [main/DEBUG] [FML/] []: Injecting tracing printstreams for STDOUT/STDERR.
[09:38:49] [main/INFO] [FML/] []: Forge Mod Loader version 13.19.0.2148 for Minecraft 1.11 loading
[09:38:49] [main/INFO] [FML/] []: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_112, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_112\jre
[09:38:49] [main/DEBUG] [FML/] []: Java classpath at launch is C:\Program Files\Java\jdk1.8.0_112\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\sunec.jar;C:\Pro
You can’t perform that action at this time.