Skip to content

Instantly share code, notes, and snippets.

View scriptdev's full-sized avatar

FABRICIO scriptdev

View GitHub Profile
@scriptdev
scriptdev / .php
Created April 25, 2024 18:16
CRIAR LINK DE AÇÃO NO BIndicator
<?php
function($value, $object, $row)
{
if($value)
{
$value = 'R$ ' . number_format($value, 2, '.', '');
$link = new TActionLink($value, new TAction(['ExemploForm', 'onShow']));
return $link;
}
@scriptdev
scriptdev / .php
Last active April 14, 2024 23:57
CONVERTER ARRAY PARA JSON HTML ( THtmlRenderer )
<?php
$meses = ['JANEIRO', 'FEVEREIRO', 'MARÇO', 'ABRIL'];
$data = json_encode($meses, true);
$data = stripslashes($meses);
$html = new THtmlRenderer('app/resources/grafico.html');
$html->enableSection('main', $data);
@scriptdev
scriptdev / .txt
Created April 9, 2024 16:50
NÚMERO CARTÃO TESTE CHECKOUT AsaaS
CARTÃO: 4444 4444 4444 4444
VENCIMENTO: 01/2050
CCV: 123
@scriptdev
scriptdev / .txt
Last active April 4, 2024 22:15
MÓDULOS ( VENDA) - FABRICIO
Adquira já os Módulos desenvolvidos no Builder
Módulos:
Fluxo de Caixa
Ordem Serviço (Oficina Mecânica)
Igreja
Estética e Salão de Beleza
Checkout Stripe
Checkout AsaaS
Checkout PagSeguro
@scriptdev
scriptdev / .css
Created April 3, 2024 05:08
OCULTAR BARRA TÍTULO DO FORMULÁRIO ( ADMIN LTe 3 )
.card-header.panel-heading {
display: none !important;
}
@scriptdev
scriptdev / .txt
Created April 3, 2024 04:19
CARTÃO TESTE (MERCADO PAGO)
VISA
CARTÃO: 4235 6477 2802 5682
CÓD. SEGURANÇA: 123
VENCIMENTO: 11/25
* MASTERCARD
CARTÃO: 5031 4332 1540 6351
CÓD. SEGURANÇA: 123
VENCIMENTO: 11/25
@scriptdev
scriptdev / .txt
Created March 29, 2024 22:26
VoiceMaker -CONVERSOR DE TEXTO PARA VOZ ( mp3 )
https://voicemaker.in/
@scriptdev
scriptdev / .php
Last active April 19, 2024 01:21
PEGAR COORDENADAS LATITUDE e LONGITUDE E ABRIR NO MAPA
<?php
public static function onAbrirMapa($param = null)
{
try
{
TScript::create("
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
var latitude = position.coords.latitude;
@scriptdev
scriptdev / .txt
Created March 27, 2024 01:06
CÓDIGO CARTÃO TESTE ( STRIPE )
VISA: 4242424242424242
MASTERCARD: 5555555555554444
https://docs.stripe.com/testing?locale=pt-BR
@scriptdev
scriptdev / .txt
Created March 25, 2024 23:28
TABELA KEY CODES TECLAS DE ATALHO
BACKSPACE 8
TAB 9
ENTER 13
SHIFT 16
CTRL 17
ALT 18
PAUSE/BREAK 19
CAPS LOCK 20
ESCAPE 27
PAGE UP 33