First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network :private_network, ip: "192.168.33.21" |
<VirtualHost *:80> | |
ServerName dev.example.com | |
DocumentRoot "/var/www/example/public_html" | |
<Directory "/var/www/example/public_html"> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog "logs/mysite.local-error_log" | |
</VirtualHost> |
Server { | |
Port = 80 | |
SourceRoot = /Users/dan/hhvm-test/public/ | |
} | |
VirtualHost { | |
* { | |
Pattern = .* | |
RewriteRules { | |
* { |
This gist assumes:
This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config
.
<?php | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* | |
* Updated for Laravel 4.0.8 (2013-10-07) | |
* Generated with https://github.com/barryvdh/laravel-ide-helper | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
*/ | |
exit('Only to be used as an helper for your IDE'); |
sudo lsof -i -P | grep "9000" |