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
private void Perovano_ExecuteCode(object sender, System.EventArgs args) | |
{ | |
} | |
public static class PerovanoFramework | |
{ | |
/* | |
Framework Criado Para Ajudar a Construção de Formula Visual | |
Autor: Perovano |
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
certbot certonly --manual \ | |
--preferred-challenges=dns \ | |
--email [email protected] \ | |
--server https://acme-v02.api.letsencrypt.org/directory \ | |
--agree-tos \ | |
--manual-public-ip-logging-ok \ | |
-d "*.domain.com" |
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
SELECT TABLE_NAME AS `Table`, ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)` FROM information_schema.TABLES WHERE TABLE_SCHEMA = "monitchat" ORDER BY (DATA_LENGTH + INDEX_LENGTH) DESC; |
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
sudo du -cha --max-depth=1 / | grep -E "M|G" |
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
set global max_allowed_packet=100000000000000000; | |
set global net_buffer_length=1000000000000; |
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 artisan config:clear | |
php artisan cache:clear | |
php artisan view:clear | |
php artisan route:clear | |
composer dump-autoload |
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
#Atualiza o Ubuntu | |
cd ~ && sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt install git -y && sudo apt install nginx -y && sudo ufw allow 'Nginx HTTP' && sudo apt install mysql-server -y && sudo add-apt-repository universe && sudo apt install php-fpm php-redis php-imap php-mysql php-gd php-zip php-mbstring php-curl php-xml php-soap -y | |
#Instalar o Composer | |
#Faça download da versão mais atual do composer | |
#Para saber qual a versão baixar | |
#Acesse esse site https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md | |
#e veja qual o link de download no fim da pagina | |
wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet && sudo mv composer.phar /usr/local/bin/composer && sudo apt install curl -y |