Skip to content

Instantly share code, notes, and snippets.

Making developers happy.

Taylor Otwell taylorotwell

Making developers happy.
View GitHub Profile
View gist:52be69a6398ae493a7a8754a6da9f69e
Verifying my Blockstack ID is secured with the address 1Jhv6ajrZzJZSBTT2QWwXuGc1dcYrHM1K3
alias weather='curl -s | sed -n "1,7p"'
taylorotwell / alert.php
Created Nov 11, 2016
Components And Slots
View alert.php
<div class="alert">
{{ $slot }}
View gist:68f614deb9538f2e30108c2698266fda
| Application Routes
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
View Forge
Forge Ubuntu 16.04 servers are running Apt updates painfully slow in some European and Asian regions.
For example, 1GB servers in the Linode Singapore region take almost one hour to provision and many things
time out completely because Apt seems to be running so slow. This problem did not seem to be present on
Ubuntu 14.04 and does not seem to affect American regions.
Reward: SOLVED!
View rewrite-links.php
taylorotwell / tenant-middleware
Created Dec 1, 2015
Magical tenant middleware thing
View tenant-middleware
namespace App\Http\Middleware;
use Closure;
use Illuminate\Auth\Access\AuthorizationException;
class VerifyTenants
taylorotwell /
Created Sep 23, 2015
Global Homestead Without Composer
alias homestead='function __homestead() { (cd ~/Documents/Code/Homestead && vagrant $*); unset -f __homestead; }; __homestead'
# Usage
homestead up
homestead halt
# etc...
taylorotwell / gist:db67dd369b00022850b4
Last active Oct 19, 2020
Mac Yosemite Dev Machine Setup
View gist:db67dd369b00022850b4


  • Install XCode from App Store.
  • Open XCode and agree to terms and conditions.

XCode CLI Tools

  • xcode-select --install

Install Homebrew

You can’t perform that action at this time.