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
<?xml version="1.0"?> | |
<!-- license --> | |
<config> | |
<global> | |
<!-- global config --> | |
</global> | |
<frontend> | |
<events> | |
<!-- disble logs --> | |
<controller_action_predispatch> |
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
<?xml version="1.0"?> | |
<layout version="0.1.0"> | |
<checkout_onepage_cadastro> | |
<reference name="root"> | |
<action method="setTemplate"><template>MOIP/onestepcheckout/page/1column.phtml</template></action> | |
</reference> | |
<reference name="head"> | |
<remove name="addthis_smartlayers" /> | |
<action method="addJs" ifconfig="moipall/config/enable_jquery"><script>MOIP/core/jquery.js</script></action> |
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 | |
/** | |
* @see Mage_Customer_Block_Widget_Dob | |
*/ | |
?> | |
<label class="dob-label" for="<?php echo $this->getFieldId('month')?>"<?php if ($this->isRequired()) { echo ' class="required"'; } ?>><?php echo $this->__('Birthday') ?></label> | |
<div class="customer-dob input-box"> | |
<div class="dob-year"> | |
<?php $currentYear = intval(date("Y")); ?> | |
<select name="<?php echo $this->getFieldName('year'); ?>" id="<?php echo $this->getFieldId('year'); ?>"> |
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
{ | |
"date": "", | |
"env": "", | |
"event": "PAYMENT.AUTHORIZED", | |
"resource": { | |
"payment": { | |
"_links": { | |
"order": { | |
"href": "https://api.moip.com.br/v2/orders/ORD-VCO0NJCKLSN1", | |
"title": "ORD-KYSUGPF8YWFF" |
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
/* ============================================================================= */ | |
/* VERSAO 1.9.x DO MAGENTO - ATUALIZACAO DE DADOS */ | |
/* ============================================================================= */ | |
SET NAMES 'utf8'; | |
/* admin_role */ | |
UPDATE `admin_role` SET `role_name`='Administradores' WHERE `role_name`='Administrators'; | |
/* api2_acl_role */ |
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
<action method="removeItem"><type>js_css</type><name>smartwave/bootstrap/css/bootstrap.optimized.min.css</name></action> | |
<action method="removeItem"><type>skin_css</type><name>css/local.css</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-1.11.3.min.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-migrate-1.2.1.min.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-noconflict.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/fancybox/js/jquery.fancybox.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/ajaxcart/ajaxaddto.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/etalage/jquery.etalage.min.js</name></action> | |
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/etalage/jquery.zoom.min.js</name></action> | |
<action method="removeItem"><type>js</type><nam |
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 | |
$header = <<<'EOF' | |
Esse arquivo faz parte de <Empresa/Projeto> | |
(c) Nome Autor <e-mail> | |
Lorem ipsum ... | |
EOF; |
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
sudo apt-get update | |
sudo apt-get install apt-transport-https openjdk-8-jre-headless | |
sudo wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
sudo echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-6.x.list | |
sudo apt-get update && sudo apt-get install elasticsearch | |
sudo /bin/systemctl daemon-reload | |
sudo /bin/systemctl enable elasticsearch.service | |
sudo systemctl start elasticsearch.service | |
sudo ls -la /var/log/elasticsearch/ |
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 | |
/******************************************************************** | |
File name: rest_test.php | |
Description: | |
A PHP test script that calls the Coupon AutoGen extension | |
to Magento's REST API. | |
The Coupon AutoGen API takes: | |
-- the rule ID of the "Generate Coupons" rule to execute | |
-- the number of coupon codes to generate | |
-- the length of each coupon code |
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
#### by MageHost.pro #### | |
# execute in Magento 2 root: | |
find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_|/dotmailer).*' | xargs grep --color -n -e 'cacheable="false"' |