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
[{"code":"Execute","message":"financial information of person (Parameter 'anotherRepresentedName')","detail":" at MPACKAGE.LibValide.Utilities.CheckUtil.NotEmpty(String value, String paramName, String message)\n at AGCODE.LibDomain.Validations.PessoaValidation.Validate(FinancialInfo model)\n at AGCODE.LibDomain.Validations.PessoaValidation.Validate(Root model)\n at AGAPI.Domain.DomainServices.PessoaDomainService.UpSert(Root request) in /usr/agapi/agapi-back-test/AGAPI.Domain/DomainServices/nsPedido/PessoaDomainService.cs:line 73\n at AGAPI.Domain.DomainServices.PessoaDomainService.Update(Root request) in /usr/agapi/agapi-back-test/AGAPI.Domain/DomainServices/nsPedido/PessoaDomainService.cs:line 62\n at APAPI.Domain.CommandsHandler.PessoaCommandHandler.Handle(UpdatePessoaCommand request, CancellationToken cancellationToken) in /usr/agapi/agapi-back-test/AGAPI.Domain/CommandsHandler/nsPedido/PessoaCommandHandler.cs:line 57\n at MediatR.Pipeline.RequestExceptionProcessorBehavior`2.Handle(TRequest r |
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
{ | |
"vendor": "altogirorc", | |
"name": "minimumtheme", | |
"version": "0.1.1", | |
"builders": { | |
"styles": "2.x", | |
"store": "0.x", | |
"docs": "0.x" | |
}, | |
"scripts": { |
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
import { useEffect } from 'react'; | |
import { FormEvent, useState } from 'react'; | |
import { useParams } from 'react-router-dom' | |
import logoImg from '../assets/images/logo.svg'; | |
import { Button } from '../components/Button'; | |
import { RoomCode } from '../components/RoomCode'; | |
import { useAuth } from '../hooks/useAuth'; | |
import { database } from '../services/firebase'; |
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
var pai = Array.from(document.getElementsByClassName("list-products")); | |
console.log(pai); | |
console.log(pai[1].getAttribute("data-product-name")); |
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
// Verificando se existe alguma <img> no DOM que possua alguma palavra específica | |
// Lista as <img> | |
let oImg = document.getElementsByTagName('img') | |
// Caso a lista seja maior que 0 | |
if (oImg.length > 0) { | |
// Transforma oImg, que é um html colection, em um array | |
let arr = Array.from(oImg) | |
// Lista o html de cada item do array |
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 | |
/** | |
* @package CPT_Videos | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Custom Post Type Videos | |
Plugin URI: https://github.com/walterjaworski | |
Description: Cria na dashboard, o tipo de post Vídeo para funcionamento independente do tema. | |
Author: Walter Jaworski |
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
version: '2' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: somewordpress |
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
-- phpMyAdmin SQL Dump | |
-- version 4.8.5 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: localhost:8889 | |
-- Generation Time: Apr 01, 2019 at 02:21 PM | |
-- Server version: 5.7.25 | |
-- PHP Version: 7.3.1 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
function animate() { | |
var scrollTop = $(window).scrollTop(); | |
$('.animate').each(function(){ | |
var from = $(this).attr('data-from'); | |
var to = $(this).attr('data-to'); | |
var trigger = $(this).attr('data-trigger'); | |
if(isNumber(trigger)){ | |
var triggerNum = trigger; |
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
<script> | |
$(document).ajaxComplete(function( event, xhr, settings ) { | |
if(settings.url.indexOf('/Pedido/CalcularFretePorId') >-1) { | |
// Verifica se a opção "Frete Normal", do Pick-Up Store está selecionado | |
if($("input#tipoFreteNormal:checked").length > 0) { | |
//console.log('Frete Normal Checado'); | |
$('input#tipoFreteNormal').parent('span.fbits-opcoes-frete').addClass('selecionado'); | |
$('input#tipoFreteRetirarNaLoja').parent('span.fbits-opcoes-frete').removeClass('selecionado'); | |
$('div#opcoesFreteNormal').removeAttr('style').css('display','block'); | |
$('div#opcoesFreteRetirarNaLoja').removeAttr('style').css('display','none'); |
NewerOlder