Skip to content

Instantly share code, notes, and snippets.

View TomLewis's full-sized avatar
☠️
Whats happening?

Tom Lewis TomLewis

☠️
Whats happening?
View GitHub Profile
@TomLewis
TomLewis / mca_poly_overviewer
Last active April 19, 2016 09:30 — forked from jason-green-io/mca_poly_overviewer
Add these functions, filters and manual POIs to your overviewer config file to add a mca file grid
def pointDict( coords ):
coordLabel = ("x", "y", "z")
return dict(zip(coordLabel, coords))
def mcafilter(poi):
if poi["id"] == "mca":
# print poi
return poi
mcapoi = []
@TomLewis
TomLewis / mc.sh
Created January 22, 2016 10:09 — forked from PhanaticD/mc.sh
#!/bin/bash
SERVERNAME="placeholder"
SERVICE="placeholder.jar"
MCPATH="/home/user/placeholder"
BACKUPPATH="/hd2/backups/placeholder"
INVOCATION="java -Xms2G -Xmx8G -jar $SERVICE"
mc_start() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null