Skip to content

Instantly share code, notes, and snippets.

View Wildcarde's full-sized avatar

Garrett Mc. Wildcarde

View GitHub Profile
@Wildcarde
Wildcarde / Dockerfile
Last active December 16, 2020 12:00
Jedi Knight: Jedi Academy Dockerized Server
## Docker file to build a jedi academy server and mount the apk files from a source folder
FROM centos
MAINTAINER Garrett McGrath <gmcgrath815 at gmail.com>
RUN yum install -y wget unzip
RUN wget https://www.dropbox.com/s/mbdmpim04krl1o2/jalinuxded_1.011.zip?dl=0 -O /tmp/temp.zip; unzip /tmp/temp.zip -d /opt/jaserv; \
wget https://www.dropbox.com/s/ig82qlsohlbwzye/dedicated_ja_server_unofficialpatch.zip?dl=0 -O /tmp/patch.zip; unzip /tmp/patch.zip -d /tmp/patch; \
cp /tmp/patch/DEDICATED_JA_server_UnofficialPATCH/linuxjampded /opt/jaserv/linuxjampded; \
rm /tmp/temp.zip /tmp/patch.zip; rm -fr /tmp/patch; \
@Wildcarde
Wildcarde / roboclone.bat
Created April 22, 2015 20:10
A basic robocopy command that can be scheduled via Windows Event Scheduler
REM SERVICEUNC is the name of the server you wish to connect to
REM Replace password with the service account password
REM Replace domain with site domain name
net use Z: \\<SERVERUNC>\<LAB\TARGET> <PASSWORD> /USER:<DOMAIN>\<ServiceAccount>
REM this is the robocopy location for windows XP installed via 'windows resource kits', the location will
REM be different for Vista/7/8 as robocopy is included as part of the OS packages.
"C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" E:/ Z:/Raw/ /LOG+:Z:/Logs/transfer.log /E /Z /B /TS /NP
REM Remove the previously mounted link so it doesn't leave trailing links or open connections