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
INSERT INTO `mapzones` | |
(`map`, | |
`type`, | |
`corner1_x`, | |
`corner1_y`, | |
`corner1_z`, | |
`corner2_x`, | |
`corner2_y`, | |
`corner2_z`, | |
`destination_x`, |
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
net stop "Remote Desktop Services" | |
net start "Remote Desktop Services" | |
net start "Remote Desktop Services UserMode Port Redirector" | |
net start "Remote Desktop Configuration" | |
pause |
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
@Echo Off | |
:Start | |
If [%1==[ Goto :EOF | |
PushD %~pd1 | |
"C:\Program Files\7-Zip\7z.exe" u -tbzip2 %~nx1.bz2 %1 | |
Shift | |
PopD | |
Goto Start |
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
sc config PolicyAgent start= disabled | |
sc config IKEEXT start= disabled | |
sc config MpsSvc start= disabled | |
sc config bfe start= disabled | |
net stop policyagent | |
net stop ikeext | |
net stop mpssvc | |
net stop bfe |
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
#!/bin/bash | |
#Replace {KEY} with your Maxmind license key, replace {DIR} with your desired resting place for .mmdb files | |
# Create temp working dir | |
mkdir -v /tmp/geoip | |
# Download GeoLite2-City & GeoLite2-Country | |
wget -c "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={KEY}&suffix=tar.gz" -O /tmp/geoip/GeoLite2-City.tar.gz | |
wget -c "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key={KEY}&suffix=tar.gz" -O /tmp/geoip/GeoLite2-Country.tar.gz |