Skip to content

Instantly share code, notes, and snippets.

View gpressutto5's full-sized avatar

Guilherme Pressutto gpressutto5

  • Curitiba, Brazil
View GitHub Profile
[user]
name = Guilherme Pressutto
email = gpressutto5@gmail.com
[core]
pager = diff-so-fancy | less --tabs=4 -R
excludesFile = ~/.gitignore
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
@gpressutto5
gpressutto5 / git-bisect-phpunit.sh
Last active December 9, 2021 18:26 — forked from havvg/git-bisect-phpunit.sh
git bisect phpunit wrapper
#!/bin/bash
lcd artisan migrate
lcd phpunit --testsuite=VMS --filter=testGetPossibleTimeSegmentsForOldestDraftInvoiceWithCrossoverHandlingEnd
EXIT_CODE="$?"
lcd artisan migrate:rollback
@gpressutto5
gpressutto5 / LocalValetDriver.php
Created September 1, 2017 21:16
Magento 2 Local Driver for Laravel Valet
<?php
class LocalValetDriver extends LaravelValetDriver
{
/**
* Determine if the driver serves the request.
*
* @param string $sitePath
* @param string $siteName