Skip to content

Instantly share code, notes, and snippets.

View tedslittlerobot's full-sized avatar

Stef Horner tedslittlerobot

View GitHub Profile
# Install the hostsupdater:
# vagrant plugin install vagrant-hostsupdater
# Place the following code into $HOMESTEAD/scripts/homestead.rb
# I placed it somewhere near end of the file
# Add the aliases to the host machine
if Vagrant.has_plugin?('vagrant-hostsupdater')
aliases = Array.new
settings["sites"].each do |site|
@jlem
jlem / ApplicationsServiceProvider.php
Created August 21, 2015 14:35
Laravel 5 App Skeleton
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Request;
use View;
use App;
abstract class ApplicationsServiceProvider extends ServiceProvider
{
public function register()
@ryanjbonnell
ryanjbonnell / gist:4611642
Last active November 21, 2018 06:48
Install lynx on Mac OS X 10.8 "Mountain Lion"
cd /usr/local/src
curl -O http://lynx.isc.org/lynx2.8.7/lynx2.8.7.tar.gz
tar -xzvf lynx2.8.7.tar.gz
cd lynx2-8-7
./configure --mandir=/usr/share/man
make
sudo make install