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 | |
declare(strict_types=1); | |
#if (${NAMESPACE}) | |
namespace ${NAMESPACE}; | |
#end | |
use ${TESTED_NAMESPACE}\\${TESTED_NAME}; | |
use PHPUnit\Framework\TestCase; |

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
# Startup | |
docker system prune -fa --filter "until=96h" | |
# Aliases | |
alias www="cd ~/www && clear" | |
alias c="clear" | |
alias isdockerbad="docker network ls && docker container ls" | |
alias baddocker="echo y | docker network prune && docker kill $(docker ps -q)" | |
alias killdocker="docker volume rm $(docker volume ls -qf dangling=true) && docker rmi $(docker images -q)" | |
alias open="xdg-open" |
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; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Symfony\Component\DependencyInjection\ResettableContainerInterface; | |
use Symfony\Component\Form\PreloadedExtension; | |
use Symfony\Component\Form\Test\TypeTestCase; | |
use Symfony\Bridge\Doctrine\Form\Type\EntityType; |
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
public ${STATIC} function ${FIELD_NAME}()#if(${RETURN_TYPE}): ${RETURN_TYPE}#end | |
{ | |
#if (${STATIC} == "static") | |
return self::$${FIELD_NAME}; | |
#else | |
return $this->${FIELD_NAME}; | |
#end | |
} |
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
alias amen="git add . && git commit --amend --no-edit && git push -f" |
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
curl --silent "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/releases/latest" | grep "tag_name" | grep -o -E '[0-9\.]+' |
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
# F3 - Mission Control | |
do shell script "/Applications/Mission\\ Control.app/Contents/MacOS/Mission\\ Control" | |
# Next Youtube video in Google Chrome | |
tell application "Google Chrome" | |
repeat with t in tabs of windows | |
tell t | |
if URL starts with "http://www.youtube.com/watch" or URL starts with "https://www.youtube.com/watch" then |
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
https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/PhpUnit/TextUI/TestRunner.php | |
namespace Symfony\Bridge\PhpUnit\TextUI; | |
if (class_exists('PHPUnit_Runner_Version') && version_compare(\PHPUnit_Runner_Version::id(), '6.0.0', '<')) { | |
class_alias('Symfony\Bridge\PhpUnit\Legacy\TestRunnerForV5', 'Symfony\Bridge\PhpUnit\TextUI\TestRunner'); | |
} elseif (version_compare(\PHPUnit\Runner\Version::id(), '7.0.0', '<')) { | |
class_alias('Symfony\Bridge\PhpUnit\Legacy\TestRunnerForV6', 'Symfony\Bridge\PhpUnit\TextUI\TestRunner'); | |
} else { | |
class_alias('Symfony\Bridge\PhpUnit\Legacy\TestRunnerForV7', 'Symfony\Bridge\PhpUnit\TextUI\TestRunner'); |
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
sudo /sbin/vboxconfig |