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
#update and install some dependencies | |
sudo apt-get update && apt-get upgrade -y; | |
sudo apt-get install -y debconf-utils zsh htop libaio1; | |
#set the root password | |
DEFAULTPASS="rootpass" | |
#set some config to avoid prompting | |
sudo debconf-set-selections <<EOF | |
mysql-apt-config mysql-apt-config/select-server select mysql-8.0 |
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 | |
namespace App\Services; | |
class LogService | |
{ | |
public function handleLog() | |
{ | |
//Função de 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
<?php | |
namespace App\Http\Controllers; | |
class Controller extends BaseController { | |
use AuthorizesRequests, DispatchesJobs, ValidatesRequests; | |
public function handleLog() | |
{ | |
//Função de Log |