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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetBucketLocation" | |
], |
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\_utilities; | |
trait JsonWithAuthHelpers { | |
public function getJsonWithAuth($user, $uri, array $headers = []){ | |
return $this->be($user,'api')->getJson($uri, $headers); | |
} |
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 | |
// for Laravel 7+ | |
use Illuminate\Testing\Assert; | |
use Illuminate\Testing\TestResponse; | |
// for Laravel 5.* | |
use Illuminate\Foundation\Testing\Assert; | |
use Illuminate\Foundation\Testing\TestResponse; |
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
# git | |
alias g="git" | |
alias gs="git status" | |
alias ga="git add ." | |
alias gc="git commit -m" | |
alias gn="git init && git add . && git commit -m \"init\"" | |
# laravel | |
alias pa="php artisan" | |
alias l="php artisan serve" |