Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
<?php | |
return Symfony\CS\Config\Config::create() | |
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) | |
->fixers([ | |
'short_array_syntax', | |
'ordered_use', | |
]) | |
; |
tail -f app/logs/dev.log | awk ' | |
/(request|app)\.INFO/ {print "\033[36m" $0 "\033[39m"} | |
/(request|app)\.WARNING/ {print "\033[33m" $0 "\033[39m"} | |
/(request|app)\.ERROR/ {print "\033[31m" $0 "\033[39m"} | |
/(request|app)\.CRITICAL/ {print "\033[31m" $0 "\033[39m"} | |
' |
[TeamSpeak3] | |
title=TeamSpeak3 | |
description=TeamSpeak3 Server | |
ports=9987/udp|10011,30033/tcp |