Skip to content

Instantly share code, notes, and snippets.

Cristian Nicolescu firewizard

Block or report user

Report or block firewizard

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View touch.js
jQuery Touch Gestures ported from QUOjs
Version 1.1
-- @add singleTap event
-- @fix doubleTap event
-- @fix hold event
firewizard /
Created Sep 16, 2015
get response codes for a list of urls
while read LINE;
do curl -L -o /dev/null --silent --head --write-out '%{http_code}' "$LINE";
echo " $LINE";
done < $1
View Zend_Cache_Backend_Memcached.php
* Zend Framework
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
firewizard / Mage_Adminhtml_Controller_Action_Acl.php
Last active Nov 9, 2015
Improved controller action class handling menus acl's for Magento stores with SUPEE-6285 applied
View Mage_Adminhtml_Controller_Action_Acl.php
class Mage_Adminhtml_Controller_Action_Acl extends Mage_Adminhtml_Controller_Action
* If an action is not found in the menu node the mapping can be manually set in this array.
* It currently accepts 3 types of values, the key is always the action to be executed:
* 1 - true - allow everyone to perform the action
* 2 - existing "action name" with menu & acl entries
* 3 - existing acl resource, using the following template:
You can’t perform that action at this time.