(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
Discover gists
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 function __construct( $param ) | |
{ | |
parent::__construct(); | |
$this->form = new BootstrapFormBuilder(self::$formName); | |
$this->form->setFormTitle("<i class=\"fas fa-chart-pie\"></i> FLUXO DE CAIXA); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/*Z-INDEX JANELA SWEET ALERT*/ | |
.swal2-container { | |
z-index: 9999 !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 function onDownload($param = null) | |
{ | |
try | |
{ | |
$arquivo = $param['arquivo']; # app/output/1/contrato_aluguel.pdf | |
$extensao = pathinfo($arquivo, PATHINFO_EXTENSION); | |
$nome = pathinfo($arquivo, PATHINFO_FILENAME); |
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 function onDownloadZip($param = null) | |
{ | |
try | |
{ | |
$arquivo = $param['arquivo']; | |
if (file_exists($arquivo)) | |
{ |
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 | |
$dias = cal_days_in_month(CAL_GREGORIAN, 8, 2023); # 31 DIAS | |
echo "EXISTEM {$dias} DIAS DO MÊS DE AGOSTO DE 2023"; | |
/* | |
cal_days_in_month($calendar, $month, $year) | |
calendar |
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 | |
$column_progresso->setTransformer(function($value, $object, $row, $cell = null, $last_row = null) | |
{ | |
$bar = new TProgressBar; | |
$bar->setMask("<b>{value}</b>%"); | |
$bar->setValue($value); | |
if ($value == 100) { | |
$bar->setClass("success"); |
- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
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 function onSave($param = null) | |
{ | |
try | |
{ | |
TTransaction::open(self::$database); | |
$itens = $this->fieldList_itensVenda->getPostData(); |
NewerOlder