Show username to authenticated
Submitted by Svetoslav Stoyanov on Tue, 2020-12-29 18:37Show username to authenticated user instead of just "My account".
Show username to authenticated user instead of just "My account".
drush sql-dump --result-file="../db/db.sql"
- export db
drush sql-drop
- drop the current database
If your default php is 7.2 for ex. but your site is with php7.4-fpm, how to use the same php7.4 when using composer for managing the modules?
How to have multiple php? https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php...
How to use them?
Just in virtualhost config use as
An explanation of using services in various cases.
Inject a service in custom class:
with DI for renderer
calc files find . -type f -print | grep php | wc -l
in php.ini
As the cookie work out-of-the-box in the browser, we can use it for rest request also almost out-of-the-box (use 'withCredentials: true' headerOption in a request, do not forget to enable 'supportsCredentials: true' in services.yml alongside other CORS config).
*/15 * * * * wget -O - -q -t
put the
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
(or relative to your installation path)
as first line of ~/.bashrc
composer global: https://github.com/consolidation/cgr#installation-and-usage
drush install: https://docs.drush.org/en/8.x/install-alternative/