Technical Posts
A collection of mostly IT centric posts from the last ~20 years
Articles
Latest
Query all login events for WP Activity Log Free Version
This helps because you can't filter by login events on the free version but you might want to check if any brute force automated login attempts have succeeded: SELECT * FROM # replace dbname with your database name # replace wp_prefix_ with your custom wp_ prefix...
Site search and replace in the WordPress Database using wp-cli
Transferring Wordpress to a local instance for development and testing Install PHP Composer https://getcomposer.org/download Install wp-cli composer global require wp-cli/wp-cli-bundle apt-get install less Run search and replace cd /var/www/html # or whatever your...
What is my IPv4 and / or IPv6 Address?
https://toggen.com.au/ip.html
Two ways to rebuild the Divi CSS Cache
If enabled Divi maintains a cache of many pre-compiled CSS assets. When you move the site to another URL the cached CSS has the old URL embedded and you will notice many weird formatting issues caused by missing style sheets. You can remove the et-cache directory and...
Turn off Microsoft Account Nag
Settings => System => Notifications => Scroll to "Additional settings" and uncheck these three options: Enterprise Only Seems like this won't work on Windows 11 Pro as the policy explicitly mentions "Note: This setting only applies to Enterprise and Education...
Create a swap partition on ephemeral storage on Azure VM
My VM has an 8G ephemeral volume and it seems to be wasted so why not put the swapfile on there You need the cloud-init service: sudo systemctl is-enabled cloud-init.service enabled The instructions with a couple of options are here:...