Skip to content

Instantly share code, notes, and snippets.

@nanobox-io
nanobox-io / Http.php
Created October 5, 2012 18:02
Magento Duplicate Header Fix - isset check
<?php
/**
*
* Place this file at app/code/local/Mage/Core/Controller/Response/Http.php
*
*/
/**
@nanobox-io
nanobox-io / Http.php
Last active November 1, 2016 13:22
Magento Duplicate Header Fix
<?php
/**
*
* Place this file at app/code/local/Mage/Core/Controller/Response/Http.php
*
*/
/**
* Magento
@nanobox-io
nanobox-io / Boxfile
Created February 14, 2012 22:54
Quick Install Wordpress Boxfile
web1:
name: wp-web
shared_writable_dirs:
- wp-content/uploads/
after_build:
- "mv pagoda/wp-config.php wp-config.php"
db1:
name: wp-db
@nanobox-io
nanobox-io / gist:1756086
Last active September 30, 2015 08:58
Deploy Hook Available Executables
awk
bunzip2
bzcat
bzip2
cat
chown
cp
curl
cut
date
@nanobox-io
nanobox-io / gist:916666
Created April 12, 2011 23:21
PHP Extensions available for PHP 5.3.5
# PHP Extensions available for PHP 5.3.X
php_extensions:
- amqp
- apc
- apm
- bcmath
- bcompiler
- bz2
- calendar
- ctype
@nanobox-io
nanobox-io / gist:916665
Created April 12, 2011 23:21
PHP Extensions available for PHP 5.3.6
# PHP Extensions available for PHP 5.3.6
- apc
- bcmath
- bz2
- calendar
- ctype
- curl
- dba
- dom
- eaccelerator
@nanobox-io
nanobox-io / gist:916651
Created April 12, 2011 23:11
PHP Extensions available for PHP 5.2
# PHP Extensions available for PHP 5.2.17
php_extensions :
- amqp
- apc
- apd
- apm
- bbcode
- bcmath
- bcompiler
- big_int
general:
writable_directories: [ ]
php:
version: 5.3.5
extensions: []
error_reporting: E_ALL
display_errors: Off
short_open_tag: On
default_mimetype: text/html
@nanobox-io
nanobox-io / gist:812956
Created February 6, 2011 00:18
Symfony Config .box File
general:
writable_directories: ['app/cache', 'app/logs']
web:
document_root: 'web'
default_gateway: 'app.php'