Skip to content

Instantly share code, notes, and snippets.

@stevepop
stevepop / windows_ubuntu_dev.sh
Created September 24, 2012 12:51
Setup of Dev Environment for Ubuntu VM on Windows host
#!/bin/bash
cat "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
apt-get install -y python-software-properties
add-apt-repository ppa:nginx/stable -y
add-apt-repository ppa:ondrej/php5 -y
apt-get update
@stevepop
stevepop / nginx_config
Created September 20, 2012 12:14
Nginx Vhost Config For Frameworks
Since I am using Nginx as a web server, I have included the virtual host configuration below as it took me quite a while to understand Nginx setup and how it handles rewrite rules.
Virtual Site config for the Silex Tutorial
server {
listen 80;
server_name silextut.local;
root /mnt/hostnfs/silextut/web;
index index.php;
@stevepop
stevepop / README.md
Last active October 10, 2015 19:17 — forked from sandfox/README.md
Launch scripts for various servers

Run this using the following:

curl -L https://raw.github.com/gist/3737938/{FILENAME}.sh | sudo bash -s