This shall simply be a repost as I must never forget this. It has helped me a lot in debugging Webserver<->PHP interaction:
I am currently debugging a 10+ year old PHP project, trying to migrate it to PHP 7.2 While debugging VSCode would start giving me “error evaluating code” and jump out of the debug session after the first step. When I stopped the debugger and reloaded the page, the page would load fine. So it didn’t… Continue Reading debugging in vscode
Because since recently, whenever I update Docker, my docker-machine command is gone and I keep forgetting how to re-install it: This is to save time next time it happens. Instructions provided on docker/machine Github.
This is just a repost so I remember. When talking SMTP via a PHP script with a webserver, remember to initiate with “EHLO” instead of the usual “HELO”. HELO does not allow for STARTTLS. Details: fwrite(): SSL operation failed with code 1. OpenSSL Error messages:error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown
Basically this: How to add Certificate Authority file in CentOS 7 But more importantly: Check if the so installed new CA has made it into the recognized system CAs by doing this: Reference: How do I list all available SSL CA certificates on CentOS 6
If you ever feel like the world is falling apart, that every outlook is pessimistic, keep in mind that: Now this does NOT mean that complacency should be your aim. Always stay critical. But do a situation check from time to time, to keep in touch.
I have switched this blog from worp.one to worp.io as I was finally able to obtain my preferred Domain. In the process I had to change the wordpress base URL, which proved quite painful. First I chose to edit wp-config.php which let the page load but not the CSS and JS for it. Then I… Continue Reading changing the wordpress base url
Just for me to remember the most basic commands: pvdisplay List physical devices.vgdisplay List volume groups.lvdisplay List logical volumes. lvmdiskscan List devices that may be used as physical volumes lvextend Extend logical volume (by percent, up to specified size or by amount)resize2fs Resize file system after extending a logical volume pvcreate Create physical volumevgcreate Create… Continue Reading LVM Cheatsheet
Just a repost to remember: How to install VirtualBox Guest Additions on a GUI-less Ubuntu server host
HSTS is for security, I get it. But it can be so fucking annoying. Here is how to clear it for specific domains: superuser: How to stop an automatic redirect from “http://” to “https://” in Chrome