This file contains 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
def pointDict( coords ): | |
coordLabel = ("x", "y", "z") | |
return dict(zip(coordLabel, coords)) | |
def mcafilter(poi): | |
if poi["id"] == "mca": | |
# print poi | |
return poi | |
mcapoi = [] |
This file contains 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
#!/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 |