Skip to content

Instantly share code, notes, and snippets.

View adamelso's full-sized avatar
🚘

Adam Elsodaney adamelso

🚘
View GitHub Profile
@adamelso
adamelso / Headers.php
Created March 7, 2014 16:15
Http\Headers
<?php
namespace ArchFizz\Http;
final class Headers
{
const HTTP_ACCEPT = 'Accept';
const HTTP_ACCEPT_CHARSET = 'Accept-Charset';
const HTTP_ACCEPT_ENCODING = 'Accept-Encoding';
const HTTP_ACCEPT_LANGUAGE = 'Accept-Language';
@adamelso
adamelso / install_all_the_things.sh
Last active August 29, 2015 13:56
Mac Web Developer Setup
#!/bin/bash
###
### One assumes OS X Mavericks (10.9) is installed.
###
### By the way, don't rely too heavily on this Gist, this was
### written mostly for myself. For me, it was a way of note-taking.
### However, eventually I'll have this complete and working.
### to be used by others.
###
@adamelso
adamelso / Vagrantfile
Last active August 29, 2015 13:55
Facebook HHVM, Vagrant, Ubuntu 13.10, Symfony2
# -*- mode: ruby -*-
# vi: set ft=ruby :
# ./Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "saucy64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/saucy/current/saucy-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :forwarded_port, guest: 80, host: 8090