Install from homebrew
brew install percona-server
unset TMPDIR
mysqld --initialize --datadir=/usr/local/var/mysql --user= --port=3307 --general-log-file=/var/log/percona/percona-error.log
{ | |
"id": 562, | |
"parent_id": 561, | |
"status": "processing", | |
"currency": "BRL", | |
"version": "9.0.0", | |
"prices_include_tax": false, | |
"date_created": "2024-07-03T02:46:06", | |
"date_modified": "2024-07-03T02:46:12", | |
"discount_total": "0.00", |
/*region extending cards and card types from jqueryPayment to support new types*/ | |
const typesPagBank = [ | |
{ | |
title: 'MasterCard', | |
type: 'mastercard', | |
pattern: '^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$', | |
gaps: [4, 8, 12], | |
lengths: [16], | |
code: { | |
name: 'CVC', |
{ | |
"transaction_id":"F3BAF8D0-5E50-4DF6-A2BF-F71BFFD1CA7C", | |
"sender_hash":"53dea26365b88a7204b99b90ef091688f7c3bbdf1583dc8a680dc779b71997f8", | |
"credit_card_token":"e2ae0986e8ed49dfb2c0aa4d3b94ea6b", | |
"credit_card_owner":"Ricardo Martins", | |
"rm_pagseguro_cc_cpf":"01234567890", | |
"credit_card_owner_birthdate":"10\/07\/1990", | |
"installment_quantity":2, | |
"installment_value":"5.27", | |
"method_title":"Cart\u00e3o de Cr\u00e9dito via PagSeguro UOL", |
<?xml version="1.0"?> | |
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd"> | |
<policies> | |
<policy id="script-src"> | |
<values> | |
<value id="pagseguro-static" type="host">https://stc.pagseguro.uol.com.br</value> | |
<value id="pagseguro-static-sandbox" type="host">https://sandbox.stc.pagseguro.uol.com.br</value> | |
</values> | |
</policy> | |
<policy id="frame-src"> |
<?php | |
/** | |
* PagSeguro Transparente Magento | |
* Helper Class - responsible for helping on gathering config information | |
* | |
* @category RicardoMartins | |
* @package RicardoMartins_PagSeguro | |
* @author Ricardo Martins | |
* @copyright Copyright (c) 2015 Ricardo Martins (http://r-martins.github.io/PagSeguro-Magento-Transparente/) | |
* @license https://opensource.org/licenses/MIT MIT License |
iP(hone|od)|(a|A)ndroid.*(m|M)(obile|ini)|(a|A)ndroid 3|BlackBerry|IEMobile|Windows Mobile|Windows Phone|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune|Googlebot-Mobile |
http://www.prowebdev.us/2012/05/amazon-ec2-linux-micro-swap-space.html |
for file in `find . -name "*.xml"`; do xmllint --noout $file; done | |
fará uma busca por todos os arquivos xml recursivamente e mostrará se houver algum com erro de sintaxe, tags nao fechadas, etc |