Skip to content

Instantly share code, notes, and snippets.

View flybot's full-sized avatar

FlyBot flybot

View GitHub Profile
@flybot
flybot / gist:966cd95e7a787c01860f
Created May 5, 2015 17:59
Set up Automatic Virtual Hosts with Nginx and Apache
http://www.sitepoint.com/set-automatic-virtual-hosts-nginx-apache/
http://www.leaseweblabs.com/2013/08/wildcard-dns-ubuntu-hosts-file-using-dnsmasq/
@flybot
flybot / gist:ea4e82ea7fbaa53f00f9
Created October 9, 2014 06:20
Delete commits from a branch in Git
git reset --hard <sha1-commit-id>
git push origin HEAD --force

#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for live environment!

I hope it's a help also for you!

#Installation stack