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 | |
# https://github.com/mike42/escpos-php | |
# composer: mike42/escpos-php | |
use Mike42EscposPrinter; | |
use Mike42EscposEscposImage; | |
use Mike42EscposImagickEscposImage; | |
use Mike42EscposPrintConnectorsFilePrintConnector; | |
use Mike42EscposPrintConnectorsWindowsPrintConnector; |
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
#!/usr/bin/env python3 | |
import os | |
import json | |
import requests | |
from multiprocessing.pool import ThreadPool | |
def build_index(): | |
page = 1 | |
urls = [] |
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 | |
.... | |
//Adicionar um texto ao footer do form | |
$addText = new TTextDisplay(FormService::getByAndAt($object), 'gray', 10, 'i'); | |
$this->form->addFooterWidget($addText); | |
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 | |
public static function onChangeProduto($param = null) | |
{ | |
try | |
{ | |
//code here | |
if(!empty($param['key'])) | |
{ | |
//code here |
NewerOlder