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
| diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc | |
| index 80b9bbf3f..ac0ec5286 100644 | |
| --- a/apt-pkg/contrib/hashes.cc | |
| +++ b/apt-pkg/contrib/hashes.cc | |
| @@ -135,6 +135,30 @@ std::string HashString::GetHashForFile(std::string filename) const /*{{{*/ | |
| Hashes SHA512(Hashes::SHA512SUM); | |
| SHA512.AddFD(Fd); | |
| fileHash = SHA512.GetHashString(Hashes::SHA512SUM).Hash; | |
| + } else if (strcasecmp(Type.c_str(), "All") == 0) { | |
| + fileHash = ""; |
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 | |
| sudo cat /var/log/apache2/error.log |
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 -e | |
| sudo service apache2 stop | |
| sudo service php7.4-fpm stop | |
| sudo rm -fr /var/mateus/opcache/* | |
| sudo service php7.4-fpm start | |
| sudo service apache2 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
| #!/bin/bash | |
| CERT=/etc/letsencrypt/live/ativarsoft.com.br/fullchain.pem | |
| openssl x509 -pubkey -noout -in $CERT |