Skip to content

Instantly share code, notes, and snippets.

View maxanier's full-sized avatar

Max Becker maxanier

View GitHub Profile
@maxanier
maxanier / Tikz_Externalize_To_PNG.md
Created November 18, 2025 09:39
Tikz externalize automatic png conversion with LuaTex and ImageMagick

TODO

This is helpful for images with insane details that slow down PDF rendering.

Can compile main document with PdfLaTex, only images are compiled with LuaTex (because it does not have problems with Tex memory limitations.)

Of course need magick and lualatex in PATH.

@maxanier
maxanier / README.md
Last active August 22, 2025 10:27
Circuitikz components: Fancy transmission line, zero ohm line and matching structure. All path-style components.
example

These files may be distributed and/or modified

  • under the LaTeX Project Public License and/or
  • under the GNU Public License.
@maxanier
maxanier / TikzImageToPowerpoint_README.md
Last active September 12, 2024 07:57
TikzImageToPowerpoint - Batch convert Tikz images (or any PDF probably) to PowerPoint EMF using ghostscript and inkscape
@maxanier
maxanier / README.md
Last active October 21, 2025 13:29
Script for creating a panel of different PCB designs in KiCAD using KiKit.

Panelize multiple different designs in KiCAD

Requires KiKit and is based on code from KiKit

KiKit only allows creating panels of the same design. Creating a panel from multiple boards has too many degrees of freedom to implement in a nice GUI. Hence, for creating such a panel, a scripting attempt is necessary.

This script creates a simple panel of two different designs of identical dimensions placed above each other. With including configuration it adds a rail on top and bottom and includes tabs with mouse bites in between boards and between board and rail.

You will have to adjust the script to your own needs

@maxanier
maxanier / EvaluateDeembed.ipynb
Created April 6, 2023 12:53
De-embeding/Extracting Passives - Scikit-RF - Library/Playground
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maxanier
maxanier / README.md
Last active March 3, 2023 21:28
Latex Circuitikz RF Transmission Line Symbols

About

I couldn't find the style of transmission line symbol I wanted for circuitikz. This is my attempt of implementing it. It is probably not perfect.

Usage

In your preamble (before \begin{document}) do:

\makeatother
\include{definitions.tex}
\makeatletter
@maxanier
maxanier / README.md
Created January 29, 2023 16:20
Openhab + Mopidy Control Integration
@maxanier
maxanier / doubleblind.sty
Last active December 30, 2025 19:26
Latex package - Convenient toggle-able censoring of information for double-blind review e.g. for IEEEtran class
% doubleblind - @maxanier https://gist.github.com/maxanier/c63f9b5dede1ecda6cf9b0e346ec413d
% Convenient toggle-able censoring of information for double-blind review e.g. for IEEEtran class
% Supports linebreaks in text
%
% Include as
% \usepackage[]{doubleblind}
% and add `anonym` option to enable censoring:
% \usepackage[anonym]{doubleblind}
%
% Provides the following commands:

Biomes are selected based on 6 Climate.Parameter

  • Temperature
  • Humidity
  • Continentalness
  • Errosion
  • Depth
  • Weirdness

These parameters can be between -1 and 1 (OverworldBiomeBuilder#FULL_RANGE) (except for depth which is always 0 or 1). Internally these values are multiplied by 10000 and stored as long (Climate#quantizeCoord).

Message

Exactly 6 years ago the Vampirism mod was born as Mistadon, wildbill22 and me wrote the first lines of code.
Thousands of work hours later it has become fairly popular as well as one of the biggest MC mods (unique-content-wise) though not and one of the few big mods that lived on from MC 1.6 to 1.16.
To continue that trend Cheaterpaul and I are releasing the first alpha of the next big Vampirism update (which might be the biggest since 1.0).
This would not have been possible without the work of Cheaterpaul, the artistic contributions by RebelT/PixelEyeStudios and Alis, as well as the management of the Official MC and Discord servers by 1LiterZinalco, Piklach, Teri, Witchcrafter and the other staff members.

That being said, due to the sheer size it has become a very time-comsuming process maintaining the mod and upgrading to newer MC version has become a incredibly tedious task. On top of that, I have less and less spare time.
What does this mean? Is Vampirism dead? No! However, don't expe