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
/*ALTERA A COR DA BORDA DA ABA*/ | |
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { | |
border-top: 3px solid #36ad64 !important; | |
border-left: 1px solid #36ad64 !important; | |
} | |
/*DEFINE LARGURA DAS ABAS EM 100%*/ | |
.nav-tabs { | |
display: flex !important; | |
flex-direction: row !important; |
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
<?php | |
public static function onGenerate($param) | |
{ | |
try | |
{ | |
TTransaction::open(self::$database); | |
$class = self::$activeRecord; | |
$object = new $class($param['key']); |
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
php_flag log_errors on | |
php_flag display_errors on |
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
<?php | |
$log = fopen('tmp/php_errors.log', 'w'); | |
fclose($log); |
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
from gtts import gTTS | |
from playsound import playsound |
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
TERMINAL: pip install playsound==1.2.2 |
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
<?php | |
# AGRADECIMENTO: WELLIGTON PIVATTO | |
# INSTALE O PACOTE COMPOSER NO PROJETO: google/apiclient | |
# CONTEÚDO ARQUIVO google.ini (app/config/google.ini) | |
/* | |
[google_oauth2] | |
client_id = "303046463171-cisqtpsaqbvd6xpg547rfbhi7ea1un69.apps.googleusercontent.com" | |
client_secret = "YHMKPX-wqMQF1Dc06GI5Prd2IYVivJ3df6V" |
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
.col-sm-2.fb-field-container:has(#btn_buscar_produto) { | |
padding-left: 0px !important; | |
} |
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
.table-striped tbody tr:nth-of-type(odd) { | |
background: #ffffff !important; | |
} |
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
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; | |
OUTRA FORMA: | |
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('root'); | |
FLUSH PRIVILEGES; |
NewerOlder