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
#!/bin/bash | |
#Owner + Group dir | |
user="cdn01" | |
# Directory for the backup | |
dir1="/home/magento/domains/magento-speed.com/public_html/media" | |
dir2="/home/magento/domains/magento-speed.com/public_html/js" | |
dir3="/home/magento/domains/magento-speed.com/public_html/skin" |
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
https://www.section.io/magento/magento2/ | |
https://marketplace.magento.com/sectionio-metrics.html | |
############################################################ | |
Make sure u got a running Magento 2 site. | |
############################################################ |
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
Linux: | |
wget -qO- https://get.docker.com/ | sh | |
curl -L "https://github.com/docker/compose/releases/download/1.13.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
############################################################ |
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
wget -qO- https://get.docker.com/ | sh | |
curl -L "https://github.com/docker/compose/releases/download/1.13.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<script> | |
$(function() { | |
var xhr = $.get("http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC"); | |
xhr.done(function(data) { | |
$('.gif-bg').css('background-image', 'url(' + data.data.image_url + ')'); | |
}); |
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
<frontend> | |
<events> | |
<!-- logs --> | |
<controller_action_predispatch> | |
<observers><log><type>disabled</type></log></observers> | |
</controller_action_predispatch> | |
<controller_action_postdispatch> | |
<observers><log><type>disabled</type></log></observers> | |
</controller_action_postdispatch> | |
<customer_login> |
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
Verifying that +raybogman is my blockchain ID. https://onename.com/raybogman |
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 | |
/* | |
+----------------------------------------------------------------------+ | |
| PHP Version 5 | | |
+----------------------------------------------------------------------+ | |
| Copyright (c) 1997-2004 The PHP Group | | |
+----------------------------------------------------------------------+ | |
| This source file is subject to version 3.0 of the PHP license, | | |
| that is bundled with this package in the file LICENSE, and is | | |
| available through the world-wide-web at the following url: | |
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
#!/bin/bash | |
# Patch apllying tool template | |
# | |
# THIS PATCH IS A TEMP FIX FOR THE SUPEE-6482 RELEASE [CURRENT PATCH WAS NOT UP TO DATE, MISSING DATA] | |
# | |
# DO NOT CHANGE ANY LINE IN THIS FILE. | |
# 1. Check required system tools | |
_check_installed_tools() { | |
local missed="" |
This file has been truncated, but you can view the full file.
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
diff -ruN app/code/core/Mage/Api/Model/Server/Adapter/Soap.php app/code/core/Mage/Api/Model/Server/Adapter/Soap.php | |
--- app/code/core/Mage/Api/Model/Server/Adapter/Soap.php 2015-06-26 10:53:38.000000000 +0200 | |
+++ app/code/core/Mage/Api/Model/Server/Adapter/Soap.php 2015-08-03 12:35:02.000000000 +0200 | |
@@ -233,9 +233,9 @@ | |
: $urlModel->getUrl('*/*/*'); | |
if ( $withAuth ) { | |
- $phpAuthUser = $this->getController()->getRequest()->getServer('PHP_AUTH_USER', false); | |
- $phpAuthPw = $this->getController()->getRequest()->getServer('PHP_AUTH_PW', false); | |
- $scheme = $this->getController()->getRequest()->getScheme(); |
NewerOlder