Skip to content

Instantly share code, notes, and snippets.

🏄
Making developers happy.

Taylor Otwell taylorotwell

🏄
Making developers happy.
Block or report user

Report or block taylorotwell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:52be69a6398ae493a7a8754a6da9f69e
Verifying my Blockstack ID is secured with the address 1Jhv6ajrZzJZSBTT2QWwXuGc1dcYrHM1K3 https://explorer.blockstack.org/address/1Jhv6ajrZzJZSBTT2QWwXuGc1dcYrHM1K3
View weather.sh
alias weather='curl -s wttr.in | sed -n "1,7p"'
@taylorotwell
taylorotwell / alert.php
Created Nov 11, 2016
Components And Slots
View alert.php
<div class="alert">
{{ $slot }}
</div>
View gist:68f614deb9538f2e30108c2698266fda
<?php
/*
|--------------------------------------------------------------------------
| 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
taylorotwell / tenant-middleware
Created Dec 1, 2015
Magical tenant middleware thing
View tenant-middleware
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Auth\Access\AuthorizationException;
class VerifyTenants
{
/**
@taylorotwell
taylorotwell / global-homestead.sh
Created Sep 23, 2015
Global Homestead Without Composer
View global-homestead.sh
alias homestead='function __homestead() { (cd ~/Documents/Code/Homestead && vagrant $*); unset -f __homestead; }; __homestead'
# Usage
homestead up
homestead halt
# etc...
@taylorotwell
taylorotwell / gist:db67dd369b00022850b4
Last active Sep 24, 2018
Mac Yosemite Dev Machine Setup
View gist:db67dd369b00022850b4

XCode

  • 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.