I hereby claim:
- I am philwinkle on github.
- I am philwinkle (https://keybase.io/philwinkle) on keybase.
- I have a public key whose fingerprint is 60A1 B554 D364 2133 72FA E6E2 2820 5D5D 3273 2182
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php | |
| index d567b6e..9a98440 100644 | |
| --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php | |
| +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php | |
| @@ -119,8 +119,8 @@ class Mage_Usa_Model_Shipping_Carrier_Fedex | |
| { | |
| $client = new SoapClient($wsdl, array('trace' => $trace)); | |
| $client->__setLocation($this->getConfigFlag('sandbox_mode') | |
| - ? 'https://wsbeta.fedex.com:443/web-services/rate' | |
| - : 'https://ws.fedex.com:443/web-services/rate' |
| // Drop this javascript in the page where your grid is - maybe using a .phtml | |
| // in before_body_end or whatever. | |
| $$(".admin-autoemail-adminhtml-rule-index td:contains('Inactive')").each(function(status) { | |
| $(status).up().select('td, a').invoke('setStyle',{ color: '#aaa' }); | |
| }); |
| javascript:(function(){var iframe='<iframe width="640" height="360" src="//www.youtube.com/embed/zDKO6XYXioc?feature=player_detailpage&autoplay=1" frameborder="0" allowfullscreen style="position: fixed; top: 0; left: 0; z-index: 999;"></iframe>';var bodyElement = document.body;bodyElement.innerHTML = iframe + bodyElement.innerHTML;})(); |
| <?php | |
| namespace Philwinkle\Module\Helper; | |
| class Data extends \Magento\Core\Helper\Data | |
| { | |
| public function l33t($string) | |
| { | |
| return strtr($string, 'leto', '1370'); | |
| } |
| <?xml version="1.0"?> | |
| <config> | |
| <sections> | |
| <system> | |
| <groups> | |
| <backup> | |
| <fields> | |
| <maintenance> | |
| <comment>supercalifrag</comment> | |
| </maintenance> |
| <?php | |
| namespace Philwinkle\Module2\Model; | |
| class Plugin | |
| { | |
| public function afterGetTitle($value) | |
| { | |
| return '==' . $value . '=='; | |
| } |
| <?php | |
| require('app/Mage.php'); | |
| Mage::app(); | |
| $model = Mage::getModel('catalog/fakeproduct'); | |
| var_dump($model); | |
| //=>bool(false) | |
| $helper = Mage::helper('fakemodule'); |
| <?php | |
| $ids = array(1,2,3,4); | |
| //DON'T DO THIS | |
| foreach($ids as $id){ | |
| Mage::getModel('catalog/product')->load($id); | |
| } |
| <?php | |
| #file: closures.php | |
| require('app/Mage.php'); | |
| Mage::app(); | |
| //testing Mage::registry closure support | |
| Mage::register('testing',function($v){ |