This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCjwYMG6aXe6qSEZR+MAP/IxkhV0iFyZdtAMYbp23XsIbf/gatLnlafqmuORT0SxRVwAr1oI920n9F1iL06WTmEnVF3ncC8ISPEPrPzLzMjbRQhF6EjW9ypxNcjW/kEqzz6ci6fY6o0ds/+0i12IJfxFaWVgEGm5Osyd3u3810GW9coaWDoscDjEHhhVJDGbypXRyc7w7ZWPthFeRykUtSHG4WchQ6AwRZwo1ajfWPedkSQA4CcOEhqxiQN/Lv1aMvI14JH83HmkKv/lIM6KLbteJusywJSfX9H5Y5rkcbxbULgGH5hy0fiKeBojXJ0WPhp7AT6C23rEBI6deBEsBcMHZaw1pcTHrOgOkUrpNQwvMgZy6LmqgnsJsmm25TmvNMvkp8I4cN1n/bAwqTj7NNypic5Z9iqMGji2dE9cA90x/NZloLh7/N+LK6LrkO48jNmve/sV9qz+klv+qDQpCD7Uf3nWo0Qj+cACJ4xmpOb4f/7ctfO5oIe/y/dYevhV3c4ll6sraonX+LklV4Dol9/SpaEABAhybDvYTBbw7+MgD+eBT7bjzTKi16mWVh1T9JKUGnsLsVWmkwxIyjqt19XRHhbBLzArHgg/rvqP1g6cQIVSa7p26S5VipWdNg8NVOsPWOHlMRBxscOhCyBgws/flkkRmMOpoWsGBKVBRZJHQ== [email protected] |
This file contains hidden or 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
require 'formula' | |
class Varnish3 <Formula | |
url 'http://repo.varnish-cache.org/source/varnish-3.0.2.tar.gz' | |
homepage 'http://www.varnish-cache.org/' | |
sha256 '973f60625e9690e0989e1bbc73c37ea53fc6291b8f7b03d617b76f8084a4a243' | |
depends_on 'pkg-config' => :build | |
depends_on 'pcre' => :build |
This file contains hidden or 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 | |
class Customer_RefundPartialCreditmemoWithTax_Model_Order_Creditmemo_Total_Tax | |
extends Mage_Sales_Model_Order_Creditmemo_Total_Tax | |
{ | |
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo) | |
{ | |
$shippingTaxAmount = 0; | |
$baseShippingTaxAmount = 0; | |
$totalHiddenTax = 0; |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
From 9577ab235d9ad56b0020bc0a77ffb6b11cc28f3b Mon Sep 17 00:00:00 2001 | |
From: Fabian Blechschmidt <[email protected]> | |
Date: Mon, 15 Feb 2016 22:44:12 +0100 | |
Subject: [PATCH] fix broken methods and templates | |
--- | |
app/code/local/MST/Fancycheckout/controllers/LoadController.php | 6 ++++-- | |
app/code/local/MST/Fancycheckout/controllers/SaveController.php | 5 ++--- | |
.../fancycheckout/checkout/billing/billing_shipping_address.phtml | 5 +++-- | |
.../fancycheckout/checkout/review/review_info/product_info.phtml | 5 +++-- |
This file contains hidden or 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
class PatchDownloader | |
{ | |
/** | |
* @var string | |
*/ | |
private $infoUrl = "https://MAGEID:[email protected]/products/downloads/info/filter/version/"; | |
/** | |
* @var string | |
*/ | |
private $downloadUrl = "https://MAGEID:[email protected]/products/downloads/file/"; |
This file contains hidden or 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 | |
class Varien_Image_Adapter_Gd2 extends Varien_Image_Adapter_Abstract | |
{ | |
protected $_requiredExtensions = Array("gd"); | |
private static $_callbacks = array( | |
IMAGETYPE_GIF => array('output' => 'imagegif', 'create' => 'imagecreatefromgif'), | |
IMAGETYPE_JPEG => array('output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'), | |
IMAGETYPE_PNG => array('output' => 'imagepng', 'create' => 'imagecreatefrompng'), | |
IMAGETYPE_XBM => array('output' => 'imagexbm', 'create' => 'imagecreatefromxbm'), |
This file contains hidden or 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 | |
// app/code/local/Ikonoshirt/Shared/Model/Adminhtml/ | |
class Ikonoshirt_Shared_Model_Adminhtml_ConfigAsXml | |
extends Mage_Core_Model_Config_Data | |
{ | |
protected function _afterLoad() | |
{ | |
/** @var $xml Mage_Core_Model_Config */ |
This file contains hidden or 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
# Put this file into puphpet/files/exec-once/install-ioncube so it only executed once | |
# it loads ioncube, unzips it, move and add it to php.ini | |
echo "Loading ioncube" | |
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz | |
echo "Unzipping ioncube" | |
tar xvfz ioncube_loaders_lin_x86-64.tar.gz | |
echo "Move ioncube to usr/local" | |
mv ioncube /usr/local | |
echo "Add ioncube to php.ini" |
This file contains hidden or 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 | |
namespace MyNamespaceForFunctions; | |
use FPDF; | |
require_once 'fpdf.php'; | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
function utf8_decode($string) | |
{ |