Skip to content

Instantly share code, notes, and snippets.

View maxanier's full-sized avatar

Max Becker maxanier

View GitHub Profile
@maxanier
maxanier / README.md
Last active June 17, 2024 07:47
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
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 June 10, 2022 08:45
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

@maxanier
maxanier / VampireMinions.md
Last active June 30, 2020 21:27
Vampire Minion

General notes

  • Player as to become a lord player first
  • There are multiple lord levels (e.g. 5) and for each level the player may recruit an additional minion
  • Once recruited the minion will never be "lossed", they can die, but can be respawned after a certain time
  • The entire concept is supposed to be late game and therefore may include grinding, delays, difficult tasks
  • Minions can be trained ("leveled up") to unlock more inventory space and better attributes (health, strength, ...)
  • Training the minions is not really "necessary" as it adds no new feature, but just improves existing ones. Therefore, this can/should probably require a very long grind.
  • Eventually, there might another last final objective of becoming the one and only "lord" (like in 1.7.10)

Become and level as vampire/hunter lord

@maxanier
maxanier / gradle.xml
Created December 30, 2019 10:52
.idea/gradle.xml -> resolveModulePerSourceSet
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="createEmptyContentRootDirectories" value="true" />
<option name="delegatedBuild" value="false" />
<option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
@maxanier
maxanier / Description.md
Created December 4, 2017 20:53
Overview Vampirism Village Rework
  • Three states for villages: Hunter, Neutral, Vampire
  • Naturally generated villages are mostly neutral, but a small percentage (config) is already controlled
    • Percentage could be dynamically calculated based on online players
    • Village which are controlled by default could have some faction specific buildings
    • Maybe an option in world gen menu to make assign all to one faction
  • Effects of a village being controlled
    • Spawn hunter/vampire randomly up to a certain threshold (only a handful, depending on village size)
    • Give boosts to any creature of the controlling faction inside the boundaries
      • Effect can be increased by fuelling a specific structure
  • A small percentage of the villagers will become angry/vampire