Skip to content

Instantly share code, notes, and snippets.

View standa's full-sized avatar

Standa standa

  • Standa
  • Prague, Czech Republic, Europe
View GitHub Profile
@standa
standa / SupportDesk_FixAcl.php
Last active May 18, 2016 23:57 — forked from raybogman/SupportDesk_FixAcl.php
SupportDesk_FixAcl
<?php
/**
* Updated behaviour:
*
* - search also /controllers and /Controller folders
* - disregard adminhtml.xml setup, write 'return true' always - or comment it back in if you need it
* - write more verbose logs
* - only update controllers extending Mage_Adminhtml_Controller_Action
*
*
@standa
standa / nginx.conf
Created August 21, 2014 09:15 — forked from leon/nginx.conf
server {
listen 80;
server_name localhost;
root /home/website/web;
rewrite ^/app\.php/?(.*)$ /$1 permanent;
try_files $uri @rewriteapp;
location @rewriteapp {
@standa
standa / cleanup.sql
Last active October 1, 2015 11:09 — forked from vojtagrec/cleanup.sql
Magento multistore migration sql command
UPDATE customer_entity
SET email=CONCAT(OLD_PASSWORD(email), '@example.com')
WHERE email NOT LIKE '%aardvark%' AND email NOT LIKE '%keyup%' AND email NOT LIKE '%grec.cz';
UPDATE sales_flat_order_address
SET email=CONCAT(OLD_PASSWORD(email), '@example.com');
UPDATE sales_flat_order
SET customer_email=CONCAT(OLD_PASSWORD(customer_email), '@example.com');
UPDATE core_config_data

How to successfully install vendors of Symfony2 on Dreamhost Shared

Sometimes, simply running php composer install or php composer update will throw an error at building bootstrap.php time. To resolve this issue, proceed like this:

First, run:

php composer update --no-scripts