The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
worker_processes 1; | |
error_log /var/log/nginx/error.log debug; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; |
server { | |
listen 443; | |
server_name example-ssl.dev; | |
root /var/www/example.dev; | |
access_log /var/log/nginx/access_example_SSL.log main; | |
ssl on; | |
ssl_certificate ssl/localhost.crt; | |
ssl_certificate_key ssl/localhost.key; |
server { | |
listen 80; | |
server_name example.dev; | |
root /var/www/example.dev/; | |
access_log /var/log/nginx/access_example.log main; | |
location / { | |
include /etc/nginx/conf.d/php-fpm; | |
} |
location ~ \.php$ { | |
try_files $uri = 404; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} |
# Brandon Tamm's Dev Machine Brewfile With Casks | |
tap josegonzalez/php | |
tap homebrew/dupes | |
install openssl | |
install php54-mcrypt | |
install josegonzalez/php/composer | |
install wget | |
install optipng | |
install redis | |
install mysql |
[Download] and install iTerm2: http://www.iterm2.com/downloads.html)
[Download] the iTerm color settings and choose Solarized Dark: https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
SET FOREIGN_KEY_CHECKS=0; | |
-- Customers | |
TRUNCATE `customer_address_entity`; | |
TRUNCATE `customer_address_entity_datetime`; | |
TRUNCATE `customer_address_entity_decimal`; | |
TRUNCATE `customer_address_entity_int`; | |
TRUNCATE `customer_address_entity_text`; | |
TRUNCATE `customer_address_entity_varchar`; | |
TRUNCATE `customer_entity`; |
SET FOREIGN_KEY_CHECKS=0; | |
TRUNCATE `customer_address_entity`; | |
TRUNCATE `customer_address_entity_datetime`; | |
TRUNCATE `customer_address_entity_decimal`; | |
TRUNCATE `customer_address_entity_int`; | |
TRUNCATE `customer_address_entity_text`; | |
TRUNCATE `customer_address_entity_varchar`; | |
TRUNCATE `customer_entity`; | |
TRUNCATE `customer_entity_datetime`; |