Skip to content

Instantly share code, notes, and snippets.

View Fank's full-sized avatar

Florian Kinder Fank

  • @mcl-de enthus GmbH
  • Japan
  • 08:25 (UTC +09:00)
View GitHub Profile
@Fank
Fank / klipper.conf
Created September 2, 2021 21:00
CR-5 Pro Klipper config
# This file contains common pin mappings for the BIGTREETECH SKR mini
# E3 v2.0. To use this config, the firmware should be compiled for the
# STM32F103 with a "28KiB bootloader". Also, select "Enable extra
# low-level configuration options" and configure "GPIO pins to set at
# micro-controller startup" to "!PA14".
# The "make flash" command does not work on the SKR mini E3. Instead,
# after running "make", copy the generated "out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the SKR
# mini E3 with that SD card.
@Fank
Fank / sluice.cs
Last active January 13, 2017 18:20
Space Engineers Sluice Management with 2 doors, 2 lights, 1 Airvent and 1 Timer
public Program() {
// The constructor, called only once every session and
// always before any other method is called. Use it to
// initialize your script.
//
// The constructor is optional and can be removed if not
// needed.
}
public void Save() {
@Fank
Fank / se.cs
Last active December 16, 2015 10:29
void Main(string argument) {
CargoSystem cs = new CargoSystem(GridTerminalSystem);
cs.CollectOreInto("_base Fank Cargo Container 2");
cs.CollectIngotInto("_base Fank Cargo Container 1");
}
public class CargoSystem {
private IMyGridTerminalSystem _gridTerminalSystem = null;
public CargoSystem(IMyGridTerminalSystem GridTerminalSystem) {

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"

npm adduser

@Fank
Fank / beguidcalc.md
Last active August 29, 2024 17:52
ArmA 3 / DayZ-Standalone - BattlEye GUID calculation

md5("BE" (2 bytes) + 64-bit SteamID (8 bytes))