Skip to content

Instantly share code, notes, and snippets.

Avatar

Charles Astwood charlesastwood

View GitHub Profile
View 3d Secure UK Exclusion List for Google Analytics
arcot.com
clicksafe.lloydstsb.com
paypal.com
paypal.co.uk
secure.barclaycard.co.uk
securesuite.co.uk
verifiedbyvisa.barclays.co.uk
lloydstsb.com
View excel-missing-links.md
@charlesastwood
charlesastwood / script.sh
Last active Nov 9, 2016
Install Symfony on AWS
View script.sh
sudo yum update
sudo yum install httpd24 php70 php70-cli php70-intl php70-gd php70-zip php70-xml php70-mysqlnd php70-mbstring php70-dom php70-soap php70-memcached memcached php70-fpm php70-opcache php70-mcrypt git
sudo service httpd start
sudo chkconfig httpd on
sudo groupadd www
sudo usermod -a -G www ec2-user
exit
sudo chown -R root:www /var/www
sudo chmod 2775 /var/www
@charlesastwood
charlesastwood / Vagrantfile
Created Jul 1, 2016
Vagrantfile for Ubuntu Symfony Setup
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@charlesastwood
charlesastwood / Vagrant.bootstrap.sh
Last active Jul 1, 2016
Vagrant Ubuntu Setup for Symfony
View Vagrant.bootstrap.sh
#!/usr/bin/env bash
# ---------------------------------------
# Virtual Machine Setup
# ---------------------------------------
# Adding multiverse sources.
cat > /etc/apt/sources.list.d/multiverse.list << EOF
deb http://archive.ubuntu.com/ubuntu trusty multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse