Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
|# Script for placing sudoers.d files with syntax-checking|
|# Making a temporary file to contain the sudoers-changes to be pre-checked|
|TMP=$(mktemp -t vagrant_sudoers)|
|cat /etc/sudoers > $TMP|
|cat >> $TMP <<EOF|
|# Allow passwordless startup of Vagrant when using NFS.|
|Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/su root -c echo '*' >> /etc/exports|
|<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');|
|// Simple, single configuration file to override almost all paths and server settings. As used by @airways|
|// and @litzinger.|
|// Only check in the default as dist.config.php, set your version control system to ignore config.php so that|
|// local users and each instance (staging, production) can have their own settings.|
|// These config files are mainly meant to be used on a shared development server used by all developers,|
|// although it works almost as well for local development as well.|