No seguinte enlace (PDF, 1,66 MB, galego) deixo as transparencias da presentación «Entornos de desenvolvemento local para PHP» da Meetup WordPress Pontevedra do día 28 de xuño de 2019.
Laravel, WordPress e a API REST: usando WordPress como xestor de contidos en aplicacións Laravel. WordCamp Lisboa 2019
Neste enlace (PDF, 1,04 MB, galego) deixo as transparencias da presentación «Laravel, WordPress e a API REST: usando WordPress como xestor de contidos en aplicacións Laravel» da WordCamp Lisboa do día 18 de maio de 2019.
A proba de concepto podedes encontrala en GitHub, no seguinte enlace: Laravel, WordPress and the REST API.
[InvalidArgumentException] Composer could not find a composer.json file
I was trying to create a new Laravel project when I get this error:
Execute and test only one method with Laravel Dusk
When you are running Laravel Dusk tests from the terminal, with the command
$ php artisan dusk
sometimes you need to execute and test only one method. You can do it with the “–filter” parameter and the name of the method:
$ php artisan dusk --filter testUserInsertBlankSpacesAndThePasswordDoesNotChange
“403 Invalid signature” when I try to verify an email in Laravel
When I try to verify an email in Laravel I get the error:
403 Invalid signature
The problem is a misconfiguration in the nginx configuration file (the Server Blocks).
The bad configuration was
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
The good configuration is
location / { try_files $uri $uri/ /index.php?$query_string; }
Installing and configuring a supervisor in Debian to execute a Laravel queue worker
I need to install and configure a supervisor in Debian to continuous execute a queue worker.
Aprende a gestionar tu WordPress desde la línea de comandos en 10 minutos. WordCamp Madrid 2019
En este enlace (PDF, 509 kB, español) dejo las transparencias de la presentación «Aprende a gestionar tu WordPress desde la línea de comandos en 10 minutos» de la WordCamp Madrid del día 6 de abril de 2019.
También puedes escuchar el audio de una grabación previa a la presentación o descargarlo en formato MP3 (7,49 MB): «Aprende a gestionar tu WordPress desde la línea de comandos en 10 minutos».
Transparencias de «Como xestionar unha gran cantidade de sitios WordPress» da meetup WordPress Vigo
No seguinte enlace (7,49 MB) deixo as transparencias da presentación «Como xestionar unha gran cantidade de sitios WordPress» da Meetup WordPress Vigo do día 1 de abril de 2019.
Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/main/ 404 Not Found
Executing apt update in a Debian 8 I get the error
W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy-backports/main/binary-amd64/Packages 404 Not Found [IP: 2001:67c:2564:a119::148:12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/main/source/Sources 404 Not Found [IP: 2001:41d0:202:100:213:32:5:7 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 2001:41d0:202:100:213:32:5:7 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/source/Sources 404 Not Found [IP: 2001:41d0:202:100:213:32:5:7 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 2001:41d0:202:100:213:32:5:7 80] E: Some index files failed to download. They have been ignored, or old ones used instead.
Show the PHP packages installed in Debian
To show the PHP packages installed in a Debian machine, you can use the next command: