- create a slack webhook integration - copy the webhook url
- add following to top of ~/.ssh/config
Host *
PermitLocalCommand yes
- add
LocalCommand
to host entry
Host production.example.com
User ubuntu
location /robots.txt { return 200 "### Autogenerated robots.txt\n | |
# Sitemap | |
Sitemap: http://$http_host/sitemap.xml | |
# Basic Crawler setup. We allow for everything | |
User-agent: * | |
Allow: / | |
Crawl-delay: 10 | |
# Then we start disallowing stuff |
sudo su | |
mkdir -p /usr/local/share/n98-magerun/modules | |
cd /usr/local/share/n98-magerun/modules | |
git clone git@github.com:AOEpeople/mpmd.git mpmd | |
git clone git@github.com:aleron75/Webgriffe_Golive.git Golive | |
git clone git@github.com:kalenjordan/magerun-addons.git kalenjordan | |
git clone git@github.com:peterjaap/magerun-addons.git peterjaap | |
git clone git@github.com:yireo/magerun-addons.git yireo | |
git clone git@github.com:KamilBalwierz/sxmlsv.git sxmlsv | |
git clone https://github.com/fruitcakestudio/magerun-modman.git |
Host *
PermitLocalCommand yes
LocalCommand
to host entryHost production.example.com
User ubuntu
# Script for automatic setup of SOCKS proxy through SSH connection. | |
# It automatically teardowns SOCKS configuration before stopping. | |
# It's supposed to work on Mac OS X 10.6+ | |
# | |
# Author: Adam Stankiewicz (@sheerun) | |
# | |
[[ -n "$1" ]] || { echo "Usage: proxy user@example.com"; exit 1; } | |
# get service GUID and NAME (like Wi-Fi) to set SOCKS proxy |
server { | |
listen 80; | |
server_name ~^((?<subdomain>.*)\.)(?<domain>[^.]+)\.(?<tld>[^.]+)$; | |
return 301 $scheme://${domain}.${tld}; | |
} |
I hereby claim:
To claim this, I am signing this object:
; Enable Zend OPcache extension module | |
zend_extension=opcache.so | |
; Determines if Zend OPCache is enabled | |
opcache.enable=1 | |
; Determines if Zend OPCache is enabled for the CLI version of PHP | |
;opcache.enable_cli=0 | |
; The OPcache shared memory storage size. |
# Install dependencies | |
# | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
mkdir -p ~/sources/ && \ | |
# Compile against OpenSSL to enable NPN |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
# Automatic generation of the server-name. | |
# both subdomain.domain.tld and storeview.subdomain.domain.tld work. | |
server_name ~^(((?<storeview>.*)\.)?((?<subdomain>.*)\.)(?<domain>[^.]+)\.(?<tld>[^.]+))$; | |
# set root folder. both storeview.dev.magen.to and dev.magen.to resolve to /var/www/magen/htdocs | |
root /var/www/${subdomain}/htdocs; |
{ | |
"minimum-stability":"dev", | |
"require": { | |
"magento/ce": "1.9.1.0", | |
"aoepeople/composer-installers": "*" | |
}, | |
"repositories": [ | |
{ "type": "package", "package": { "name": "magento/ce", "version": "1.9.1.0", "type": "magento-source", |