This file contains 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\Command; | |
use PeterDKC\Sprocket\Tests\TestCase; | |
use Illuminate\Support\Facades\Artisan; | |
use Symfony\Component\Console\Tester\CommandTester; | |
class ExampleTest extends TestCase | |
{ |
This file contains 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
$mdi-font-path: '../fonts/vendor/mdi'; | |
@import '~mdi/scss/materialdesignicons'; |
This file contains 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
# Keybindings | |
[ | |
{ "keys": ["u+s+e+\t"], "command": "import_namespace"}, | |
{ "keys": ["super+shift+enter"], "command": "expand_fqcn"}, | |
{ "keys": ["alt+`"], "command": "toggle_side_bar" }, | |
{ "keys": ["shift+enter"], "command": "goto_definition_scope" }, | |
{ "keys": ["ctrl+shift+enter"], "command": "find_use" } | |
] |
This file contains 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
# https://github.com/jimeh/git-aware-prompt | |
export GITAWAREPROMPT=~/.bash/git-aware-prompt | |
source "${GITAWAREPROMPT}/main.sh" | |
export PS1="\u@\h \W \[\$txtcyn\]\$git_branch\[\$txtred\]\$git_dirty\[\$txtrst\]\$ " | |
# https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion | |
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" | |
multi() { |
This file contains 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 Admin extends User | |
$factory->define(App\Admin::class, function (Faker\Generator $faker) { | |
return app(Illuminate\Database\Eloquent\Factory::class) | |
->raw( | |
Package\Models\User::class, | |
[ | |
'foobar' => 'barbaz', |
This file contains 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
stages: | |
- build | |
- test | |
# Speed up builds | |
cache: | |
key: $CI_BUILD_REF_NAME # changed to $CI_COMMIT_REF_NAME in Gitlab 9.x | |
paths: | |
- vendor/ |
This file contains 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\Unit; | |
use Tests\TestCase; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\HandlerStack; | |
use GuzzleHttp\Psr7\Response; | |
use GuzzleHttp\Handler\MockHandler; |
This file contains 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\Models; | |
use Illuminate\Support\Str; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Eloquent\Factories\HasFactory; | |
class Foo extends Model | |
{ |
This file contains 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
# https://github.com/jimeh/git-aware-prompt | |
export GITAWAREPROMPT=~/.bash/git-aware-prompt | |
source "${GITAWAREPROMPT}/main.sh" | |
export PS1="\u@\h \W \[\$txtcyn\]\$git_branch\[\$txtred\]\$git_dirty\[\$txtrst\]\$ " | |
echo 'export PATH="/usr/local/sbin:$PATH"' | |
alias minimal-prompt="PS1='\$> '" | |
alias short-prompt="PS1='\W \$ '" |