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
Use following command from withint the root directory of your PHP project to create the PhpDocs in the ./docs subfolder of the project root. You may want to include only a ./src (Symfony) or ./app (Silex) subfolders in the analysis (do not run the documentator on the ./vendors folder):
docker run --rm -v $(pwd):/app instrumentisto/phpdoc -d /app -t ./docs
The problem is not M1 or M2 (arm64) chipset. The problem is keras installation that installs tensorflow-metal, which
makes Keras to choose GPU over CPU, even if Sys.setenv("CUDA_VISIBLE_DEVICES" = -1)
is set. However, Apple's GPUs
are not supported yet by tensorflow-metal. Thus, we have to get rid of tensorflow-metal! Combined with R / RStudio, the
trick is to use a dedicated r-reticulate environment to run python and to manually uninstall tensorflow-metal again, which
is installed automatically whenever we install and load the keras package in R.
Install Anaconda for arm64 first: https://docs.anaconda.com/anaconda/install/mac-os/
Wordpress has issues to detect the SSL connection betwenn the client and the proxy and thus may load static assets through http instead https, which will be blocked in moderns browsers (mixed content).
To circumvent the problem, simly extend your wp-config.php by following functions (insert towards the top of the config script):
/** Proxy SSL detection */
<?php | |
/** | |
* Configuration hardening for PhpMyAdmin | |
* | |
* This file is included at the end of the main PhpMyAdmin configuration file. We thus here override | |
* any potential config value that was previously set. | |
* | |
* @author Dietrich Rordorf | |
* @date 2018-11-05 | |
* @see https://docs.phpmyadmin.net/en/latest/config.html |