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
foreach ($file in (git status --porcelain | Where-Object { $_ -match '^[ M][M ]' } | ForEach-Object { $_.Substring(3) })) { | |
git update-index --assume-unchanged $file | |
Write-Output "Marked $file as unchanged" | |
} |
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
<?php | |
/* | |
*TS3 AFK Mover (CLI+DB) by The-Killer | |
* 2014-06-12 initial release | |
* 2018-05-13 add channel statistics collecting | |
*/ | |
//Include php ts3 library http://addons.teamspeak.com/directory/addon/integration/TeamSpeak-3-PHP-Framework.html | |
require_once('lib/libraries/TeamSpeak3/TeamSpeak3.php'); | |
//Mysqli connection just stored in another file | |
require_once('mysql.inc.php'); |