Ideas, and reference material I find useful

-
Ubiquiti migration from USG Pro v4 to UDM SE
Requirements: Fresh install instructions: If you don’t forget/drop the original devices, you’re going to need to do a factory reset. Reset button for 10 seconds. On APs, wait for the LED to flash. May want to unplug and plug back in the POE ethernet. Switches, just hold down for 10 seconds. Remember your old wifi…
-
phpstorm unable to establish connection with xdebug
I recently reinstalled PHP, and noticed that xdebug would not work from within phpstorm. Getting the message “Connection was not establish”. The way to fix that, was just to ensure that we’re using the proper port. Xdebug 3.x, uses port 9003. Where as Xdebug 2.x used 9000. To fix this, change your phpStorm preferences for…
-
Ubuntu 22.04 LTS (debian) Apache2 http2 + PHP 8.2
[Updated 2023-07-21]Commands to launch and to set up my preferred environment in ubuntu. Optionally to setup ZSH and the Z plugin Setup apache. Paste below carefully… Probably want to ensure that your DNS settings are working. Run certbot, or put in your SSL certs manually. Troubleshooting: Ensure the firewall is open to ports 80/443 apache2.conf:…
-
Linux ssh troubleshooting
ensure that the home directory of the user is 0700, and all sub files. other useful commands
-
PHPStorm and xdebug links
phpStorm 2021.3 RC PHP 8.1.0 xdebug 3.1.1 I enjoy the fact that there’s was the ability to change xdebug.file_link_format parameter in php.ini to allow integration between xdebug messages, and your IDE. However, recently, that seems to have broken/changed. The phpstorm:// protocol no longer works. After much troubleshooting I have it working for projects that use…
-
Sending emails with symfony+swiftmail, so that the messages are grouped by conversation
Easy enough to send emails with Symfony + SymfonyMailer messages out. The issue was once received in a program like Outlook, how do you group them into the same conversation. Instead of flooding an inbox with a ton of emails, the emails would be grouped by conversation. To accomplish this: There you go. PHP 8.0.x,…
-
Working zero config php xdebug 3.1.1 and phpStorm 2021.3 RC
php 7.4 w/xdebug 3.0 phpStorm 2020.3 zend_extension=”xdebug.so”xdebug.mode=debug;xdebug.file_link_format=”http://localhost:63342/api/file/%f:%l” This now makes xdebug output links that open phpstorm (which is actively listening on port 63342… phpstorm:// wasn’t working for me anymore… [UPDATE 2021-01-14]zend_extension=”xdebug.so”xdebug.mode=debug;xdebug.file_link_format=”phpstorm://open?file=%f&line=%l“ phpStorm 2020.3.1php 8.0.1xdebug 3.0.1 [UPDATE 2021-11-29] Seems like phpstorm/intelliJ have changed the mechanism, and phpstorm:// protocol no longer works. After much troubleshooting I have…
-
dnsmasq on pihole for wildcards
Say you’re a developer and you want all domains that end in “.test” to be redirected to 127.0.0.1 in the past, we’d edit /etc/hosts file and call it a day. But now, with multiple web services, and code that’s shared between multiple sites, we may want something a little more robust. DNSMasq to the rescue.…
-
USB to serial UART interface – use a nodeMCU prototype board to flash a TYWE2S (ESP8285)
I was trying to flash a TYWE2s chip ESP8285. Bought an FTDI FT232R chip off amazon, two for something like $15… not realizing that I could use a ESP8266 nodeMCU prototype board to do it. Such a simple hack. You may not even have noticed that there’s an “EN” pin. Well, there is… look at…
-
Pro’s Con’s of tankless hotwater
This is “Boots” Economics. — https://www.goodreads.com/quotes/72745-the-reason-that-the-rich-were-so-rich-vimes-reasoned Let’s do the math. I was renting a Power Vented 75gal (PV75) tank. It was 13 years old, and rusting out from the inside. No leaks, but bathwater looked like pond water. GROSS. Safe, but gross… needed it replaced. The tank was inspected in February and was going to…