Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:
entrypoint: mysqld_safe --skip-grant-tables --user=mysql
The start up the Docker Compose stack:
$> docker-compose up -d
| # alacritty.toml | |
| # commented lines are the defaults | |
| # man 5 alacritty (>0.13) for full config manual | |
| #import = [ | |
| #"~/.config/alacritty/catpuccin-mocha.toml", | |
| #"~/.config/alacritty/keybindings.toml", | |
| #] | |
| [shell] |
| # This is a blocklist to block samsung smart tv's sending meta data at home. | |
| # Please help to collect domains! | |
| # It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident. | |
| # https://gist.github.com/Perflyst/315f86393712a0c2107ee8eb58c6acee | |
| 0.0.0.0 device-metrics-us.amazon.com | |
| 0.0.0.0 samsungacr.com | |
| 0.0.0.0 samsungcloudsolution.com | |
| 0.0.0.0 samsungcloudsolution.net | |
| 0.0.0.0 pavv.co.kr |
| # Basic default configs. | |
| phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer | |
| phpcs --config-set default_standard Drupal | |
| phpcs --config-set colors 1 | |
| # Show all errors. | |
| phpcs --config-set error-severity 1 | |
| # Shows warnings, but doesn't return a non-zero return. | |
| phpcs --config-set ignore_warnings_on_exit 1 |
Install the packages that you'll need. Drupal/coder includes phpcs. If you're not wanting to use a specific hook, then you don't need to install the associated packages.
composer global require drupal/coder phpmd/phpmd sebastian/phpcpd
Set the path in your shell startup script (ex: .zshrc or .bashrc).
| # GIT heart FZF | |
| # ------------- | |
| is_in_git_repo() { | |
| git rev-parse HEAD > /dev/null 2>&1 | |
| } | |
| fzf-down() { | |
| fzf --height 50% --min-height 20 --border --bind ctrl-/:toggle-preview "$@" | |
| } |
To remove a submodule you need to:
| #!/bin/sh | |
| # | |
| # An example hook script to check the commit log message. | |
| # Called by "git commit" with one argument, the name of the file | |
| # that has the commit message. The hook should exit with non-zero | |
| # status after issuing an appropriate message if it wants to stop the | |
| # commit. The hook is allowed to edit the commit message file. | |
| # | |
| # To enable this hook, rename this file to "commit-msg". |
| --type-add=css=.sass,.less,.scss | |
| --type-add=ruby=.rake,.rsel,.builder,.thor | |
| --type-add=html=.haml,.html.erb,.html.haml | |
| --type-add=js=.js.erb,.coffee | |
| --type-set=cucumber=.feature | |
| --type-set=c=.c,.cpp,.ino,.pde,.h | |
| --ignore-dir=vendor | |
| --ignore-dir=log | |
| --ignore-dir=tmp | |
| --ignore-dir=doc |