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
namespace App\Utils; | |
use Illuminate\Support\Collection; | |
class MariaDB | |
{ | |
/** | |
* @param $arr array|Collection |
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
Find: (?<col>.*?) [x] Regex | |
Replace: '${col}' |
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
zend_extension=xdebug.so | |
xdebug.idekey = "PHPSTORM" | |
xdebug.remote_enable=on | |
xdebug.remote_handler=dbgp | |
xdebug.remote_connect_back= on | |
xdebug.remote_port=9000 | |
xdebug.remote_autostart=on | |
xdebug.default_enable=0 | |
xdebug.profiler_aggregate=0 | |
xdebug.profiler_append=0 |
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
zend_extension=xdebug.so | |
xdebug.idekey = "PHPSTORM" | |
xdebug.remote_enable=on | |
xdebug.remote_handler=dbgp | |
xdebug.remote_connect_back=0 | |
xdebug.remote_host=host.docker.internal | |
xdebug.remote_port=9005 | |
xdebug.remote_autostart=1 | |
xdebug.default_enable=0 | |
xdebug.profiler_aggregate=0 |
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
zend_extension=xdebug.so | |
xdebug.remote_enable=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_connect_back=1 | |
xdebug.remote_port=9001 | |
xdebug.remote_autostart=1 | |
xdebug.remote_host=172.17.0.1 | |
xdebug.idekey=PHPSTORM | |
xdebug.default_enable=0 | |
xdebug.profiler_aggregate=0 |
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
sudo sed -i 's/^Exec.*/& --explicitly-allowed-ports=10080/' /usr/share/applications/google-chrome.desktop |
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
docker inspect -f='{{range .NetworkSettings.Networks}}{{println .Gateway}}{{end}}' <container-name> |
OlderNewer