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
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('root'); | |
FLUSH PRIVILEGES; |
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
<style> | |
body{ | |
font-size:14px; | |
font-family: -apple-system, BlinkMacSystemFont,Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif; | |
} | |
</style> |
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 | |
# PEGA A URL PRINCIPAL DO SISTEMA | |
$url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; | |
$parsed_url = parse_url($url); | |
$base_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . $parsed_url['path']; | |
$path_parts = pathinfo($base_url); | |
if (isset($path_parts['extension'])) { |
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 | |
$url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; | |
$parsed_url = parse_url($url); | |
$base_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . $parsed_url['path']; | |
$path_parts = pathinfo($base_url); | |
if (isset($path_parts['extension'])) { | |
$base_url = $parsed_url['scheme'] . '://' . $parsed_url['host'] . dirname($parsed_url['path']); |
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 | |
TTransaction::open(self::$database); | |
$preferences = SystemPreference::getAllPreferences(); | |
TTransaction::close(); | |
if (!isset($preferences['smtp_host'])) | |
{ |
NewerOlder