How to remove .w3-cache malware from WordPress website

My website has been infected by a malware that spamming my traffic. This is what was happened to my website: Traffic from France with Agent named contains Bandwidth is up to 1.7 GB a day Some weird folders have been appeared automatically like: wp-content/uploads/.w3-cache Malware code has been added to wp-config.php, wp-content/themes/current-themes/index.php Actions Follow… Continue reading How to remove .w3-cache malware from WordPress website

Setup letsencrypt with Laradock

in docker-compose.yml set $CN and $EMAIL with your data: in docker-compose.yml add the volumes used in certbot: Make sure port 443 is disabled in your laradock/nginx/sites/xxx.conf stop nginx container docker-compose stop nginx rebuild nginx container with –no-cache option docker-compose build –no-cache nginx build certbot container docker-compose build –no-cache certbot start nginx container docker-compose up -d… Continue reading Setup letsencrypt with Laradock

TIL 1: Laradock, mantra, PA

Mantra is the first thing that I need to do in the morning. Focus on what makes you happy at this moment. 4 hours of deep working session. It took 567 seconds to get Laradock running for the first time. It took 35 minutes to get PA up and running on a new development machine.… Continue reading TIL 1: Laradock, mantra, PA

Categorized as TIL

Use yarn with docker

Use yarn up instead of docker-compose up -d Use yarn down instead of docker-compose down Use yarn bash instead of docker-compose exec workspace bash

Categorized as Hair Saver

Think twice before using lodash

Lodash is a great lib, but think twice before using it if you are developing micro app. Here is an example: Before lodash After lodash

Categorized as Thoughts