This Gist used to be a fork of similardilemma’s mcexplore.py script, which is used to pregenerate a minecraft world and was previously maintained at this url. Similardilemma no longer has a github account and no longer maintains mcexplore, so with his blessing I’m continuing development on GitHub over here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
items=[ | |
{"name": "soul speed book", "num":1, "chance":5/459, "stacksize":1}, | |
{"name": "soul speed boots", "num":1, "chance":8/459, "stacksize":1}, | |
{"name": "splash fire resist potion", "num":1, "chance":8/459, "stacksize":1}, | |
{"name": "fire resist potion", "num":1, "chance":8/459, "stacksize":1}, | |
{"name": "water bottle", "num":1, "chance":10/459, "stacksize":1}, | |
{"name": "iron nugget", "num":sum([10,36])/2, "chance":10/459, "stacksize":64}, | |
{"name": "ender pearl", "num":sum([2,4])/2, "chance":10/459, "stacksize":16}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Buce <dmbuce@gmail.com> | |
pkgname=c10t-git | |
pkgver=1.7.r242.g15d0bfe | |
pkgver() { | |
cd "$srcdir/$pkgname" | |
if ! git describe --tags 2>/dev/null; then | |
echo "0.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" | |
fi | sed 's/-/.r/; s/-/./g' | |
} | |
pkgrel=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Home System | |
Documentation=man:systemd.special(7) | |
Requires=multi-user.target | |
After=multi-user.target | |
AllowIsolate=yes | |
[Install] | |
Alias=default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Reflector.py.orig 2012-03-23 17:33:39.317842672 -0500 | |
+++ Reflector.py 2012-03-23 17:52:41.385672960 -0500 | |
@@ -34,7 +34,8 @@ | |
# Recognized list sort types and their descriptions. | |
SORT_TYPES = {'age': 'last server synchronization', | |
'rate': 'download rate', | |
- 'country': 'server\'s location'} | |
+ 'country': 'server\'s location', | |
+ 'score': 'MirrorStatus score'} | |
# Known repositories, i.e. those that should be on each mirror. |