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
// 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) |
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 | |
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 |
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 | |
//Basta criar um arquivo no wp-content/mu-plugins do blog para garantir que, contanto que haja visitas ao blog, //os posts agendados não sejam mais deixados para trás. | |
//A sugestão é que se crie no local acima indicado um arquivo chamado fix-missed-schedule.php | |
//(ou qualquer coisa que faça sentido só de olhar para o nome dele), com o conteúdo abaixo. | |
// Based on: http://wordpress.org/extend/plugins/wp-missed-schedule/ | |
@define('MISSED_SCHEDULE_DELAY', 5); | |
@define('MISSED_SCHEDULE_OPTION', 'wp_missed_schedule'); | |
function fix_missed_schedule() { | |
global $wpdb; |