Skip to content

Instantly share code, notes, and snippets.

View LuxXx's full-sized avatar

David LuxXx

View GitHub Profile
@LuxXx
LuxXx / bedrock.c
Created August 2, 2020 11:46
2b2t Bedrock Finder by ChromeCrusher
/*
Written by ChromeCrusher for finding bases on 2b2t.org
This program requires you to know a top-level bedrock pattern.
A chunk-aligned 16x16 pattern (a complete chunk) is preferable and is the fastest method, but it can find any smaller pattern too (it just takes longer)
You could technically search for an area larger than 16x16 (up to 48x48), but it will be slower and the chances of finding two identical 16x16 bedrock patterns is basically zero.
An 8x8 pattern is usually enough to uniquely identify a location with a fairly low chance of false positives.
You'll need to know which direction is north. This can be found by looking at the textures of some blocks (cobblestone for example, see http://gaming.stackexchange.com/a/23103)
If you can't find which direction is north, you'll have to search for all 4 rotations of the pattern separately. I did not include a function to do it automatically because I haven't needed it.
@LuxXx
LuxXx / ConvexSolveMSP.ipynb
Last active July 30, 2020 13:36
Convex Solve MVP
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / mod.ipynb
Created May 13, 2020 12:50
Modulo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / Variation.ipynb
Created May 11, 2020 16:24
Beschränkte Variation und Länge einer Kurve
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / BayesVSML.ipynb
Created April 18, 2020 08:53
Bayes vs ML
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / corona_virus.ipynb
Created March 19, 2020 20:18
Corona Virus Analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / RiskMeasure.ipynb
Created March 3, 2020 10:51
Measure Investor Risk
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / RiskMeasure.ipynb
Created March 2, 2020 13:21
Measure Investment Risk of Investors
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / AutoCorr.ipynb
Created February 14, 2020 18:26
AutoCorr Sin
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LuxXx
LuxXx / Diskrete Brownsche Brücke.ipynb
Last active January 29, 2020 11:02
Diskrete Brownsche Brücke
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.