Skip to content

Instantly share code, notes, and snippets.

View yannicklamprecht's full-sized avatar
🏠
Working from home

Yannick Lamprecht yannicklamprecht

🏠
Working from home
  • Germany, Frankfurt
  • 15:43 (UTC +02:00)
View GitHub Profile
import net.minecraft.server.v1_10_R1.Block;
import net.minecraft.server.v1_10_R1.BlockPosition;
import net.minecraft.server.v1_10_R1.Blocks;
import net.minecraft.server.v1_10_R1.ChunkCoordIntPair;
import net.minecraft.server.v1_10_R1.DefinedStructure;
import net.minecraft.server.v1_10_R1.DefinedStructureInfo;
import net.minecraft.server.v1_10_R1.DefinedStructureManager;
import net.minecraft.server.v1_10_R1.EnumBlockMirror;
import net.minecraft.server.v1_10_R1.EnumBlockRotation;
import net.minecraft.server.v1_10_R1.MinecraftKey;
@yannicklamprecht
yannicklamprecht / dynv6.sh
Last active August 29, 2016 00:02 — forked from corny/dynv6.sh
Update script for dynv6.com to set your IPv4 address and IPv6 prefix
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi
@yannicklamprecht
yannicklamprecht / latex_beamer_thm
Created May 12, 2016 04:29 — forked from jonaswisplinghoff/latex_beamer_thm
LaTeX Beamer class example with the colors of Technische Hochschule Mittelhessen. Output: https://jonaswoc.rigel.uberspace.de/owncloud/index.php/s/1i4yqBj9ZOF7ts7
\documentclass{beamer}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\definecolor{thm}{HTML}{8dc24e}
\definecolor{thm_grey}{HTML}{6B7982}
\definecolor{thm_dark}{HTML}{4A5D66}
import sys
import os
import math
import urllib2
import json
import time
import shutil
import uuid
from nbt import nbt # pip install nbt
@yannicklamprecht
yannicklamprecht / CommandAPI-Bukkit
Created January 4, 2014 03:42
A description of my CommandAPI
package commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import lib.CustomCommand;
import lib.Factorizer;
public class ConfigReload extends CustomCommand{