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
#!/usr/bin/perl -w | |
# example hook script for vzdump (--script option) | |
use strict; | |
print "HOOK: " . join (' ', @ARGV) . "\n"; | |
my $phase = shift; |
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
echo "Connecting to 192.168.1.100" | |
$Server="192.168.1.100" | |
$User="Administrator" | |
$Password="AdminPassword" | |
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password | |
mstsc /v:$Server |
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
#!/usr/bin/perl | |
use warnings; | |
use strict; | |
use constant PORT => 2302; | |
use constant PATH => $ENV{'PWD'}.'/'; | |
use constant PIDFILE => PATH.PORT.'.pid'; | |
use constant HCPIDFILE => PATH.PORT.'.hcpid'; |
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
@echo off | |
COLOR 0B | |
TITLE Arma 3 Server Auto Restarter | |
SETLOCAL EnableExtensions enabledelayedexpansion | |
set EXE=arma3server_x64.exe | |
set /A restartCounter=0 | |
rem Change this to the amount of Minutes you want the server to restart each time. | |
Set minutesToRestart=240 |
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
#!/usr/bin/env python | |
import subprocess, sys, os | |
STEAM_USERNAME = "steamusername" | |
STEAM_PASSWORD = "steampassword" | |
WORKSHOP_IDS = [["843425103", "@rhsafrf"], | |
["843593391", "@rhsgref"], |
NewerOlder