Skip to content

Instantly share code, notes, and snippets.

View rz7d's full-sized avatar

azure rz7d

  • Oita, Japan
View GitHub Profile
import * as fs from "fs";
type Descriptor = "class" | "method" | "field";
type ObfMap = {
d: Descriptor;
name: string;
obfName: string;
};
# Pypeliner for Python 3
#
# Usage
#
# [PROLOGUE]
# _ | <Value>
# <Value> | _
#
# [INTERMEDIATE OPERATIONS]
# (pipeline) \
@rz7d
rz7d / NoiseGen.java
Created October 1, 2019 01:13
Noise texture generator
/*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
* as the name is changed.
*
@rz7d
rz7d / CopyUltimateTierAsVoid.java
Created May 31, 2019 18:37
copies resources of mekanism with renaming to "void" tier name.
/*
* Copyright (C) 2019 azure.
*
* "THE SUSHI-WARE LICENSE"
*
* <make.just.on@gmail.com> wrote this license.
*
* As long as you retain this notice you can do whatever you want
* with this stuff. If we meet some day, and you think this stuff
* is worth it, you can buy me a **sushi 🍣** in return.
@rz7d
rz7d / AutoSaturationAndBrightness.java
Created May 31, 2019 18:33
automatic generator for resources of Void Power mod
/*
* Copyright (C) 2019 azure.
*
* "THE SUSHI-WARE LICENSE"
*
* <make.just.on@gmail.com> wrote this license.
*
* As long as you retain this notice you can do whatever you want
* with this stuff. If we meet some day, and you think this stuff
* is worth it, you can buy me a **sushi 🍣** in return.
@rz7d
rz7d / assertgo.go
Created May 24, 2019 18:42
Fluent Assertions (No Supports)
package assertgo
/*
* Copyright (C) 2019 azure
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
@rz7d
rz7d / Depends.java
Last active May 24, 2019 14:48
generate <dependency></dependency> tags from maven repository (pwd)
/*
* Copyright (C) 2019 azure.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
# HG changeset patch
# User azure <rz7@outlook.jp>
# Date 1555065807 -3600
# Fri Apr 12 11:43:27 2019 +0100
# Node ID bcf8f4f38fced14272d9984707427199b4c1981c
# Parent b67884871b5fff79c5ef3eb8ac74dd48d71ea9b1
Modifications for Minecraft
diff --git a/src/java.base/share/classes/java/net/URLClassLoader.java b/src/java.base/share/classes/java/net/URLClassLoader.java
--- a/src/java.base/share/classes/java/net/URLClassLoader.java
@rz7d
rz7d / keybase.md
Last active August 7, 2019 15:17
Keybase

Keybase proof

I hereby claim:

  • I am rz7d on github.
  • I am azure2 (https://keybase.io/azure2) on keybase.
  • I have a public key ASBl8PO1T4zsz_XtwGJGzUIB9dAjoHr4h638wwcyiHxIjQo

To claim this, I am signing this object:

--- a/make/src/native/fixpath.c
+++ b/make/src/native/fixpath.c
@@ -48,7 +48,7 @@
fprintf(stderr,
"%s Failed with error %d: %s\n",
- msg, dw, lpMsgBuf);
+ msg, dw, (LPTSTR) lpMsgBuf);
LocalFree(lpMsgBuf);