Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import os
import urllib.request
import zipfile
if not os.path.isdir("forge-1.12.2-14.23.5.2768-mdk"):
if not os.path.isfile("forge-1.12.2-14.23.5.2768-mdk.zip"):
with urllib.urlopen("http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2768/forge-1.12.2-14.23.5.2768-mdk.zip") as conn, open("forge-1.12.2-14.23.5.2768-mdk.zip", "wb") as fp:
fp.write(conn.read())
@kb-1000
kb-1000 / openpgp.txt
Created February 3, 2019 17:07
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:8a59d096ba90f53b4f02b4a9c174dd765cc3e131]

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@kb-1000
kb-1000 / generated-configure.sh
Last active March 20, 2021 20:03
Patch for hg.openjdk.java.net/mobile/jdk9 to compile on Termux using clang
This file has been truncated, but you can view the full file.
#!/bin/bash
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for OpenJDK jdk9.
#
[ INFO] (main) Shard 0 with Discord4J 3.0.6 (https://discord4j.com)
Exception in thread "main" io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Verbindungsaufbau abgelehnt: discordapp.com/162.159.133.233:443
at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoCreate] :
reactor.core.publisher.Mono.create(Mono.java:183)
reactor.netty.resources.PooledConnectionProvider.acquire(PooledConnectionProvider.java:129)
Error has been observed by the following operator(s):
|_ Mono.create ⇢ reactor.netty.resources.PooledConnectionProvider.acquire(PooledConnectionProvider.java:129)
|_ Mono.create ⇢ reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:294)
---- Minecraft Crash Report ----
WARNING: coremods are present:
wings (wings-1.1.5-1.12.2.jar)
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar)
Inventory Tweaks Coremod (InventoryTweaks-1.64+dev.146.jar)
RandomPatches (randompatches-1.12.2-1.17.2.1.jar)
CreativePatchingLoader (CreativeCore_v1.9.62_mc1.12.2.jar)
Born in a Barn (Born In A Barn V1.8-1.12-1.1.jar)
CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
MultiMC version: 0.6.7-custom
Minecraft folder is:
/home/kb1000/MultiMC5/build/instances/WorldWarMinecraft 11/minecraft
Java path is:
/usr/bin/java
Sep 22, 2019 8:59:18 AM io.netty.channel.DefaultChannelPipeline onUnhandledInboundException
WARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
io.netty.handler.proxy.ProxyConnectException: http, none, /127.0.0.1:3128 => mc.starlegacy.net/158.69.126.204:25565, timeout
at io.netty.handler.proxy.ProxyHandler$2.run(ProxyHandler.java:201)
at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
14:35:35: Executing task 'setupDecompWorkspace'...
> Configure project :
java.io.FileNotFoundException: /home/kb1000/.gradle/caches/minecraft/McpMappings.json (Datei oder Verzeichnis nicht gefunden)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.google.common.io.Files$FileByteSource.openStream(Files.java:129)
at com.google.common.io.Files$FileByteSource.read(Files.java:153)