Skip to content

Instantly share code, notes, and snippets.

View austenc's full-sized avatar
:shipit:
Ship it!

Austen Cameron austenc

:shipit:
Ship it!
View GitHub Profile
@austenc
austenc / Gruntfile.js
Last active August 29, 2015 14:01
Gruntfile + Vagrant + PHPunit testing using grunt-githooks and grunt-phpunit
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
githooks: {
all: {
'pre-commit': {
command: 'vagrant ssh',
taskNames: '--command',
args: '"cd /vagrant; grunt phpunit"' // add other tasks here
@austenc
austenc / composer.json-laravel
Created April 28, 2014 19:40
composer.json including patricktalmadge/bootstrapper, laravelbook/ardent, zizaco/confide and zizaco/entrust
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.1.*",
"zizaco/confide": "dev-master",
"zizaco/entrust": "dev-master",
"laravelbook/ardent": "dev-master",
@austenc
austenc / provision-laravel
Last active August 29, 2015 14:00
provisions Vagrantfile-laravel to have a nice usable setup
#!/usr/bin/env bash
## RENAME THIS FILE TO provision.sh TO USE WITH OTHER VAGRANTFILES
# update all packages
apt-get update
# enable add-apt-repository command
sudo apt-get install -y python-software-properties
@austenc
austenc / Vagrantfile-laravel
Last active September 26, 2019 04:56
Vagrantfile for laravel / php app
# Copy and rename this file as just 'Vagrantfile'
# -*- 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|
# All Vagrant configuration is done here. The most common configuration