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
/ip firewall address-list | |
add address=3.33.221.48/32 list=Meta | |
add address=3.33.252.61/32 list=Meta | |
add address=15.197.206.217/32 list=Meta | |
add address=15.197.210.208/32 list=Meta |
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
https://www.motobit.com/util/charset-codepage-conversion.asp |
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
Company Name : sERIAL kILLER | |
Registration Keys | |
For Standard Version | |
.KFZUS-F3JGV-T95Y7-BXGAS-5NHHP | |
.T3ZWQ-P2738-3FJWS-YE7HT-6NA3K | |
.KFZUS-F3JGV-T95Y7-BXGAS-5NHHP | |
.65Z2L-P36BY-YWJYC-TMJZL-YDZ2S |
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
for /l %%x in (1, 1, 100) do ( | |
WMIC Process WHERE "Name like '%%aapt2%%'" GET executablepath | |
) |
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
cat /var/log/nginx/access.log | grep " 404 " | awk ' {print $1} ' | sort |uniq -c| sort -nr | |
cat /var/log/nginx/access.log | grep POST | awk ' {print $1} ' | sort |uniq -c| sort -nr | |
cat /var/log/nginx/access_mci_analytics.log | grep "status\": \"404\"" | awk ' {print $14} ' | sort |uniq -c| sort -nr | |
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
Just add below code to your composer.json file to set different php version: | |
``` | |
"config": { | |
"platform": { | |
"php": "7.0.0" | |
} | |
} | |
``` | |
If you just need to get composer to ignore the version requirements, you can bypass using: |
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
sudo yum install -y epel-release | |
sudo yum install -y certbot-nginx | |
sudo firewall-cmd --add-service=http | |
sudo firewall-cmd --add-service=https | |
sudo firewall-cmd --runtime-to-permanent | |
sudo certbot --nginx -d example.com -d www.example.com |
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
var waitTill = new Date(new Date().getTime() + seconds * 1000); | |
while(waitTill > new Date()){} |
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
cd /usr/local/directadmin/custombuild | |
./build update | |
./build set php1_release "7.4" | |
./build update | |
./build set php1_mode php-fpm | |
./build set mod_ruid2 no | |
./build set htscanner yes | |
./build mod_htscanner2 | |
./build php n | |
./build rewrite_confs |
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
ps aux | grep ".php"| grep -v "master" | grep -v "pool" | grep -v $(date +%H): | grep -v grep | sort -k8 | head -n 10 | |
ps aux | grep ".php"| grep -v "master" | grep -v "pool" | grep -v $(date +%H): | grep -v grep | sort -k8 | head -n 10 |awk '{print $2}' | xargs kill -9 |