Skip to content

Instantly share code, notes, and snippets.

View adrianoGaspar's full-sized avatar
🎯
Focusing

Adriano Gaspar da Silva adrianoGaspar

🎯
Focusing
View GitHub Profile
@adrianoGaspar
adrianoGaspar / app.js
Created December 29, 2020 17:21 — forked from michelmany/app.js
Vue.js 2 Vee-validate (pt-br) CPF Validation
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VeeValidator, { Validator } from 'vee-validate'
import CpfValidator from './components/validators/cpf.validator'
import Dictionary from './components/validators/dictionary'
import Produto from './components/produtos.vue'
Validator.extend('cpf', CpfValidator)
@adrianoGaspar
adrianoGaspar / PdfCarne.php
Created August 26, 2020 00:56 — forked from ibrunotome/PdfCarne.php
Layout carnê para o laravel-boleto.
<?php
namespace App\Transformers;
use Eduardokum\LaravelBoleto\Boleto\Render\AbstractPdf;
use Eduardokum\LaravelBoleto\Contracts\Boleto\Boleto as BoletoContract;
use Eduardokum\LaravelBoleto\Contracts\Boleto\Render\Pdf as PdfContract;
use Eduardokum\LaravelBoleto\Util;
class PdfCarne extends AbstractPdf implements PdfContract