This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
http://placehold.it/${1:350}x${2:$1}/${3:cccccc}/${4:777777}.${5:jpg}?text=${0:Hello+World} | |
]]></content> | |
<tabTrigger>placehold</tabTrigger> | |
<scope>text.html</scope> | |
<description>Generates an image link</description> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$HOME/.composer/vendor/bin:/usr/local/sbin:$PATH | |
PROMPT_TITLE='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' | |
export PROMPT_COMMAND="${PROMPT_COMMAND} ${PROMPT_TITLE}; " | |
# Fix https://github.com/robbyrussell/oh-my-zsh/issues/6835#issuecomment-390 | |
ZSH_DISABLE_COMPFIX=true | |
# Set CLICOLOR if you want Ansi Colors in iTerm2 | |
export CLICOLOR=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class LocalValetDriver extends LaravelValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.18039216101169586</real> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set termguicolors | |
syntax on | |
set background=dark | |
colorscheme material-theme | |
set nocompatible | |
set number | |
set ruler | |
set encoding=utf-8 | |
set tabstop=4 | |
let mapleader="," |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Feature; | |
use App\User; | |
use Tymon\JWTAuth\Facades\JWTAuth; | |
/** | |
* Trait WithAuth | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Database\Events\QueryExecuted; | |
use Illuminate\Http\Request; | |
use Symfony\Component\Console\Helper\Table; | |
use Symfony\Component\Console\Helper\TableCell; | |
use Symfony\Component\Console\Output\StreamOutput; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Facades; | |
use Illuminate\Support\Facades\Facade; | |
/** | |
* A facade for the Foo HttpClient service. | |
* | |
* @method static \Psr\Http\Message\ResponseInterface get(string|\Psr\Http\Message\UriInterface $uri, array $options = []) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Tymon\JWTAuth\Exceptions\JWTException; | |
use Tymon\JWTAuth\JWTAuth; | |
class RefreshTokenIfLoggedIn | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* JavaScript SPA Local Valet Driver | |
*/ | |
class LocalValetDriver extends ValetDriver | |
{ | |
/** | |
* Serves | |
* Determine if the driver serves the request by checking for an |
OlderNewer