- Download
setup.sh
and replaceSTEAM_KEY
with your key and update any versions you want. - Run
setup.sh
. - Replace
mods.json
with one provided here. - Create service file by copying file here to
/etc/systemd/system/screeps-world.service
. - Enable and run service (
systemctl enable screeps-world && systemctl start screeps-world
). - Log into the cli (
su screeps && cd ~/world && ./node_modules/screeps/bin/screeps.js cli
). - Reset memory (
system.resetAllData()
) and restart (systemctl restart screeps-world
.
This file contains hidden or 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
/* | |
Copyright (c) 2017 Robert Hafner <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains hidden or 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 bash | |
# Check if a value exists in an array | |
# @param $1 mixed Needle | |
# @param $2 array Haystack | |
# @return Success (0) if value exists, Failure (1) otherwise | |
# Usage: in_array "$needle" "${haystack[@]}" | |
# See: http://fvue.nl/wiki/Bash:_Check_if_array_element_exists | |
in_array() { | |
local hay needle=$1 |
This file contains hidden or 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
INFO global: Vagrant version: 2.0.2 | |
INFO global: Ruby version: 2.4.3 | |
INFO global: RubyGems version: 2.6.14 | |
INFO global: VAGRANT_LOG="info" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-2.0.2/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: resolv replacement has been enabled! | |
INFO global: Plugins: |
This file contains hidden or 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
connections: | |
main: | |
host: screeps.com | |
secure: true | |
token: '35a345b9-bc6b-4855-8566-66b341913f9b' | |
ptr: | |
host: screeps.com | |
secure: true | |
token: '35a345b9-bc6b-4855-8566-66b341913f9b' | |
ptr: true |
This file contains hidden or 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 bash | |
apt_wait () { | |
while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do | |
sleep 1 | |
done | |
while sudo fuser /var/lib/apt/lists/lock >/dev/null 2>&1 ; do | |
sleep 1 | |
done | |
if [ -f /var/log/unattended-upgrades/unattended-upgrades.log ]; then |
This file contains hidden or 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
// http://www.urbanfonts.com/fonts/Arcade.htm | |
var font = {} | |
font['a'] = [ | |
[0,0,0,0,0,0,0], | |
[0,0,0,0,0,0,0], | |
[0,1,1,1,1,1,0], | |
[0,0,0,0,0,1,1], | |
[0,1,1,1,1,1,1], | |
[1,1,0,0,0,1,1], |
This file contains hidden or 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
# ___ ___ __ __ | |
# / | __ ______/ (_) /_____/ / | |
# / /| |/ / / / __ / / __/ __ / | |
# / ___ / /_/ / /_/ / / /_/ /_/ / | |
# /_/ |_\__,_/\__,_/_/\__/\__,_/ | |
# | |
# Linux Audit Daemon - Best Practice Configuration | |
# /etc/audit/audit.rules | |
# | |
# Compiled by Florian Roth |
This file contains hidden or 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
My name is INSERT NAME and I am the INSERT TITLE of INSERT COMPANY NAME. A website that your company hosts (according to WHOIS information) is infringing on at least one copyright owned by my company. | |
An article was copied onto your servers without permission. The original ARTICLE/PHOTO, to which we own the exclusive copyrights, can be found at: | |
PROVIDE WEBSITE URL | |
The unauthorized and infringing copy can be found at: | |
PROVIDE WEBSITE URL |