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
<?php | |
const DEBUG = false; | |
const BANNER_PATH = '/gametracker'; | |
function convert_banner($url) { | |
// create curl resource | |
$ch = curl_init(); | |
// set url | |
curl_setopt($ch, CURLOPT_URL, $url); |
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 | |
PWD=`pwd` | |
if [[ -z "$1" || ! -d "$1" ]]; then | |
echo "No logs directory provided or logs directory does not exist." | |
exit | |
fi | |
LAST_MONTH=$((`date +%m` - 1)) |
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 | |
PWD=`pwd` | |
if [[ -z "$1" || ! -d "$1" ]]; then | |
echo "No damagelog directory provided or damagelog directory does not exist." | |
exit | |
fi | |
LAST_MONTH=$((`date +%m` - 1)) |
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/sh | |
### BEGIN INIT INFO | |
# Provides: ark-server | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
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
<?php | |
require('aws.phar'); | |
use Aws\S3\S3Client; | |
const BUCKET_NAME = '<BUCKET_NAME>'; | |
// Requires the ListBucket, GetObject, GetObjectAcl, PutObject, PutIpConfiguration, PutInventoryConfiguration, DeleteObject, and PutObjectAcl IAM permissions | |
$s3 = S3Client::factory(array( |
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 | |
ROOT=/servers/steam/ark/ShooterGame/Saved | |
DATE=`date +%Y-%m-%d` | |
EURODATE=`date +%d.%m.%Y` | |
BACKUP=$ROOT/SavedArks/$DATE | |
MAP=${1:-TheIsland} | |
# sudo apt-get install lrzip | |
if [ -e /usr/bin/lrzip ]; then |
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
chcp 65001 | |
move "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" "%USERPROFILE%\AppData\Local\Rockstar Games\GTA V\entitlement.info" | |
mklink "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" "%USERPROFILE%\AppData\Local\Rockstar Games\GTA V\entitlement.info" | |
attrib +h +s "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" /l |
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 | |
plugins=( Core Inventories Portals NetherPortals SignPortals ) | |
maximum_errors=20 | |
for p in ${plugins[@]}; do | |
echo "Processing Multiverse-$p" | |
version=0 | |
if [ -e Multiverse-$p-2.5-#*.txt ]; then |
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
Windows Registry Editor Version 5.00 | |
; <<< acffile | |
[HKEY_CLASSES_ROOT\.acf] | |
@="acffile" | |
"Content Type"="text/plain" | |
"PerceivedType"="text" | |
[HKEY_CLASSES_ROOT\acffile] | |
@="App Cache File" |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.wps] | |
@="Works.Office.wps" | |
[HKEY_CLASSES_ROOT\.xlr] | |
@="Works.Office.xlr" | |
[HKEY_CLASSES_ROOT\Works.Office.wps] | |
@="Microsoft Works Document" |
OlderNewer