View bas.bas
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
0 rem bas.bas - by underwood | |
1 rem usage: bas <single line of BASIC code> | |
10 if left$(arg$,1) = " " then arg$ = mid$(arg$,1) : goto 10 | |
20 if asc(left$(arg$,1)) > 47 and asc(left$(arg$,1)) < 58 then arg$ = mid$(arg$,1) : goto 10 | |
21 rem strip leading spaces and line numbers | |
30 arg$ = "1 " + arg$ | |
31 rem prepend our line with line number 1 |
View minecraft.sh
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 | |
# original author : Relliktsohg | |
# Huge thanks to Maine for his incremental backup | |
# Thanks to endofzero for his improved update routine | |
# | |
# Installation: | |
# - Copy script into you minecraft server folder. | |
# - Allow the script to be executed (chmod +x minecraft.sh) | |
# - Check the rights of the script user. Every folder specified in config has to be available. | |
# - Edit the script to configure it (see configure section) |