Categories
Uncategorized

WordPress slow 404 at Apache

After installing WordPress, you should definitely do a basic performance check. You should at least watch the logs and run Htop (or just Top). When you look at the access_log, you can find many 404 errors that need to be fixed.

Categories
Uncategorized

Teams notifications not working at macOS

You may have noticed that after the update, Teams stopped showing the number of unread messages in the icon in the Dock. Also, Teams is not present in the notification center. It is absent there, so it cannot be configured in any way.

Categories
Uncategorized

Transfer of domains between OVH accounts

For those who don’t know, OVH is such a large and well-known French cloud provider. If you need to transfer a domain from one OVH client to another, then you do not need to go through the standard transfer procedure. OVH does this by changing the contact for the service.

Categories
Uncategorized

Cleanup the suppression list at AWS SES

Amazon Simple Email Service has a mechanism to prevent sending emails to addresses that bounced or complained. Sometimes the emails are bouncing because of the short time server failures. And if the email is added to the suppression list, this address will never receive an email from you.

Categories
Uncategorized

Speedup Docker attached volumes at Mac

When you are using Docker at Mac for development, you may be noticed, that the speed of the attached volume is horrifically slow. To cut a long story short, it is due to the way a Docker virtual machine works on a Mac.

Categories
Uncategorized

Bash – generate a random number of a given range

You can generate a random number in bash using this snippet:

RAND=$(shuf -i 7000-7999 -n 1)

Categories
Uncategorized

How to purge MySQL 8 binary logs

You saw, that your mysql disk, using /var/lib/mysql is full. So, you need to know how to free some space and clean up the disk. Usually, you can safely remove the old binlogs.

Categories
Uncategorized

“error : Wrong bytesec: 0-0-0 at linkstart: 0” at MyISAM

Sometimes you could not create Mysql dump because one or several tables corrupted. Then obviously it should be somehow restored. The Mysql and Maria have some standard tools for restoring crashed tables.

Categories
Magento

How to check if a customer is logged in?

Let’s discuss, how to check if the customer is logged in at any class (controller, model, block, etc) or at the template.

Categories
Magento

How to use ObjectManager directly at Magento 2

The short answer is you should not use the ObjectManager directly at all. It is a bad practice, and lets talk why.