#GIT
- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
<?xml version="1.0"?> | |
<!-- | |
/** | |
* Copyright © 2016 Magento. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
--> | |
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<!-- Remove unwanted account navigation links --> |
Combined PR's into optimized VCL file: | |
1. https://github.com/magento/magento2/pull/29360 | |
2. https://github.com/magento/magento2/pull/28944 | |
3. https://github.com/magento/magento2/pull/28894 | |
4. https://github.com/magento/magento2/pull/35228 | |
5. https://github.com/magento/magento2/pull/36524 | |
6. https://github.com/magento/magento2/pull/34323 | |
@package magento/module-page-cache | |
@version 100.4.5 |
<?php | |
namespace Module\Vendor\Plugin; | |
class CsrfValidatorSkip | |
{ | |
/** | |
* @param \Magento\Framework\App\Request\CsrfValidator $subject | |
* @param \Closure $proceed | |
* @param \Magento\Framework\App\RequestInterface $request | |
* @param \Magento\Framework\App\ActionInterface $action |
#Put on your .bashrc or .bash_profile | |
function parse_git_branch () { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
NO_COLOR="\[\033[0m\]" |
#!/bin/bash | |
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/{$ZONE_ID}/purge_cache" \ | |
-H "X-Auth-Email: {$EMAIL}" \ | |
-H "X-Auth-Key: {$API_KEY}" \ | |
-H "Content-Type: application/json" \ | |
--data '{"purge_everything":true}' |
# Metadata | |
/.buildpath | |
/.cache | |
/.metadata | |
/.project | |
/.settings | |
atlassian* | |
/nbproject | |
/sitemap | |
/.idea |
# @author MagedIn Developers Team <[email protected]> | |
#--------------------------# | |
# Global Files Types # | |
#--------------------------# | |
.svn* | |
*.bkp | |
*.old | |
js_bkp/ | |
js.old/ |
#!/bin/bash | |
# Shell script to backup MySQL database | |
# Set these variables | |
MyUSER="" # DB_USERNAME | |
MyPASS="" # DB_PASSWORD | |
MyHOST="" # DB_HOSTNAME | |
# Backup Dest directory | |
DEST="" # /home/username/backups/DB |
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 |