Skip to content

Instantly share code, notes, and snippets.

<?php
set_time_limit(600);
$arrContextOptions=array(
"ssl"=>array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
);
$htmlContent = file_get_contents("https://mini.sixbitunder.com/armacom/", false, stream_context_create($arrContextOptions));
// ACE Allgemein
force ace_common_allowFadeMusic = true;
force ace_common_checkPBOsAction = 0;
force ace_common_checkPBOsCheckAll = false;
force ace_common_checkPBOsWhitelist = "[]";
ace_common_displayTextColor = [0,0,0,0.1];
ace_common_displayTextFontColor = [1,1,1,1];
ace_common_settingFeedbackIcons = 1;
ace_common_settingProgressBarLocation = 0;
force ace_noradio_enabled = true;
@TFWIsaac
TFWIsaac / gist:20bc26be0c6e5a7bfe1d8c04555bc6f7
Last active November 16, 2019 17:13
Muster-Missionsbeschreibung
<table><tbody>
<tr>
<td>Termin</td>
<td>Datum</td>
</tr>
<tr>
<td>Sammeln TS<br>
</td>
<td>Uhrzeit</td>
</tr>
#!/bin/bash
HOLD_DAYS=14
TIMESTAMP=$(date +"%F")
BACKUP_DIR="/opt/sql-backup"
MYSQL_USR="xxx"
MYSQL_PWD="xxx"
DATENBANK="xxx"
HOST="xxx"
@TFWIsaac
TFWIsaac / clientinfo.tpl
Created July 10, 2019 17:44
TS3 Extra Client Info
<table class="InfoFrame_Table">
<tr>
<td class="Bottom Label">%%TR_CLIENT_VERSION%%:</td>
<td class="Bottom">%%TR_CLIENT_VERSION_LONG%%</td>
</tr>
<tr><td class="Label">%%TR_CLIENT_CONNECTED_SINCE%%:</td><td>%%CLIENT_CONNECTED_SINCE%%</td></tr>
<tr><td class="Label">Client UID:</td><td>%%CLIENT_UNIQUE_ID%%</td></tr>
<tr><td class="Label">Client Plattform:</td><td>%%CLIENT_PLATFORM%%</td></tr>
<tr><td class="Label">Client Version:</td><td>%%CLIENT_VERSION%%</td></tr>
<tr><td class="Label">Client DB ID:</td><td>%%CLIENT_DATABASE_ID%%</td></tr>
if (isClass (configFile >> "CfgPatches" >> "acre_main")) then {
if(isDedicated) exitWith {};
["ACRE_PRC148", "default", "example1"] call acre_api_fnc_copyPreset;
["ACRE_PRC152", "default", "example1"] call acre_api_fnc_copyPreset;
["ACRE_PRC117F", "default", "example1"] call acre_api_fnc_copyPreset;
["ACRE_PRC148", "example1", 1, "description", "Kampfkreis"] call acre_api_fnc_setPresetChannelField;