I hereby claim:
- I am schumacherfm on github.
- I am cyrill (https://keybase.io/cyrill) on keybase.
- I have a public key whose fingerprint is 076A 9DCE D5C2 63EE 438B 2BF7 3D7A E252 C8C7 9677
To claim this, I am signing this object:
<?php | |
class Zookal_Customer_Model_Observer_Controller_OAuth | |
{ | |
/** | |
* @param string $url | |
* | |
* @return bool | |
*/ |
I hereby claim:
To claim this, I am signing this object:
<?php | |
class Zookal_Core_Helper_Data extends Mage_Core_Helper_Abstract | |
{ | |
private $_objectCache = []; | |
public function getCollectionSingleton($modelClass, array $collectionOptions = null, $cacheKey = null) | |
{ | |
$cacheKey = null === $cacheKey ? $modelClass . '/' . json_encode($collectionOptions) : (string)$cacheKey; | |
// $cacheKey = md5($cacheKey); if preferred |
HTTPS: Requests per second: 89.07 [#/sec] (mean)
HTTP: Requests per second: 4622.12 [#/sec] (mean)
Be aware: https://twitter.com/jessemcnelis/status/508456580384178178
#!/bin/bash | |
# Patch apllying tool template | |
# v0.1.2 | |
# (c) Copyright 2013. Magento Inc. | |
# | |
# DO NOT CHANGE ANY LINE IN THIS FILE. | |
# 1. Check required system tools | |
_check_installed_tools() { | |
local missed="" |
<?xml version="1.0"?> | |
<config> | |
<global> | |
<skip_process_modules_updates>1</skip_process_modules_updates> | |
</global> | |
</config> |
<pre><?php | |
// call via http://mage2.dev/DISpeedTest.php | |
// change settings in app/etc/config.php | |
require('app/autoload.php'); | |
Zend_Debug::dump(ini_get('memory_limit')); // should be > 1536MB | |
$start = microtime(true); |
/* | |
bolt 5000 277963 ns/op | |
redis 30000 48081 ns/op | |
pg 10000 149691 ns/op | |
Yes, the Bolt transactions could be batched. But so too could the PG transactions, | |
and the Redis work could be pipelined. And that isn't always a workable solution. | |
*/ | |
import ( |
<?php | |
/* | |
@SchumacherFM: The render() method is executed in each row | |
*/ | |
/** | |
* Product: Vendor_GridActions | |
* ID: | |
* File: app/code/local/Vendor/GridActions/Block/Adminhtml/Sales/Order/Grid/Widget/Renderer/Trackingnumber.php |