debugging in vscode

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

Install docker-machine on osx

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.

talking ssl-enabled smtp with php

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

repost: remember how to manage root cas in centos

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

human progress

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.

changing the wordpress base url

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

LVM Cheatsheet

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

Confluence fulltext search / using regex search in confluence

If you’re equally annoyed by Confluence’s search, I might have some help. Documentation says about (leading) wildcards: Lucene doesn’t allow wildcards at the beginning of your search, but you can format your search as a regular expression as a workaround. For example, you can’t search for hum or ?hum, as they begin with a wildcard,… Continue Reading Confluence fulltext search / using regex search in confluence